https://github.com/jamesnetherton/bthomehub4-reboot-script
Reboot the BT Home Hub 4 from the command line
https://github.com/jamesnetherton/bthomehub4-reboot-script
Last synced: 28 days ago
JSON representation
Reboot the BT Home Hub 4 from the command line
- Host: GitHub
- URL: https://github.com/jamesnetherton/bthomehub4-reboot-script
- Owner: jamesnetherton
- License: mit
- Created: 2014-04-24T15:53:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-17T09:16:27.000Z (over 8 years ago)
- Last Synced: 2025-04-15T06:44:05.716Z (28 days ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
BT Home Hub 4 Reboot Script
==========================Reboot the BT Home Hub 4 from the command line instead of using the nasty looking web interface. Useful for quick reboots or you can configure as a cron job for periodic restarts.
For newer Home Hub routers, check out my CLI tool:
https://github.com/jamesnetherton/homehub-cli
## Tested on
* Linux Mint 16 Petra
* BT Home Hub 4 (Type A), Software version 4.7.5.1.83.8.130.1.17## Dependencies
* cURL## How it works
cURL is used to spoof the HTTP POST requests that would usually be made from the Home Hub web UI. A series of requests are made to the router in order to login and finally perform the reboot.## Usage
To reboot your BT Home Hub 4 simply execute the reboot-router.sh script passing in your admin password. For example:```bash
./reboot-router.sh abc123
```