Project

General

Profile

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

duo_kali, 10/18/2018 10:01 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
38
39
h3. #Install LimeSuite
40
41
git clone https://github.com/myriadrf/LimeSuite.git
42
cd LimeSuite
43
mkdir buildir && cd buildir
44
cmake ../
45
make -j4
46
sudo make install
47
sudo ldconfig
48
49
cd LimeSuite/udev-rules
50
sudo sh ./install.sh
51
52
53
54
Type “LimeSuiteGUI” on terminal to check GUI is running
55
--update your firmware using LimeSuiteGUI or by type in terminal using “LimeUtil -update” 
56
</pre>
57
58
</pre>
59
60
h2. Build osmo-trx
61
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
DEPENDENCY (use synaptic when they ask more dependency when build)
97 10 duo_kali
sudo apt install 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
98 1 duo_kali
99 7 duo_kali
<pre>
100 1 duo_kali
cd osmobsc
101
git clone git://git.osmocom.org/libosmocore
102
cd libosmocore
103
autoreconf -fi
104
./configure
105
make -j5
106
sudo make install
107
108
109
cd osmobsc
110
git clone git://git.osmocom.org/libosmo-abis
111
cd libosmo-abis
112
autoreconf -fi
113
./configure
114
make -j5
115
sudo make install
116
117
118
cd osmobsc
119
git clone git://git.osmocom.org/libosmo-netif
120
cd libosmo-netif
121
autoreconf -fi
122
./configure
123
make -j5
124
sudo make install
125
126
127
cd osmobsc
128
git clone git://git.osmocom.org/libosmo-sccp
129
cd libosmo-sccp
130
autoreconf -fi
131
./configure
132
make -j5
133
sudo make install
134
135
136
cd osmobsc
137
git clone git://git.osmocom.org/libsmpp34
138
cd libsmpp34
139
autoreconf -fi
140
./configure
141
make
142
sudo make install
143
144
145
cd osmobsc
146
git clone git://git.osmocom.org/osmo-bsc
147
cd osmo-bsc
148
autoreconf -fi
149
./configure
150
make -j5
151
sudo make install
152
sudo ldconfig
153
154
cd osmobsc
155
git clone git://git.osmocom.org/osmo-mgw
156
cd osmo-mgw
157
autoreconf -fi
158
./configure 
159
make -j5
160
sudo make install 
161
sudo ldconfig
162
163
cd osmobsc
164
git clone git://git.osmocom.org/osmo-msc
165
cd osmo-msc
166
autoreconf -fi
167
./configure 
168
make -j5
169
sudo make install 
170
sudo ldconfig
171
172
cd osmobsc
173
git clone git://git.osmocom.org/osmo-hlr
174
cd osmo-hlr
175
autoreconf -fi
176
./configure 
177
make -j5
178
sudo make install 
179
sudo ldconfig
180
181
cd osmobsc
182
git clone git://git.osmocom.org/osmo-bts.git
183
cd osmo-bts
184
autoreconf -fi
185
./configure --enable-trx
186
make
187
sudo make install
188
sudo ldconfig
189
</pre>
190
191
h1. how to run osmocom stacks
192
193
<pre>
194
** open terminal for seperate command
195
196
run:
197
osmo-msc -c ~/osmobsc/osmo-msc.cfg 
198
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
199
osmo-stp -c ~/osmobsc/osmo-stp.cfg
200
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
201
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
202
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
203
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
204
205 3 duo_kali
#Now you running Osmocom Stacks New Splits
206
207
208
****Registering IMSI at osmo-hlr:
209
210
telnet localhost 4258
211 1 duo_kali
enable
212 3 duo_kali
subs imsi (imsi no) create
213 9 duo_kali
subs imsi (imsi no) update msisdn (msisdn no)
214
215
*no need LCR or Asterisk for making a call since osmo-mgw handle it 
216
*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)