On Sunday, June 27, 2004, at 12:55 PM, Stroller wrote: > If you're using an ethernet modem or router then it might be a bit > more difficult to obtain this information. The web-interface of my > Draytek 2600 ADSL modem-router allows me to set remote syslogging, so > I record this information on my Linux box. You could probably record > it equally well on your OS X box, but it's not as straightforward as > the `cat /var/log/ppp/whatever` of a directly connected interface. > why not write a script that pings a common site to test for up? like ping yahoo.com or something... once a minute. if the ping gets no reply - down if ping gets reply - up... cat single pings to a log ?