Giter Club home page Giter Club logo

xmm-modem's Introduction

OpenWrt scripts to configure connection Fibocom L850-GL & L860-GL

Intel XMM 7550, 7560 LTE-A Pro modem.

Compile package

Used in OpenWRT SDK

git clone https://github.com/lutfailham96/xmm-modem.git feeds/package/net/xmm-modem
./scripts feeds update -a; ./scripts/feeds install -a
make -j $(($(nproc)+1)) package/feeds/packages/xmm-modem/compile

Connection configuration

The config stored in /etc/config/xmm-modem. Example configuration:

config xmm-modem
	option enable '1'              # Enable / disable modem
	option port '/dev/ttyACM2'     # Device serial port
	option device 'eth1'           # Device interface
	option interface 'fibocom'     # Network interface
	option apn 'internet'          # APN
	option auth_type 'none'        # APN authentication type: none, pap, chap
	option auth_username 'none'    # APN username
	option auth_password 'none'    # APN password
	option retry_wait '3'          # Connection retry delay
	option max_retries '3'         # Connection max retries
	option metric '0'              # Optional, custom network metric
	option max_retries '10'        # Optional, max retries
	option connection_wait '0  '   # Optional, wait connection before close hotplug procedure
	option disable_max_retries '0' # Optional, force connection attempt & ignoring max retries
	option force_link '0'          # Optional, force network link to be up
	option enable_watchdog '1'     # Optional, enable connection watchdog
	option connection_status '0'   # Optional, automatically generated by service. 0: Idle, 1: Reconnecting

Interface configuration

Setup network interface

Create new unmanaged interface, select physical device eth1 or usb0 or wwan0. Setup force link option option force_link '1'

Modem configuration

All configuration stored on uci xmm-modem, update values depends on your needs

xmm-modem's People

Contributors

koshev-msk avatar lutfailham96 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.