I need a script that will run often, ping a reliable website, and reset my USB modem if the ping fails.
The only high speed service available at my house is LTE through a USB modem. I really don't want to purchase another USB modem, but the one that came with the company just stops transmitting and receiving data randomly. When I reset it, it works again for a day or so and needs resetting again.
The service itself actually works really well when it's up. The USB modem is some off-brand thing so I have no shell access to it. I need a script that will actually restart the hardware itself.
Any help will be greatly appreciated!
EDIT: I have the RT-AC68U running stock firmware. I'm not opposed to upgrading to Merlin, but I still don't know which script would accomplish what I'm trying to accomplish.
The only high speed service available at my house is LTE through a USB modem. I really don't want to purchase another USB modem, but the one that came with the company just stops transmitting and receiving data randomly. When I reset it, it works again for a day or so and needs resetting again.
The service itself actually works really well when it's up. The USB modem is some off-brand thing so I have no shell access to it. I need a script that will actually restart the hardware itself.
Any help will be greatly appreciated!
EDIT: I have the RT-AC68U running stock firmware. I'm not opposed to upgrading to Merlin, but I still don't know which script would accomplish what I'm trying to accomplish.
Last edited: