As root I do "pon whatever" and 3 seconds or later it is connected.
However, I cannot tell when except by trying it until it works.
How do I tell when a connection has been negotiated? And how can
I tell if it has failed? Using PAP for the moment, in case it matters.
Also, is there any way I can
ifconfig will show a connection to ppp0 when the connection is
established. You could write a script that runs ifconfig every second or
so using grep to look for 'ppp0' and report when the link is up, then stop
itself.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscri
Linux Journal June 98 has an article on a user interface for starting and
stopping PPP connections. The entire article is on line as also the scripts
that you need to set up your system.
The author has described his Slackware configuration (3.4, I think). It was
not that difficult to set it up und
> As root I do "pon whatever" and 3 seconds or later it is connected.
> However, I cannot tell when except by trying it until it works.
> How do I tell when a connection has been negotiated? And how can
> I tell if it has failed? Using PAP for the moment, in case it matters.
plog
Alex Y.
--
On Thu, May 28, 1998 at 03:47:46PM +0100, Ian Lynagh wrote:
>
> As root I do "pon whatever" and 3 seconds or later it is connected.
> However, I cannot tell when except by trying it until it works.
> How do I tell when a connection has been negotiated? And how can
> I tell if it has failed? Using
Ian Lynagh wrote:
>
> As root I do "pon whatever" and 3 seconds or later it is connected.
> However, I cannot tell when except by trying it until it works.
> How do I tell when a connection has been negotiated? And how can
> I tell if it has failed? Using PAP for the moment, in case it matters.
>
You can use the ip-up and ip-down scripts located in
/etc/ppp. The ip-up script is run when a ppp connection
is successfully made. Parameters are passed to this
script that can be used to echo the connection data
wherever you want (tty, ttyp0, etc). You can use
ip-down script to display a messa
debian-user@lists.debian.org
Date: Friday, May 29, 1998 7:38 AM
Subject: pon - When am I connected?
>ifconfig will show a connection to ppp0 when the connection is
>established. You could write a script that runs ifconfig every second or
>so using grep to look for 'ppp0' and r
Maybe it is not the best way, but I have the following command in my
ip-up script.
wall PPP is UP
ZORO
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Fri, May 29, 1998 at 10:01:32PM -0600, Lazar Fleysher wrote:
>
>
> Maybe it is not the best way, but I have the following command in my
> ip-up script.
>
> wall PPP is UP
Better make thatecho PPP is UP | wall
--
Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz
10 matches
Mail list logo