Project

General

Profile

OpenBSC LCR Ubuntu1204 » History » Version 10

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