Project

General

Profile

OpenBSC LCR Ubuntu1204 » History » Version 6

laforge, 02/27/2016 08:47 PM

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