Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lutfailham96/xmm-modem
- Owner: lutfailham96
- License: gpl-3.0
- Created: 2022-03-09T02:23:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T06:56:15.000Z (about 2 years ago)
- Last Synced: 2023-03-04T16:57:06.277Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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