Created
August 14, 2014 05:31
-
-
Save leobossmann/cf57b6851313e0d8588a to your computer and use it in GitHub Desktop.
How to reboot cheap Chinese ipcam from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this works on openWRT: | |
{ echo -e "user\r"; echo -e "pass\r"; echo -e "reboot"; sleep 1; } | telnet ip.address.of.ipcam port | |
on Linux/OSX you get away without the -e and \r, but busybox' telnet client needs them: | |
{ echo "user"; echo "pass"; echo "reboot"; sleep 1; } | telnet ip.address.of.ipcam port | |
My cam is so well-made, it actually works with "admin" and "pass" literally, on port 88 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment