Skip to content

Instantly share code, notes, and snippets.

@leobossmann
Created August 14, 2014 05:31
Show Gist options
  • Save leobossmann/cf57b6851313e0d8588a to your computer and use it in GitHub Desktop.
Save leobossmann/cf57b6851313e0d8588a to your computer and use it in GitHub Desktop.
How to reboot cheap Chinese ipcam from command line
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