Project

General

Profile

OpenBSC LCR Ubuntu1204 » History » Version 6

laforge, 02/27/2016 08:47 PM

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