NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

gyruss's avatar
gyruss
Aspirant
Aug 02, 2020

Command or script to reboot Nighthawk M1?

Is there a command or script to reboot the Nighthawk M1 without entering the gui?

5 Replies

  • Perhaps you could modify that script that "turns off data and turns data back on" to do a reboot instead.  Of course that script is used to fix certain problems without having to wait for a reboot, so, depending on what you are trying to accomplish, you may be trying to fit a square peg into a round hole instead of using the square hole right next to it.

    • gyruss's avatar
      gyruss
      Aspirant
      I tried that script but for some reason didn't detected that my connection was down. Perhaps because only the ports 80 and 443 are the only ones blocked. Also I have tried logging to the router and turning off and on the data but that didn't work either. The reboot did the job.
      • icaruspony's avatar
        icaruspony
        Luminary

        Ports 80 and 443... sounds like AT&T.  Connected Car Plan?

         

        You can easily modify the script to detect a web connection:

         

        import httplib
        conn = httplib.HTTPConnection("www.netgear.com")
        conn.request("HEAD", "/")
        r1 = conn.getresponse() print r1.status, r1.reason

        If it is reachable, it returns:

         

        200 OK

         

        You could also modify the on/off data to click the reboot button in the router. I've also heard changing bands is like a reboot when it comes to this problem.