OpenBSC LCR Ubuntu1204 » History » Revision 8
Revision 7 (wirelesss, 12/01/2016 03:17 PM) → Revision 8/10 (wirelesss, 12/08/2016 03:21 PM)
{{include(Disclaimer-user-content)}} This is a brief installation guide for openBSC and LCR on Ubuntu 12.04 32Bit. <pre> 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 </pre> * Download Sources from git available at http://git.misdn.org/ [[git.misdn.org]] misdn.org URLs Respository have following format: <pre> git://git.misdn.org/git-name.git/ </pre> Following command can be used for source downloading <pre> git clone git://git.misdn.org/git-name.git/ </pre> Source form gits listed below needs to be downloaded * mISDN.git * mISDNuser.git * lcr.git Then download, build and install download following sources as described in [[Build from source]] [[Build_from_source]] * libosmo-abis.git * libosmocore.git * openbsc.git <pre> 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 </pre> Follow section [[Build from source#Example-completely-build-openbsc|Example: "Example: completely build openbsc]] openbsc" at [[Build_from_source]] to build following projects Note: Do not execute make install at this point for openbsc * libosmocore * libosmo-abis * openbsc <pre> 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 </pre>