wiki:OpenBSC_LCR_Ubuntu12.04

This is a brief installation guide for openBSC and LCR on Ubuntu 12.04 32Bit.

sudo apt-get install linux-source build-essential autoconf automake libtool libgsm1-dev libdbi-dev \
     libdbd-sqlite3 git-core asterisk asterisk-dev ncurses-base libncurses5-dev libncursesw5-dev \
     sqlite3 pkg-config libortp-dev
cd /usr/src
sudo tar xfj linux-source-3.2.0.tar.bz2

cd /lib/modules/3.2.0-23-generic-pae/
sudo ln -s /usr/src/linux-source-3.2.0 source

cd
mkdir GSM
cd GSM

git clone git://git.misdn.org/mISDN.git/
git clone git://git.misdn.org/mISDNuser.git/
git clone git://git.misdn.org/lcr.git/
git clone git://git.osmocom.org/libosmo-abis.git
git clone git://git.osmocom.org/libosmocore.git
git clone git://git.osmocom.org/openbsc.git

cd mISDN
wget http://openbsc.osmocom.org/trac/raw-attachment/wiki/OpenBSC_LCR_Ubuntu12.04/mISDN.diff
patch -p1 < mISDN.diff
./configure
cp mISDN.cfg.default standalone/mISDN.cfg
make modules
sudo make modules_install

cd ../mISDNuser
./configure
make
sudo make install

cd ../libosmocore/
autoreconf -i -f 
./configure
make
sudo make install

cd ../libosmo-abis/
autoreconf -i -f
./configure
make
sudo make install

cd ../openbsc/openbsc/
autoreconf -i -f
./configure
make

cd ../../lcr
ln -s ../libosmocore/ .
ln -s ../openbsc/openbsc/ .
sh autogen.sh
./configure --prefix=/opt/lcr --with-asterisk --with-gsm-bs
make
sudo make install
sudo cp chan_lcr.so /usr/lib/asterisk/modules/

sudo ldconfig
sudo depmod -a
Last modified 23 months ago Last modified on Nov 22, 2012, 8:39:27 AM

Attachments (1)

Download all attachments as: .zip