I'm using a buffalo router at home with a dd-wrt firmware buffalo router model: WZR-HP-G300NH .
If you are familiar with dd-wrt firmware, you know you can run scripts from the router so I need a bash or python script to ping one of my computer every 10 min to check is the interface is up and if is down to send me an email. Just to let you know I have no programing experience but I'm interested to learn Linux shell and python if anyone can recommend me the best books out there to learn Shell and Python scripts I will really appreciated. I hope this is not too complex to accomplish. I know I can easily accomplish this using nagios or other mon systems but when I'm not home the only thing that is on is my router also I don't think nagios can be run withing my router. I also browse the dd-wrt site but did not find anything similar of what I'm looking for or may be I missed the article. Thank you so much in advance guys.