Skip to content

Instantly share code, notes, and snippets.

@iswilson
iswilson / reboot-spa112.sh
Created March 7, 2017 23:36
Bash script to reboot a Cisco SPA112 using its web ui.
#!/bin/bash
#
# Reboot a Cisco SPA112 using its web ui.
# Tested on firmware v1.4.1 (002).
#
# Written by Ian Wilson <[email protected]> on 2017-03-07
DEVICE_IP=192.168.1.42
USER=admin
PASSWORD=hunter2