RE: Bring up ppp link on shell
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 <jlgaddis@blueriver.net>
-----Original Message-----
From: Penguin [mailto:penguin1@dodo.com.au]
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 debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: