Control Home Router - Command

PHOTO EMBED

Mon Mar 17 2025 17:27:12 GMT+0000 (Coordinated Universal Time)

Saved by @hmboyd

# Reboot my home Linksys WAG160N / WAG54 / WAG320 / WAG120N Router / Gateway from *nix.
alias rebootlinksys="curl -u 'admin:my-super-password' 'http://192.168.1.2/setup.cgi?todo=reboot'"
 
# Reboot tomato based Asus NT16 wireless bridge
alias reboottomato="ssh admin@192.168.1.1 /sbin/reboot"
content_copyCOPY

https://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html