Project

General

Profile

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

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
76 1 duo_kali
git clone https://github.com/osmocom/osmo-trx
77
cd osmo-trx
78
autoreconf -fi
79
./configure –with-lms –without-uhd
80
make -j5
81
make check
82
sudo make install
83
sudo ldconfig
84
85
86
run on terminal: 
87
88 8 duo_kali
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
89 1 duo_kali
90
91 8 duo_kali
noted: config is attached or available example at osmo-trx/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
92 2 duo_kali
</pre>
93 1 duo_kali
94
h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)
95
96
97
DEPENDENCY (use synaptic when they ask more dependency when build)
98 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
99 1 duo_kali
100 7 duo_kali
<pre>
101 1 duo_kali
cd osmobsc
102
git clone git://git.osmocom.org/libosmocore
103
cd libosmocore
104
autoreconf -fi
105
./configure
106
make -j5
107
sudo make install
108
109
110
cd osmobsc
111
git clone git://git.osmocom.org/libosmo-abis
112
cd libosmo-abis
113
autoreconf -fi
114
./configure
115
make -j5
116
sudo make install
117
118
119
cd osmobsc
120
git clone git://git.osmocom.org/libosmo-netif
121
cd libosmo-netif
122
autoreconf -fi
123
./configure
124
make -j5
125
sudo make install
126
127
128
cd osmobsc
129
git clone git://git.osmocom.org/libosmo-sccp
130
cd libosmo-sccp
131
autoreconf -fi
132
./configure
133
make -j5
134
sudo make install
135
136
137
cd osmobsc
138
git clone git://git.osmocom.org/libsmpp34
139
cd libsmpp34
140
autoreconf -fi
141
./configure
142
make
143
sudo make install
144
145
146
cd osmobsc
147
git clone git://git.osmocom.org/osmo-bsc
148
cd osmo-bsc
149
autoreconf -fi
150
./configure
151
make -j5
152
sudo make install
153
sudo ldconfig
154
155
cd osmobsc
156
git clone git://git.osmocom.org/osmo-mgw
157
cd osmo-mgw
158
autoreconf -fi
159
./configure 
160
make -j5
161
sudo make install 
162
sudo ldconfig
163
164
cd osmobsc
165
git clone git://git.osmocom.org/osmo-msc
166
cd osmo-msc
167
autoreconf -fi
168
./configure 
169
make -j5
170
sudo make install 
171
sudo ldconfig
172
173
cd osmobsc
174
git clone git://git.osmocom.org/osmo-hlr
175
cd osmo-hlr
176
autoreconf -fi
177
./configure 
178
make -j5
179
sudo make install 
180
sudo ldconfig
181
182
cd osmobsc
183
git clone git://git.osmocom.org/osmo-bts.git
184
cd osmo-bts
185
autoreconf -fi
186
./configure --enable-trx
187
make
188
sudo make install
189
sudo ldconfig
190
</pre>
191
192
h1. how to run osmocom stacks
193
194
<pre>
195
** open terminal for seperate command
196
197
run:
198
osmo-msc -c ~/osmobsc/osmo-msc.cfg 
199
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
200
osmo-stp -c ~/osmobsc/osmo-stp.cfg
201
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
202
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
203
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
204
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
205
206 3 duo_kali
#Now you running Osmocom Stacks New Splits
207
208
209
****Registering IMSI at osmo-hlr:
210
211
telnet localhost 4258
212 1 duo_kali
enable
213 3 duo_kali
subs imsi (imsi no) create
214 9 duo_kali
subs imsi (imsi no) update msisdn (msisdn no)
215
216
*no need LCR or Asterisk for making a call since osmo-mgw handle it 
217
*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)