Project

General

Profile

OpenBSC LCR Ubuntu1204 » History » Version 10

wirelesss, 12/08/2016 03:43 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 7 wirelesss
</pre>
20 1 konrad
21 7 wirelesss
* Download Sources
22 1 konrad
23 8 wirelesss
from git available at http://git.misdn.org/
24 7 wirelesss
25 7 wirelesss
misdn.org URLs Respository have following format:
26 7 wirelesss
<pre>
27 7 wirelesss
git://git.misdn.org/git-name.git/
28 7 wirelesss
</pre>
29 7 wirelesss
30 7 wirelesss
Following command can be used for source downloading 
31 7 wirelesss
<pre>
32 7 wirelesss
git clone git://git.misdn.org/git-name.git/
33 7 wirelesss
</pre>
34 7 wirelesss
35 7 wirelesss
Source form gits listed below needs to be downloaded
36 7 wirelesss
37 7 wirelesss
* mISDN.git
38 7 wirelesss
* mISDNuser.git
39 7 wirelesss
* lcr.git
40 7 wirelesss
41 8 wirelesss
Then download, build and install sources as described in [[Build from source]]
42 7 wirelesss
43 1 konrad
* libosmocore
44 10 wirelesss
* libosmo-abis
45 9 wirelesss
* openbsc
46 7 wirelesss
47 9 wirelesss
Note: Do not execute make install at this point for openbsc
48 9 wirelesss
49 7 wirelesss
<pre>
50 1 konrad
cd mISDN
51 1 konrad
wget http://openbsc.osmocom.org/trac/raw-attachment/wiki/OpenBSC_LCR_Ubuntu12.04/mISDN.diff
52 1 konrad
patch -p1 < mISDN.diff
53 1 konrad
./configure
54 1 konrad
cp mISDN.cfg.default standalone/mISDN.cfg
55 1 konrad
make modules
56 1 konrad
sudo make modules_install
57 1 konrad
58 1 konrad
cd ../mISDNuser
59 7 wirelesss
./configure
60 1 konrad
make
61 7 wirelesss
sudo make install
62 7 wirelesss
</pre>
63 7 wirelesss
64 1 konrad
65 7 wirelesss
<pre>
66 1 konrad
cd ../../lcr
67 1 konrad
ln -s ../libosmocore/ .
68 1 konrad
ln -s ../openbsc/openbsc/ .
69 1 konrad
sh autogen.sh
70 1 konrad
./configure --prefix=/opt/lcr --with-asterisk --with-gsm-bs
71 1 konrad
make
72 1 konrad
sudo make install
73 1 konrad
sudo cp chan_lcr.so /usr/lib/asterisk/modules/
74 1 konrad
75 1 konrad
sudo ldconfig
76 5 manatails
sudo depmod -a
77 1 konrad
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)