Gwyan Rhabyt
04-25-2006, 04:29 AM
I want to build a simple device that will keep my network connection up by using a BS2 to ping an external IP address (like 66.102.7.147 -- which is google) every ten seconds and if it fails for 5 tries in a row, then turning off a relay (to power cycle my dsl modem), waiting five seconds, and then turning the relay on again.
Would this require a PINK module? Or can a BS2 do it by itself? I could write the code and build it if it were serial info rather than a ping command. Would it be easier to just connect the stamp to a serial/ethernet interface like a picotux (www.picotux.com)?
Thanks,
Gwyan
Would this require a PINK module? Or can a BS2 do it by itself? I could write the code and build it if it were serial info rather than a ping command. Would it be easier to just connect the stamp to a serial/ethernet interface like a picotux (www.picotux.com)?
Thanks,
Gwyan