Osmocom GSM: Difference between revisions

Democratising Wireless Innovation
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page details how to build an Osmocom GSM Network-in-the-Box (NITB) configuration that supports [[LimeSDR]].  
Notes on running the Osmocom GSM stack with  [[LimeSDR]] hardware.


== Base dependencies ==
== Hardware support ==


=== Packaged ===
For details of Osmocom support for LimeSDR and dependencies such as [[Lime Suite]] and SoapyUHD that must be installed, see:


Packaged dependencies can be installed with:
* http://osmocom.org/projects/osmotrx/wiki/LimeSDR


<source lang="bash">$ sudo apt-add-repository ppa:george-edison55/cmake-3.x
$ sudo apt-add-repository ppa:myriadrf/drivers
$ sudo add-apt-repository ppa:ettusresearch/uhd


$ sudo apt-get update
For information on the OsmoTRX GSM transceiver:


$ sudo apt-get install build-essential git cmake python-mako libsqlite3-dev libboost-all-dev libmnl-dev libssl-dev libpcap-dev libi2c-dev libusb-1.0-0-dev libsoapysdr-dev autoconf libtool libpcsclite-dev libortp-dev libdbi-dev libdbd-sqlite3 uhd-host libuhd-dev uhd-soapysdr</source>
* http://osmocom.org/projects/osmotrx/wiki/OsmoTRX


=== Lime Suite ===
== Network-on-the-box (NITB) ==


At the present time Lime Suite should be built from source, instead of using packages. See the [[Lime Suite|wiki page]] for details.
For details of how to configure the OpenBSC software to run in network-in-the-box mode, see:


== Osmocom software ==
* https://osmocom.org/projects/osmonitb/wiki/OsmoNITB OsmoNITB


=== OpenBSC, OsmoBTS & dependencies ===
== Running the transceiver ==


''Tested commit: 66af97ce0760c0c015b2bc5c8c3290345571b122''
Update 2/21/2018
 
The  osmo-trx project page for LimeSDR  [https://osmocom.org/projects/osmotrx/wiki/LimeSDR_Family] now recommends :
<source lang="bash">$ git clone https://github.com/fairwaves/osmo-combo
# osmo-trx -s 4 -b 4
$ cd osmo-combo
$ git submodule init
$ git submodule update
$ ./apply_patches.sh static-build
$ sudo make</source>
 
=== OsmoTRX ===
 
''Tested commit: d22657a26d22d265cfeb57636a2fbe9c3e9c0f16''
 
<source lang="bash">$ git clone https://github.com/myriadrf/osmo-trx
$ cd osmo-trx
$ autoreconf -i
$ ./configure
$ make
$ sudo make install</source>
 
Note:
 
# that the default branch, myriadrf/limesdr, is the one that should be used and not master or any of the others;
# LimeSDR support will eventually be merged upstream, following which it is planned to maintain this via the Osmocom repository and to delete this fork;
 
== Configuration ==
 
 
== Running ==


Although the -e (edge) option for LimeSDR still appears to work:
# osmo-trx -e -a 'driver=lime,device=0'


{{Community}}
{{Community}}

Latest revision as of 00:13, 22 February 2018

Notes on running the Osmocom GSM stack with LimeSDR hardware.

Hardware support

For details of Osmocom support for LimeSDR and dependencies such as Lime Suite and SoapyUHD that must be installed, see:


For information on the OsmoTRX GSM transceiver:

Network-on-the-box (NITB)

For details of how to configure the OpenBSC software to run in network-in-the-box mode, see:

Running the transceiver

Update 2/21/2018 The osmo-trx project page for LimeSDR [1] now recommends :

# osmo-trx -s 4 -b 4

Although the -e (edge) option for LimeSDR still appears to work:

# osmo-trx -e -a 'driver=lime,device=0'