Project

General

Profile

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

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