Project

General

Profile

Osmocom New Splits (BSC MGW HLR MSC) » History » Version 18

duo_kali, 10/18/2018 10:50 AM

1 1 duo_kali
{{include(Disclaimer-user-content)}}
2
3
{{>toc}}
4
5 6 duo_kali
h1. How to install New Splits using LimeSDR (Ubuntu 16.04) 
6
--call voice & sms--
7 1 duo_kali
8
h2. Build LimeSDR software and dependency
9
10
** Install Dependency
11
12
sudo add-apt-repository -y ppa:myriadrf/drivers
13
sudo apt-get update
14
15
-install core library and build dependencies
16
sudo apt-get install git g++ cmake libsqlite3-dev
17
18
-install hardware support dependencies
19
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
20
21
-install graphics dependencies
22
sudo apt-get install libwxgtk3.0-dev freeglut3-dev gnuplot
23
24
25
h3. #Install SoapySDR 
26
27
28
git clone https://github.com/pothosware/SoapySDR.git
29
cd SoapySDR
30
mkdir build
31
cd build
32
cmake ..
33
make
34
sudo make install
35
sudo ldconfig
36
37
h3. #Install LimeSuite
38
39
git clone https://github.com/myriadrf/LimeSuite.git
40
cd LimeSuite
41
mkdir buildir && cd buildir
42
cmake ../
43
make -j4
44
sudo make install
45
sudo ldconfig
46
47
cd LimeSuite/udev-rules
48
sudo sh ./install.sh
49
50
51
52
Type “LimeSuiteGUI” on terminal to check GUI is running
53 14 duo_kali
--update your firmware using LimeSuiteGUI or by type in terminal using “LimeUtil -update” (make sure LimeUtil -info = LimeSuite version is 18.10)
54 1 duo_kali
</pre>
55
56
</pre>
57
58
h2. Build osmo-trx
59 18 duo_kali
DEPENDENCY (use synaptic when they ask more dependency when build)
60
sudo apt install build-essential gcc g++ make automake autoconf libtool pkg-config libpcsclite-dev libtalloc-dev libortp-dev libsctp-dev libmnl-dev libdbi-dev libdbd-sqlite3 libsqlite3-dev sqlite3 libc-ares-dev  libxml2-dev libssl-dev libglfw3-dev libgnutls-dev libsofia-sip-ua-glib-dev libuhd-dev libusb-1.0-0-dev libgnutls28-dev libpcap-dev 
61 1 duo_kali
62
<pre>
63 5 duo_kali
mkdir osmobsc
64
cd osmobsc
65 1 duo_kali
66 11 duo_kali
git clone git://git.osmocom.org/libosmocore
67
cd libosmocore
68
autoreconf -fi
69
./configure
70
make
71
sudo make install
72
73
74
cd osmobsc
75 1 duo_kali
git clone https://github.com/osmocom/osmo-trx
76
cd osmo-trx
77
autoreconf -fi
78
./configure –with-lms –without-uhd
79
make -j5
80
make check
81
sudo make install
82
sudo ldconfig
83
84
85
run on terminal: 
86
87 8 duo_kali
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
88 1 duo_kali
89
90 8 duo_kali
noted: config is attached or available example at osmo-trx/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
91 2 duo_kali
</pre>
92 1 duo_kali
93
h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)
94
95
96 7 duo_kali
<pre>
97 1 duo_kali
cd osmobsc
98
git clone git://git.osmocom.org/libosmo-abis
99
cd libosmo-abis
100
autoreconf -fi
101
./configure
102
make -j5
103
sudo make install
104
105
106
cd osmobsc
107
git clone git://git.osmocom.org/libosmo-netif
108
cd libosmo-netif
109
autoreconf -fi
110
./configure
111
make -j5
112
sudo make install
113
114
115
cd osmobsc
116
git clone git://git.osmocom.org/libosmo-sccp
117
cd libosmo-sccp
118
autoreconf -fi
119
./configure
120
make -j5
121
sudo make install
122
123
124
cd osmobsc
125
git clone git://git.osmocom.org/libsmpp34
126
cd libsmpp34
127
autoreconf -fi
128
./configure
129
make
130
sudo make install
131
132
133
cd osmobsc
134
git clone git://git.osmocom.org/osmo-bsc
135
cd osmo-bsc
136
autoreconf -fi
137
./configure
138
make -j5
139
sudo make install
140
sudo ldconfig
141
142
cd osmobsc
143
git clone git://git.osmocom.org/osmo-mgw
144
cd osmo-mgw
145
autoreconf -fi
146
./configure 
147
make -j5
148
sudo make install 
149
sudo ldconfig
150
151
cd osmobsc
152
git clone git://git.osmocom.org/osmo-msc
153
cd osmo-msc
154
autoreconf -fi
155
./configure 
156
make -j5
157
sudo make install 
158
sudo ldconfig
159
160
cd osmobsc
161
git clone git://git.osmocom.org/osmo-hlr
162
cd osmo-hlr
163
autoreconf -fi
164
./configure 
165
make -j5
166
sudo make install 
167
sudo ldconfig
168
169
cd osmobsc
170
git clone git://git.osmocom.org/osmo-bts.git
171
cd osmo-bts
172
autoreconf -fi
173
./configure --enable-trx
174
make
175
sudo make install
176
sudo ldconfig
177
</pre>
178
179
h1. how to run osmocom stacks
180
181
<pre>
182
** open terminal for seperate command
183
184
run:
185
osmo-msc -c ~/osmobsc/osmo-msc.cfg 
186
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
187
osmo-stp -c ~/osmobsc/osmo-stp.cfg
188
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
189
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
190
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
191
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
192
193 3 duo_kali
#Now you running Osmocom Stacks New Splits
194
195
196
****Registering IMSI at osmo-hlr:
197
198
telnet localhost 4258
199 1 duo_kali
enable
200 3 duo_kali
subs imsi (imsi no) create
201 9 duo_kali
subs imsi (imsi no) update msisdn (msisdn no)
202
203
*no need LCR or Asterisk for making a call since osmo-mgw handle it 
204
*using osmo-sip-connector for connect to asterisk need add -M to osmo-msc ( osmo-msc -c ~/osmobsc/osmo-msc.cfg -M /tmp/bsc_mncc )  
Add picture from clipboard (Maximum size: 48.8 MB)