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.
> -
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
p0.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
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 ' or
> something? Is that all? How
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
* Penguin ([EMAIL PROTECTED]) [Jan 02. 2002 18:25]:
> How do I bring a dialup PPP link with a shell? It's
> `ifup ' 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 example do
How do I bring a dialup PPP link with a shell? It's `ifup ' 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
7 matches
Mail list logo