Simple python script that logs into and then reboots BGW210 routers provided by AT&T.
- Optionally setup a virtual env
virtualenv venv
source ./venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run main.py
ROUTER_BASE_URL='http://192.168.1.254'
ACCESS_CODE='sdf#$%SD'
python main.py -u ${ROUTER_BASE_URL} -a ${ACCESS_CODE}After running the script, your router should have restarted...