Thursday, June 30, 2011

my stupid cable modem, and crontab entry to reboot it

My modem took a dump and stopped passing upstream data yesterday - but remained online.
My old cable modem and router setup had a crontab to test for this and remotely reboot the cable modem box:

Oh yeah and it has a stupid default password: W2402

http://www.borfast.com/blog/scientific-atlanta-webstar-2203c-how-access-locked-pages

http://superuser.com/questions/56644/url-to-reboot-a-webstar-dpc2100r2-cable-modem-with-curl

curl http://192.168.100.1/goform/gscan -d SADownStartingFrequency=687000000


combining into a crontab entry test::


curl --connect-timeout 120 --max-time 240 --fail -k -I http://www.google.com/intl/en/privacy/ || curl http://192.168.100.1/goform/gscan  -d SADownStartingFrequency=687000000



No comments:

Post a Comment

#RSFtalks with Edward Snowden

What an intelligent, thoughtful individual. I find it difficult to forgive 44 for failing to pardon this patriot and instead pursuing him ...

Other Popular Posts: