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 1 duo_kali
3 1 duo_kali
{{>toc}}
4 1 duo_kali
5 6 duo_kali
h1. How to install New Splits using LimeSDR (Ubuntu 16.04) 
6 6 duo_kali
--call voice & sms--
7 1 duo_kali
8 1 duo_kali
h2. Build LimeSDR software and dependency
9 1 duo_kali
10 1 duo_kali
** Install Dependency
11 1 duo_kali
12 1 duo_kali
sudo add-apt-repository -y ppa:myriadrf/drivers
13 1 duo_kali
sudo apt-get update
14 1 duo_kali
15 1 duo_kali
-install core library and build dependencies
16 1 duo_kali
sudo apt-get install git g++ cmake libsqlite3-dev
17 1 duo_kali
18 1 duo_kali
-install hardware support dependencies
19 1 duo_kali
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
20 1 duo_kali
21 1 duo_kali
-install graphics dependencies
22 1 duo_kali
sudo apt-get install libwxgtk3.0-dev freeglut3-dev gnuplot
23 1 duo_kali
24 1 duo_kali
25 1 duo_kali
h3. #Install SoapySDR 
26 1 duo_kali
27 1 duo_kali
28 1 duo_kali
git clone https://github.com/pothosware/SoapySDR.git
29 1 duo_kali
cd SoapySDR
30 1 duo_kali
mkdir build
31 1 duo_kali
cd build
32 1 duo_kali
cmake ..
33 1 duo_kali
make
34 1 duo_kali
sudo make install
35 1 duo_kali
sudo ldconfig
36 1 duo_kali
37 1 duo_kali
38 1 duo_kali
39 1 duo_kali
h3. #Install LimeSuite
40 1 duo_kali
41 1 duo_kali
git clone https://github.com/myriadrf/LimeSuite.git
42 1 duo_kali
cd LimeSuite
43 1 duo_kali
mkdir buildir && cd buildir
44 1 duo_kali
cmake ../
45 1 duo_kali
make -j4
46 1 duo_kali
sudo make install
47 1 duo_kali
sudo ldconfig
48 1 duo_kali
49 1 duo_kali
cd LimeSuite/udev-rules
50 1 duo_kali
sudo sh ./install.sh
51 1 duo_kali
52 1 duo_kali
53 1 duo_kali
54 1 duo_kali
Type “LimeSuiteGUI” on terminal to check GUI is running
55 1 duo_kali
--update your firmware using LimeSuiteGUI or by type in terminal using “LimeUtil -update” 
56 1 duo_kali
</pre>
57 1 duo_kali
58 1 duo_kali
</pre>
59 1 duo_kali
60 1 duo_kali
h2. Build osmo-trx
61 1 duo_kali
62 1 duo_kali
<pre>
63 5 duo_kali
mkdir osmobsc
64 5 duo_kali
cd osmobsc
65 1 duo_kali
66 11 duo_kali
git clone git://git.osmocom.org/libosmocore
67 11 duo_kali
cd libosmocore
68 11 duo_kali
autoreconf -fi
69 11 duo_kali
./configure
70 11 duo_kali
make
71 11 duo_kali
sudo make install
72 11 duo_kali
73 11 duo_kali
74 11 duo_kali
cd osmobsc
75 11 duo_kali
76 1 duo_kali
git clone https://github.com/osmocom/osmo-trx
77 1 duo_kali
cd osmo-trx
78 1 duo_kali
autoreconf -fi
79 1 duo_kali
./configure –with-lms –without-uhd
80 1 duo_kali
make -j5
81 1 duo_kali
make check
82 1 duo_kali
sudo make install
83 1 duo_kali
sudo ldconfig
84 1 duo_kali
85 1 duo_kali
86 1 duo_kali
run on terminal: 
87 1 duo_kali
88 8 duo_kali
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
89 1 duo_kali
90 1 duo_kali
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 1 duo_kali
h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)
95 1 duo_kali
96 1 duo_kali
97 1 duo_kali
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 1 duo_kali
git clone git://git.osmocom.org/libosmocore
103 1 duo_kali
cd libosmocore
104 1 duo_kali
autoreconf -fi
105 1 duo_kali
./configure
106 1 duo_kali
make -j5
107 1 duo_kali
sudo make install
108 1 duo_kali
109 1 duo_kali
110 1 duo_kali
cd osmobsc
111 1 duo_kali
git clone git://git.osmocom.org/libosmo-abis
112 1 duo_kali
cd libosmo-abis
113 1 duo_kali
autoreconf -fi
114 1 duo_kali
./configure
115 1 duo_kali
make -j5
116 1 duo_kali
sudo make install
117 1 duo_kali
118 1 duo_kali
119 1 duo_kali
cd osmobsc
120 1 duo_kali
git clone git://git.osmocom.org/libosmo-netif
121 1 duo_kali
cd libosmo-netif
122 1 duo_kali
autoreconf -fi
123 1 duo_kali
./configure
124 1 duo_kali
make -j5
125 1 duo_kali
sudo make install
126 1 duo_kali
127 1 duo_kali
128 1 duo_kali
cd osmobsc
129 1 duo_kali
git clone git://git.osmocom.org/libosmo-sccp
130 1 duo_kali
cd libosmo-sccp
131 1 duo_kali
autoreconf -fi
132 1 duo_kali
./configure
133 1 duo_kali
make -j5
134 1 duo_kali
sudo make install
135 1 duo_kali
136 1 duo_kali
137 1 duo_kali
cd osmobsc
138 1 duo_kali
git clone git://git.osmocom.org/libsmpp34
139 1 duo_kali
cd libsmpp34
140 1 duo_kali
autoreconf -fi
141 1 duo_kali
./configure
142 1 duo_kali
make
143 1 duo_kali
sudo make install
144 1 duo_kali
145 1 duo_kali
146 1 duo_kali
cd osmobsc
147 1 duo_kali
git clone git://git.osmocom.org/osmo-bsc
148 1 duo_kali
cd osmo-bsc
149 1 duo_kali
autoreconf -fi
150 1 duo_kali
./configure
151 1 duo_kali
make -j5
152 1 duo_kali
sudo make install
153 1 duo_kali
sudo ldconfig
154 1 duo_kali
155 1 duo_kali
cd osmobsc
156 1 duo_kali
git clone git://git.osmocom.org/osmo-mgw
157 1 duo_kali
cd osmo-mgw
158 1 duo_kali
autoreconf -fi
159 1 duo_kali
./configure 
160 1 duo_kali
make -j5
161 1 duo_kali
sudo make install 
162 1 duo_kali
sudo ldconfig
163 1 duo_kali
164 1 duo_kali
cd osmobsc
165 1 duo_kali
git clone git://git.osmocom.org/osmo-msc
166 1 duo_kali
cd osmo-msc
167 1 duo_kali
autoreconf -fi
168 1 duo_kali
./configure 
169 1 duo_kali
make -j5
170 1 duo_kali
sudo make install 
171 1 duo_kali
sudo ldconfig
172 1 duo_kali
173 1 duo_kali
cd osmobsc
174 1 duo_kali
git clone git://git.osmocom.org/osmo-hlr
175 1 duo_kali
cd osmo-hlr
176 1 duo_kali
autoreconf -fi
177 1 duo_kali
./configure 
178 1 duo_kali
make -j5
179 1 duo_kali
sudo make install 
180 1 duo_kali
sudo ldconfig
181 1 duo_kali
182 1 duo_kali
cd osmobsc
183 1 duo_kali
git clone git://git.osmocom.org/osmo-bts.git
184 1 duo_kali
cd osmo-bts
185 1 duo_kali
autoreconf -fi
186 1 duo_kali
./configure --enable-trx
187 1 duo_kali
make
188 1 duo_kali
sudo make install
189 1 duo_kali
sudo ldconfig
190 1 duo_kali
</pre>
191 1 duo_kali
192 1 duo_kali
h1. how to run osmocom stacks
193 1 duo_kali
194 1 duo_kali
<pre>
195 1 duo_kali
** open terminal for seperate command
196 1 duo_kali
197 1 duo_kali
run:
198 1 duo_kali
osmo-msc -c ~/osmobsc/osmo-msc.cfg 
199 1 duo_kali
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
200 1 duo_kali
osmo-stp -c ~/osmobsc/osmo-stp.cfg
201 1 duo_kali
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
202 1 duo_kali
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
203 1 duo_kali
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
204 1 duo_kali
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
205 1 duo_kali
206 3 duo_kali
#Now you running Osmocom Stacks New Splits
207 3 duo_kali
208 3 duo_kali
209 3 duo_kali
****Registering IMSI at osmo-hlr:
210 3 duo_kali
211 3 duo_kali
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 9 duo_kali
216 9 duo_kali
*no need LCR or Asterisk for making a call since osmo-mgw handle it 
217 9 duo_kali
*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)