Project

General

Profile

OpenBSC LCR Ubuntu1204 » History » Version 5

manatails, 02/19/2016 10:48 PM
fix commandline

1 1 konrad
This is a brief installation guide for openBSC and LCR on Ubuntu 12.04 32Bit.
2 1 konrad
3 5 manatails
<pre>
4 1 konrad
sudo apt-get install linux-source build-essential autoconf automake libtool libgsm1-dev libdbi-dev \
5 1 konrad
     libdbd-sqlite3 git-core asterisk asterisk-dev ncurses-base libncurses5-dev libncursesw5-dev \
6 1 konrad
     sqlite3 pkg-config libortp-dev
7 1 konrad
cd /usr/src
8 1 konrad
sudo tar xfj linux-source-3.2.0.tar.bz2
9 1 konrad
10 1 konrad
cd /lib/modules/3.2.0-23-generic-pae/
11 1 konrad
sudo ln -s /usr/src/linux-source-3.2.0 source
12 1 konrad
13 1 konrad
cd
14 1 konrad
mkdir GSM
15 1 konrad
cd GSM
16 1 konrad
17 1 konrad
git clone git://git.misdn.org/mISDN.git/
18 1 konrad
git clone git://git.misdn.org/mISDNuser.git/
19 1 konrad
git clone git://git.misdn.org/lcr.git/
20 1 konrad
git clone git://git.osmocom.org/libosmo-abis.git
21 1 konrad
git clone git://git.osmocom.org/libosmocore.git
22 1 konrad
git clone git://git.osmocom.org/openbsc.git
23 1 konrad
24 1 konrad
cd mISDN
25 3 konrad
wget http://openbsc.osmocom.org/trac/raw-attachment/wiki/OpenBSC_LCR_Ubuntu12.04/mISDN.diff
26 1 konrad
patch -p1 < mISDN.diff
27 1 konrad
./configure
28 1 konrad
cp mISDN.cfg.default standalone/mISDN.cfg
29 1 konrad
make modules
30 4 manatails
sudo make modules_install
31 1 konrad
32 1 konrad
cd ../mISDNuser
33 1 konrad
./configure
34 1 konrad
make
35 1 konrad
sudo make install
36 1 konrad
37 1 konrad
cd ../libosmocore/
38 1 konrad
autoreconf -i -f 
39 1 konrad
./configure
40 1 konrad
make
41 1 konrad
sudo make install
42 1 konrad
43 1 konrad
cd ../libosmo-abis/
44 1 konrad
autoreconf -i -f
45 1 konrad
./configure
46 1 konrad
make
47 1 konrad
sudo make install
48 1 konrad
49 1 konrad
cd ../openbsc/openbsc/
50 1 konrad
autoreconf -i -f
51 1 konrad
./configure
52 1 konrad
make
53 1 konrad
54 1 konrad
cd ../../lcr
55 1 konrad
ln -s ../libosmocore/ .
56 1 konrad
ln -s ../openbsc/openbsc/ .
57 1 konrad
sh autogen.sh
58 1 konrad
./configure --prefix=/opt/lcr --with-asterisk --with-gsm-bs
59 1 konrad
make
60 1 konrad
sudo make install
61 1 konrad
sudo cp chan_lcr.so /usr/lib/asterisk/modules/
62 1 konrad
63 1 konrad
sudo ldconfig
64 1 konrad
sudo depmod -a
65 5 manatails
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)