Skip to content
Automating the reboot of a cable modem should the internet be unreachable
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
reboot_modem.sh
reboot_modem_exp

README.md

automated-reboot-cable-modem

Automating the reboot of a cable modem should the internet be unreachable

The scripts were tested with Ubuntu 16.04 and executed via a cron job.

Requirements:

  1. reboot_modem.sh bash script
  2. reboot_modem.exp expect sript
  3. APC PDU

The bash script checks availabilty of a server and if considered down will execute an expect script which will telnet to an APC PDU and cycle the power to an outlet.
You can’t perform that action at this time.