mirror of
https://github.com/mrhaav/openwrt.git
synced 2024-10-30 15:20:52 +00:00
Compare commits
9 Commits
c91c5619f5
...
cec619ed1f
Author | SHA1 | Date | |
---|---|---|---|
|
cec619ed1f | ||
|
30c0334a5b | ||
|
cf89954efd | ||
|
6f631f544e | ||
|
77f6c38a8b | ||
|
65de123fa3 | ||
|
7b0de2a264 | ||
|
1c7aa29d76 | ||
|
d7a2273973 |
@ -1,8 +1,38 @@
|
||||
# Fibocom FM350-GL modem
|
||||
|
||||
Packege dependencies:
|
||||
```
|
||||
kmod-usb-serial-option
|
||||
kmod-usb-net-rndis
|
||||
comgt
|
||||
```
|
||||
To be used with `luci-proto-atc`\
|
||||
\
|
||||
USB hotplug script add Option driver. You can edit `/etc/hotplug.d/usb/50-fm350_driver` to use Generic driver.
|
||||
|
||||
AT command base script. Handles network disconnections if your service provider use NITZ. The FM350-GL modem has a limitied support for AT command and the only trigger for reconnection is the indication of received NITZ information, `+CTZV`.\
|
||||
Support dual stack and received SMS will be stored in `/tmp/sms/rx` folder and the full path is sent to `/usr/bin/atc_rx_sms.sh <full path>`. `atc_rx_sms.sh` is not included in the package.
|
||||
|
||||
|
||||
Download and install with:
|
||||
|
||||
```
|
||||
wget https://github.com/mrhaav/openwrt/raw/master/atc/fib-fm350_gl/atc-fib-fm350_gl_2024-04-21-0.1_all.ipk
|
||||
opkg install atc-fib-fm350_gl_2024-04-21-0.1_all.ipk
|
||||
wget https://github.com/mrhaav/openwrt/raw/master/atc/fib-fm350_gl/atc-fib-fm350_gl_2024-04-24-0.1_all.ipk
|
||||
opkg install atc-fib-fm350_gl_2024-04-24-0.1_all.ipk
|
||||
```
|
||||
|
||||
\
|
||||
If you have problems with modem crashes this hotplug script may help to re-start the interface.
|
||||
|
||||
`/etc/hotplug.d/usb/60-fm350_crash`
|
||||
```
|
||||
if ([ "$PRODUCT" = 'e8d/7126/1' ] || [ "$PRODUCT" = 'e8d/7127/1' ]) && [ "${DEVICENAME: -3}" = '1.6' ] && [ "$ACTION" = 'bind' ] && [ -f /tmp/fm350.status ] && [ $(cat /tmp/fm350.status) != 'boot' ]
|
||||
then
|
||||
logger -t fm350-gl 'Modem has crashed'
|
||||
echo $((1+$(cat /tmp/fm350.status))) > /tmp/fm350.status
|
||||
wanIface=$(uci show network | grep "proto='atc'" | awk -F '.' '{print $2}')
|
||||
ifup $wanIface
|
||||
fi
|
||||
```
|
||||
|
||||
Source code at: https://github.com/mrhaav/openwrt-packages/tree/main/atc-fib-fm350_gl
|
||||
|
Binary file not shown.
BIN
atc/fib-fm350_gl/atc-fib-fm350_gl_2024-04-24-0.1_all.ipk
Normal file
BIN
atc/fib-fm350_gl/atc-fib-fm350_gl_2024-04-24-0.1_all.ipk
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user