Use "pppconfig" to configure your dial-up connection. Subsequently, you use "pon" and "poff" to bring the connection up and down, respectively.
In a shell script, the easiest way to find out if the link is up or down is to check for the presence of /var/run/ppp0.pid. HTH. j. -- Jeremy L. Gaddis <[EMAIL PROTECTED]> -----Original Message----- From: Penguin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 7:07 PM To: debian-user@lists.debian.org Subject: Bring up ppp link on shell How do I bring a dialup PPP link with a shell? It's `ifup <iface-name>' or something? Is that all? How do I tell when the link is down if I have a shell script for example downloading the latest Debian dist? Can I poll/interrogate something which will tell me? Cheers James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]