Project

General

Profile

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

duo_kali, 10/06/2018 04:57 PM

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
git clone https://github.com/osmocom/osmo-trx
67
cd osmo-trx
68
autoreconf -fi
69
./configure –with-lms –without-uhd
70
make -j5
71
make check
72
sudo make install
73
sudo ldconfig
74
75
76
run on terminal: 
77
78 8 duo_kali
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
79 1 duo_kali
80
81 8 duo_kali
noted: config is attached or available example at osmo-trx/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
82 2 duo_kali
</pre>
83 1 duo_kali
84
h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)
85
86
87
DEPENDENCY (use synaptic when they ask more dependency when build)
88 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
89 1 duo_kali
90 7 duo_kali
<pre>
91 1 duo_kali
cd osmobsc
92
git clone git://git.osmocom.org/libosmocore
93
cd libosmocore
94
autoreconf -fi
95
./configure
96
make -j5
97
sudo make install
98
99
100
cd osmobsc
101
git clone git://git.osmocom.org/libosmo-abis
102
cd libosmo-abis
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-netif
111
cd libosmo-netif
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-sccp
120
cd libosmo-sccp
121
autoreconf -fi
122
./configure
123
make -j5
124
sudo make install
125
126
127
cd osmobsc
128
git clone git://git.osmocom.org/libsmpp34
129
cd libsmpp34
130
autoreconf -fi
131
./configure
132
make
133
sudo make install
134
135
136
cd osmobsc
137
git clone git://git.osmocom.org/osmo-bsc
138
cd osmo-bsc
139
autoreconf -fi
140
./configure
141
make -j5
142
sudo make install
143
sudo ldconfig
144
145
cd osmobsc
146
git clone git://git.osmocom.org/osmo-mgw
147
cd osmo-mgw
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-msc
156
cd osmo-msc
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-hlr
165
cd osmo-hlr
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-bts.git
174
cd osmo-bts
175
autoreconf -fi
176
./configure --enable-trx
177
make
178
sudo make install
179
sudo ldconfig
180
</pre>
181
182
h1. how to run osmocom stacks
183
184
<pre>
185
** open terminal for seperate command
186
187
run:
188
osmo-msc -c ~/osmobsc/osmo-msc.cfg 
189
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
190
osmo-stp -c ~/osmobsc/osmo-stp.cfg
191
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
192
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
193
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
194
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
195
196 3 duo_kali
#Now you running Osmocom Stacks New Splits
197
198
199
****Registering IMSI at osmo-hlr:
200
201
telnet localhost 4258
202 1 duo_kali
enable
203 3 duo_kali
subs imsi (imsi no) create
204 9 duo_kali
subs imsi (imsi no) update msisdn (msisdn no)
205
206
*no need LCR or Asterisk for making a call since osmo-mgw handle it 
207
*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)