Go Down

Topic: Reset ethernet connection (Read 1 time) previous topic - next topic

pauldreed


Quote
a Nanode, which uses a ENC28J60 ethernet controller.

Ah. That makes it a lot tougher.

The ethercard library works very well though and sends energy data to Pachube https://pachube.com/feeds/34843, but I want to develop a Watchdog to reboot the Nanode if the DHCP/DNS gets screwed up (which happens if my internet connection is temporarily lost).
A colleague has just emailed my and suggested the possibility of using Pachube's return HTTP status code, i.e. Pachube sends a 200 for OK, 404 for not found etc. instead of accessing a website such as google.com, but either would do.

Go Up