I have Netgear Nighthawk M1 router, sometimes is drop from LTE to HSPA by network and does not automatically return to LTE
Needs to be reset to restore LTE
This router can be accessed by TELNET on port 5510 and using command AT!GSTATUS? will return output like this:
PCC:
LTE band: B2
LTE bw: 20 MHz
SCC1:
LTE band: B4
LTE bw: 5 MHz
I want to establish TELNET session between SL-1300 and MR1100, with script that sends the AT!GSTATUS? command. If the command does not return LTE band or SCC1 in the output, the Gli router resets, forcing the hotspot to reset and refresh network.
What I think need is:
Scheduling touches bash script ever 15 minutes
Script attempts to connect telnet, then send AT!GSTATUS? command
Stores output in plain text file in /root
Scheduling touches plain text file to return LTE band or SCC1 as true
If false, resets the router
please help?