Project

General

Profile

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

« Previous - Version 6/26 (diff) - Next » - Current version
duo_kali, 10/06/2018 02:08 PM


DISCLAIMER

This page is user-contributed information, and not official documentation by the Osmocom project. It might be outdated or inaccurate.
Please help by improving this document, or reporting any issues to the relevant mailing list.

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

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

#Install SoapySDR

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

#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”

Build osmo-trx

mkdir osmobsc
cd osmobsc

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

run on terminal: 

sudo osmo-trx-lms

next …..

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

DEPENDENCY (use synaptic when they ask more dependency when build)
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

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

cd osmobsc
git clone git://git.osmocom.org/libosmo-abis
cd libosmo-abis
autoreconf -fi
./configure
make -j5
sudo make install

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

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

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

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

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

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

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

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

how to run osmocom stacks

** 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)
Add picture from clipboard (Maximum size: 48.8 MB)