Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lutfailham96/xmm-modem

OpenWrt scripts to configure connection Fibocom L850/860
https://github.com/lutfailham96/xmm-modem

Last synced: 9 days ago
JSON representation

OpenWrt scripts to configure connection Fibocom L850/860

Awesome Lists containing this project

README

        

# 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