An ash script to reboot a Buffalo AirStation router.
-
As an AirStation router doesn't provide any standard API for communicating, this script is just a shortcut to reboot functionality of the router's web client.
-
This script uses neither Wget nor cURL command. It's useful for embedded Linux environment. Some busybox binaries are very limited, so cURL command is not there and Wget command can't send POST requests. This script uses netcat command instead, so runs successfully in that kind of environment.
-
WZR-HP-G301NH
Note: Only Japanese firmware supported.
Even if your router isn't listed above, this script should probably work if it has the UI like below.
-
Download reboot.sh.
-
Open reboot.sh with a text editor, replace
192.168.11.1
with your router's IP address, and insert its password like below if changed. -
After saving it, type
sh ./reboot.sh
with Bash or a terminal emulator in the directory the script exists.Note: If you use a Debian-based Linux OS (e.g., Debian, Ubuntu), type
bash ./reboot.sh
instead.
You can open issues or submit pull requests for bugs you've found.
Copyright © 2017 Cygnan
Licensed under the MIT License, see LICENSE.md.