Project

General

Profile

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

Version 22 (duo_kali, 10/18/2018 06:32 PM) → Version 23/26 (duo_kali, 10/18/2018 06:32 PM)

{{include(Disclaimer-user-content)}}

{{>toc}}

h1. How to install New Splits using LimeSDR (Ubuntu 16.04)
--call voice & sms--

h2. Build LimeSDR software and dependency

** Install Dependency

sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update

-install core library and build dependencies
sudo apt-get install git g++ cmake libsqlite3-dev

-install hardware support dependencies
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev

-install graphics dependencies
sudo apt-get install libwxgtk3.0-dev freeglut3-dev gnuplot

h3. #Install SoapySDR

git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

h3. #Install LimeSuite

git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir buildir && cd buildir
cmake ../
make -j4
sudo make install
sudo ldconfig

cd LimeSuite/udev-rules
sudo sh ./install.sh

Type “LimeSuiteGUI” on terminal to check GUI is running
--update your firmware using LimeSuiteGUI or by type in terminal using “LimeUtil -update” (make sure LimeUtil -info = LimeSuite version is 18.10)
</pre>

</pre>

h2. Build osmo-trx

Install dependency:
sudo apt install build-essential gcc 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 libgnutls28-dev libpcap-dev

<pre>
mkdir osmobsc
cd osmobsc

git clone git://git.osmocom.org/libosmocore
cd libosmocore
autoreconf -i -fi
./configure
make
sudo make install
sudo ldconfig



cd osmobsc
git clone https://github.com/osmocom/osmo-trx
cd osmo-trx
autoreconf -i -fi
./configure –with-lms –without-uhd
make
-j5
make check
sudo make install
sudo ldconfig

run on terminal:

sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg

noted: config is attached or available example at osmo-trx/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
</pre>

h2. Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)

<pre>
cd osmobsc
git clone git://git.osmocom.org/libosmo-abis
cd libosmo-abis
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/libosmo-netif
cd libosmo-netif
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/libosmo-sccp
cd libosmo-sccp
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/libsmpp34
cd libsmpp34
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/osmo-bsc
cd osmo-bsc
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/osmo-mgw
cd osmo-mgw
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/osmo-msc
cd osmo-msc
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/osmo-hlr
cd osmo-hlr
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

cd osmobsc
git clone git://git.osmocom.org/osmo-bts.git
cd osmo-bts
autoreconf -i
./configure --enable-trx
make
sudo make install
sudo ldconfig
</pre>

h1. how to run osmocom stacks

<pre>
** open terminal for seperate command

run:
osmo-msc -c ~/osmobsc/osmo-msc.cfg
osmo-hlr -l hlr.db -c ~/osmobsc/osmo-hlr.cfg
osmo-stp -c ~/osmobsc/osmo-stp.cfg
osmo-mgw -c ~/osmobsc/osmo-mgw.cfg
osmo-bsc -c ~/osmobsc/osmo-bsc.cfg
osmo-bts-trx -c ~/osmobsc/osmo-bts-trx.cfg
sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg

#Now you running Osmocom Stacks New Splits

****Registering IMSI at osmo-hlr:

telnet localhost 4258
enable
subs imsi (imsi no) create
subs imsi (imsi no) update msisdn (msisdn no)

*no need LCR or Asterisk for making a call since osmo-mgw handle it
*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)