R
R
Ramsan2014-11-17 23:20:26
network hardware
Ramsan, 2014-11-17 23:20:26

Set up monitoring and automatic raising of connection via usb modem in OpenWRT?

Good evening!
The WDR4300 router with firmware from yohimba 12.09 (r36088 v5) distributes the Internet via an RNDIS device (ZTE MF823 modem) (uwan usb0 in LuCi). The modem has an auto-connect function when installed in a usb port.
Periodically (once a day, twice a day or several times a day) the Internet connection falls off. (to connect to the Internet, you need to go through the web interface of the modem and start the connection manually or pull out the modem and reconnect it to the usb port of the router).
Please tell me how to solve the problem of disconnection without manual intervention?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sharikoff, 2014-11-27
@sharikoff

curl or wget and a link to the internet start button. In the cron script like "ping ya.ru, if not ping, then curl http:// on the start button of the Internet"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question