Re: Bring up ppp link on shell

2002-01-03 Thread Camilux
For PPP wvdial works for me. - camilo On 2 Jan 2002, at 17:52, John Hasler wrote: James writes: How do I bring a dialup PPP link with a shell? pon. How do I tell when the link is down if I have a shell script for example downloading the latest Debian dist? ping. -- John

Re: Bring up ppp link on shell

2002-01-02 Thread Brian Clark
* Penguin ([EMAIL PROTECTED]) [Jan 02. 2002 18:25]: How do I bring a dialup PPP link with a shell? It's `ifup iface-name' or something? Is that all? I use pon after I've configured ppp with pppconfig. man pppconfig pon How do I tell when the link is down if I have a shell script for

Re: Bring up ppp link on shell

2002-01-02 Thread John Hasler
James writes: How do I bring a dialup PPP link with a shell? pon. How do I tell when the link is down if I have a shell script for example downloading the latest Debian dist? ping. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: Bring up ppp link on shell

2002-01-02 Thread J.A.Serralheiro
u can use wvdial or pon, both make the use of pppd. check wvdial man pages, and the ppp howto. You must configure several things before u can use dial up connections. On Thu, 3 Jan 2002, Penguin wrote: How do I bring a dialup PPP link with a shell? It's `ifup iface-name' or something? Is that

RE: Bring up ppp link on shell

2002-01-02 Thread Jeremy L. Gaddis
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

Re: Bring up ppp link on shell

2002-01-02 Thread William Burrow
On Wed, Jan 02, 2002 at 07:46:44PM -0500, Jeremy L. Gaddis wrote: 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. I just put scripts in ip-up.d and ip-down.d that sent a one line message to a tty indicating the status