Skip to content

Instantly share code, notes, and snippets.

@dalhundal
Created May 4, 2014 16:54
Show Gist options
  • Save dalhundal/4a87d5362b8faedd0341 to your computer and use it in GitHub Desktop.
Save dalhundal/4a87d5362b8faedd0341 to your computer and use it in GitHub Desktop.
Script to reboot Netgear DG834G router
#!/bin/sh
# Script to reboot netgear DG834G router
# Tried this only on v5, may work on others.
IP=192.168.1.1
USER=admin
PASSWORD=password
curl --user $USER:$PASSWORD $IP/reboot.cgi >/dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment