Quoting Chris Hellyar <[EMAIL PROTECTED]>: > What is a reliable method for telling the status of a ppp link, that is > set up using the dial-on-demand functionality in pppd? > > to the default gateway, and dials using wvdial.. > > BTW, the machine is debian woody, and I'm using apache/php for the > hosting of the webpage, but shell-script fragments, of vague > incantations are fine!
Although I know nothing of Debian or wvdial, doesn't pppd run /etc/ppp/ip-up when connecting and /etc/ppp/ip-down when disconnecting. I haven't tested this but I would have thought these scripts would run when the link is brought up rather than when you start demand dialing. You should be able to hack something up for your web pretty easily using these scripts. HTH hads. -- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
