Update README.md

master
mrhaav 9 months ago committed by GitHub
parent ec9871886d
commit 885de9cb6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,6 +22,20 @@ Reboot\
\
Ipv6 is not verified.\
\
I have seen some issue with modem crashes, so I added `/etc/hotplug.d/usb/10-r11e_lte`
`10-r11e_lte`
```
[ $ACTION = 'add' -a $PRODUCT = '2cd2/1/100' -a $INTERFACE = '8/6/80' ] && {
wanIface=$(uci show network | grep "proto='atc'" | awk -F '.' '{print $2}')
modemStarted=$(ubus call network.interface.${wanIface} status | jsonfilter -e '@["data"].modem')
[ -z "$modemStarted" ] && modemStarted=$(ubus call network.interface.${wanIface} status | jsonfilter -e '@["errors"].code')
[ -n "$modemStarted" ] && {
logger -p 3 -t modem_hotplug Modem crashed!
ifup $wanIface
}
}
```
\
*If you would like to install MikroTik sw:\
<https://wiki.mikrotik.com/wiki/Manual:Netinstall>\
and use your MAC-address to access.*

Loading…
Cancel
Save