OESF Portables Forum
General Forums => General Discussion => Topic started by: ShiroiKuma on June 03, 2007, 10:10:23 am
-
This is not a Z specific question, but a desktop linux thing too...
I often let stuff download overnight on a slow connection, inevitably to find out that pppd dropped the carrier after an hour let's say and the rest of the night has been wasted...
How can check that the line hasn't been dropped, via ping or so, and if it has been, then have the script automatically redial via pon?
-
There are probably better ways but, you can run "grep ppp `ifconfig`" or something, if that comes up empty, redial.