BradPatras / raspi-wifi-toggle

Cox-supplied router needs reset all the time, Cox won't fix it. Solution: Raspberry Pi listens for internet disconnect and resets the router.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  • ssh into raspberry pi (using putty because i'm on windows)
  • Use screen to start the python script and let it run after closing putty
    •    $ screen
         $ python3 wifi-toggle.py
      
    • detach from screen using CTRL + a, d
    • reattach to screen using screen -r

Schematic

shematic

Final Product

shematic

shematic

About

Cox-supplied router needs reset all the time, Cox won't fix it. Solution: Raspberry Pi listens for internet disconnect and resets the router.


Languages

Language:Python 100.0%