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.
- Table of contents
- How to install New Splits using LimeSDR (Ubuntu 16.04) --call voice & sms--
- how to run osmocom stacks
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” (make sure LimeUtil -info = LimeSuite version is 18.10)
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
mkdir osmobsc cd osmobsc git clone https://gitea.osmocom.org/osmocom/libosmocore cd libosmocore autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-trx cd osmo-trx autoreconf -i ./configure –with-lms –without-uhd make 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
Build Osmocom Stacks (osmo-bsc, osmo-msc, osmo-hlr, osmo-mgw)¶
cd osmobsc git clone https://gitea.osmocom.org/osmocom/libosmo-abis cd libosmo-abis autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/osmocom/libosmo-netif cd libosmo-netif autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/osmocom/libosmo-sccp cd libosmo-sccp autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/libsmpp34 cd libsmpp34 autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw cd osmo-mgw autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-bsc cd osmo-bsc autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr cd osmo-hlr autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-msc cd osmo-msc autoreconf -i ./configure make sudo make install sudo ldconfig cd osmobsc git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-bts cd osmo-bts autoreconf -i ./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) *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 )
Updated by laforge almost 2 years ago · 27 revisions