4IceG / ZTE-MF286D

My compilation: OpenWrt SNAPSHOT / LuCI Main | r26815-b4069fad02 [Build: 30.06.2024]
GNU General Public License v3.0
24 stars 0 forks source link

wwan0 does not reconnect automatically #12

Closed dandare1980 closed 6 months ago

dandare1980 commented 7 months ago

Thanks for the custom firmware, it's made getting started with Openwrt on this router modem very easy.

I'm having an issue with the cellular connection dropping every couple of hours, then it won't connect until I manually restart wwan0 (or reboot the router).

Is their a way for the modem to do this automatically?

4IceG commented 7 months ago

Hi, Try to set a connection monitor for the interface on which the modem is working. OpenWrt is not always able to reconnect, sometimes it needs help (using additional packages or scripts).

dandare1980 commented 6 months ago

I found within the pages of the OpenWrt Wiki a way to pass commands to the modem in uci using the package uqmi, with options not available through Luci.

uqmi --device=/dev/cdc-wdm0 --autoconnect uqmi --device=/dev/cdc-wdm0 --set-autoconnect enabled

Not sure if it will have the desired effect, but I should know by the morning.

dandare1980 commented 6 months ago

Please accept my apologies, I completely ignored your directions to "Connection Monitor" under "Services" which I've just set up.

Hopefully this will help.