Project

General

Profile

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

Version 5 (duo_kali, 10/06/2018 02:07 PM) → Version 6/26 (duo_kali, 10/06/2018 02:08 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”
</pre>

</pre>



h2. Build osmo-trx

<pre>
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 …..
</pre>



h2. 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
</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)

Add picture from clipboard (Maximum size: 48.8 MB)