Giter Club home page Giter Club logo

cellular-data-network-simulator's Introduction

Cellular Data Network Simulator

Cellular Data Network Simulator is dedicated WiFi network to monitor network usage and simulate network link conditions for mobile applications. It uses well established technologies: OpenWrt, tc, iptables and CloudShark.

Read more at Polidea Blog

Features

  • Easy to use web and mobile interface
  • Simulate: bandwidth, delay, loss, corruption, occasional loss of signal
  • Can capture the traffic and send it to CloudShark
  • Apply limits per-device
  • Works well in environment with multiple devices and multiple testers
  • Works well as virtual machine bridged with separate wireless network

Requirements

  • OpenWrt device running on Barrier Breaker (trunk repository) - can be router or virtual machine
  • Two network interfaces - one for WAN and one for WIFI/LAN

Installation

The are a few simple steps to install Cellular Data Network Simulator:

  1. Install cdns:

     opkg update
     opkg install http://polidea.github.io/Cellular-Data-Network-Simulator/cdns_0.5-2_all.ipk
    

    Installation of Cellular Data Network Simulator replaces default Luci webpage. The Luci can be accessed using: http://ip-address/index-old.html

  2. Configure:

     vim /etc/config/cdns
    

    By default there are 5 profiles: Full, HSDPA, Edge, GPRS and Disabled.

  3. Start the service:

     /etc/init.d/cdns enable
     /etc/init.d/cdns start
    

    That simply enables and starts the service,

  4. Start the uhttpd daemon:

     /etc/init.d/uhttpd enable
     /etc/init.d/uhttpd start
    

    If you didn’t do it before you have to enable and start the uhttpd daemon.

  5. Start using:

    Simply open: http://ip-address/.

Uninstallation

    /etc/init.d/cdns stop
    opkg remove cdns

Compile yourself

  1. Download sources:

     git clone <repo-path>
    
  2. Build the package yourself:

     make
    
  3. For more options view help:

     make help
    

License

   BSD 2-Clause License    

FAQ

  1. To fix problems with displaying web page execute from router's commandline:

     grep -lir "<html>" /tmp/testing/events*.cfg | xargs rm
    

Changelog

  • v.0.5-0: First public release (25.11.2013)
  • v.0.5-1: Bug fixing (12.02.2014)
  • v.0.5-2: Fixed Cloudshark URL and added CA bundle (25.03.2014)

cellular-data-network-simulator's People

Contributors

ayufan avatar jakublipinski avatar

Watchers

James Cloos avatar  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.