Project

General

Profile

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

duo_kali, 10/06/2018 02:07 PM

1 1 duo_kali
{{include(Disclaimer-user-content)}}
2
3
{{>toc}}
4
5 4 duo_kali
h1. How to install New Splits using LimeSDR (Ubuntu 16.04) --call voice & sms--
6 1 duo_kali
7
h2. Build LimeSDR software and dependency
8
9
** Install Dependency
10
11
sudo add-apt-repository -y ppa:myriadrf/drivers
12
sudo apt-get update
13
14
-install core library and build dependencies
15
sudo apt-get install git g++ cmake libsqlite3-dev
16
17
-install hardware support dependencies
18
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
19
20
-install graphics dependencies
21
sudo apt-get install libwxgtk3.0-dev freeglut3-dev gnuplot
22
23
24
h3. #Install SoapySDR 
25
26
27
git clone https://github.com/pothosware/SoapySDR.git
28
cd SoapySDR
29
mkdir build
30
cd build
31
cmake ..
32
make
33
sudo make install
34
sudo ldconfig
35
36
37
38
h3. #Install LimeSuite
39
40
git clone https://github.com/myriadrf/LimeSuite.git
41
cd LimeSuite
42
mkdir buildir && cd buildir
43
cmake ../
44
make -j4
45
sudo make install
46
sudo ldconfig
47
48
cd LimeSuite/udev-rules
49
sudo sh ./install.sh
50
51
52
53
Type “LimeSuiteGUI” on terminal to check GUI is running
54
--update your firmware using LimeSuiteGUI or by type in terminal using “LimeUtil -update” 
55
</pre>
56
57
</pre>
58
59
h2. Build osmo-trx
60
61
<pre>
62 5 duo_kali
mkdir osmobsc
63
cd osmobsc
64 1 duo_kali
65
git clone https://github.com/osmocom/osmo-trx
66
cd osmo-trx
67
autoreconf -fi
68
./configure –with-lms –without-uhd
69
make -j5
70
make check
71
sudo make install
72
sudo ldconfig
73
74
75
run on terminal: 
76
77 4 duo_kali
sudo osmo-trx-lms
78 1 duo_kali
79
80
next …..
81 2 duo_kali
</pre>
82 1 duo_kali
83
h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)
84
85
86
DEPENDENCY (use synaptic when they ask more dependency when build)
87
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 
88
89
90
cd osmobsc
91
git clone git://git.osmocom.org/libosmocore
92
cd libosmocore
93
autoreconf -fi
94
./configure
95
make -j5
96
sudo make install
97
98
99
cd osmobsc
100
git clone git://git.osmocom.org/libosmo-abis
101
cd libosmo-abis
102
autoreconf -fi
103
./configure
104
make -j5
105
sudo make install
106
107
108
cd osmobsc
109
git clone git://git.osmocom.org/libosmo-netif
110
cd libosmo-netif
111
autoreconf -fi
112
./configure
113
make -j5
114
sudo make install
115
116
117
cd osmobsc
118
git clone git://git.osmocom.org/libosmo-sccp
119
cd libosmo-sccp
120
autoreconf -fi
121
./configure
122
make -j5
123
sudo make install
124
125
126
cd osmobsc
127
git clone git://git.osmocom.org/libsmpp34
128
cd libsmpp34
129
autoreconf -fi
130
./configure
131
make
132
sudo make install
133
134
135
cd osmobsc
136
git clone git://git.osmocom.org/osmo-bsc
137
cd osmo-bsc
138
autoreconf -fi
139
./configure
140
make -j5
141
sudo make install
142
sudo ldconfig
143
144
cd osmobsc
145
git clone git://git.osmocom.org/osmo-mgw
146
cd osmo-mgw
147
autoreconf -fi
148
./configure 
149
make -j5
150
sudo make install 
151
sudo ldconfig
152
153
cd osmobsc
154
git clone git://git.osmocom.org/osmo-msc
155
cd osmo-msc
156
autoreconf -fi
157
./configure 
158
make -j5
159
sudo make install 
160
sudo ldconfig
161
162
cd osmobsc
163
git clone git://git.osmocom.org/osmo-hlr
164
cd osmo-hlr
165
autoreconf -fi
166
./configure 
167
make -j5
168
sudo make install 
169
sudo ldconfig
170
171
cd osmobsc
172
git clone git://git.osmocom.org/osmo-bts.git
173
cd osmo-bts
174
autoreconf -fi
175
./configure --enable-trx
176
make
177
sudo make install
178
sudo ldconfig
179
</pre>
180
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
enable
203
subs imsi (imsi no) create
204 5 duo_kali
subs imsi (imsi no) update msisdn (msisdn no)
Add picture from clipboard (Maximum size: 48.8 MB)