On Wed, 16 Jul 1997, Robert D. Hilliard wrote:

>      The pppd man pages say that the ip-up and ip-down scripts are
> executed with "standard input, output and error streams redirected
> to /dev/null." 
> 
>      I would like to use these scripts, but I want them to echo
> messages to the console.  How can I overcome this redirection to
> /dev/null?

A solution may be saving the tty when starting the connection
("tty > /tmp/ppp-tty"), and use redirection in ip-up and ip-down
("echo xxxxxxxxx > `cat /tmp/ppp-tty`").

Ciao

----------------------------------------------------------------------
Dalla Silvestra Michele      Other info: finger://[EMAIL PROTECTED]
Key fingerprint = 68 02 A9 C7 FB 05 9E 9C  C7 B6 4A 13 61 25 5B 43


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to