On Tue, 6 Apr 1999, James wrote: > what's the most reliable way of detecting when a ppp link is up? so far > i've been looking in /proc/net/dev, but the ppp entry in that hasn't gone > away and i'm nolonger online. A simple name lookup (nslookup www.netscape.com) should tell you. You may also try to ping a server in your ISP. Based on return value of the ping, you can detect if the link is up (great for scripts). Also check out /sbin/route and /sbin/ifconfig. cheers, Hossein