F
F
foxyboy2016-07-21 15:15:42
Computer networks
foxyboy, 2016-07-21 15:15:42

How to implement a modem reconnection in the router when the connection is lost?

There is an Asus RT-AC68U router, a 3G / 4G modem Huawei E392 (Megafon) with an amplifier is connected to it. Communication is not always stable. As I understand it, when the signal is lost, the modem does not reconnect.
I wanted to write a script that would periodically ping Google and restart the router or modem if the signal was lost, but I can’t find a place where I can save this script so that it doesn’t get overwritten when the router is restarted.
Can you suggest how to solve the problem? If the script helps, then how to write it to the router?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2016-07-21
@Zarom

If you have Asus flashed with dd-wrt, then part of the nvram can be assigned to jffs, where you can store your own scripts.
enable-ssh3_thumb1.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question