Git Product home page Git Product logo

limesdr-gsm-dockerized's Introduction

To build and run osmo-nitb on LimeSDR

Semi-working edition

Help wanted

Build Status

To build and run the container, just execute ./startContainer and clean up with ./killContainers Nb. Assuming you are not using docker for anything else! Please don't use killContainers unless you are willing to lose all containers on the box. It does not clean up images, so keep that in mind. Also, though this is containerized, the container has full access to all USB devices and no attempt has been made to secure any of this.

  • Why docker?
  • Well, I run Arch Linux and all guides assume Ubuntu, so either I could find all the correct libraries of the correct versions and somehow make that all work (and I did try, though not for long) or I could just run it in a container, thus making it much easier.
  • Does it work?
    • Well, no. And it doesn't start the processes within the container automatically either, but starting it all manually does bring it up and a scan shows a network with the correct MCC-MNC. I can however not connect to that network.
  • So what's wrong with it?
  • Being rather new to all of this, I don't know and I don't know how to find out. However, I suspect the configs are a bit off for LimeSDR, since those were copied from instructions intended for another type of BTS hardware. Any help is appreciated.

pysim is included, even if only marginally related, as I needed a specific older revision of it for it to work with my sysmocom USIMs, so I like having it around.

TODO

  • Actually make it work
  • Refactor Dockerfile and scripts to make sense, rather than just being appended to. Appending to it is fine work WIP, so you don't have to redo all the previous dockerfile steps, but is very messy in the long run.
  • Make travis actually do rudimentary tests on the container it builds.
  • Split scripts up into different steps for properly splitting up steps in Travis
  • Add the processes to supervisord.conf, for making 'em start automatically

References: https://wiki.myriadrf.org/Osmocom_GSM https://osmocom.org/projects/cellular-infrastructure/wiki/SDR_OsmoTRX_network_from_scratch https://github.com/samatt/SDR-101/blob/master/running_osmobts_with_usrp1_ubuntu_12.04.md

http://openbts.org/w/index.php?title=BuildInstallRun https://osmocom.org/projects/osmotrx/wiki/OsmoTRX https://osmocom.org/projects/osmonitb/wiki/OsmoNITB_LCR

http://osmocom.org/projects/pysim/wiki

On Docker https://stackoverflow.com/questions/24225647/docker-any-way-to-give-access-to-host-usb-or-serial-device https://docs.docker.com/engine/admin/using_supervisord/

limesdr-gsm-dockerized's People

Contributors

emilf avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.