-----Original Message-----
From: Edward Dekkers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, February 14, 2002 7:52 PM
Subject: Re: ppp and bind

Hallo again Edward,

  I tinkered with the pppd setup for demand dial, and found a way to make it
work.  It's not what I'd call satisfactory, but it gets around the hang up
with the onboot option.  Apparently, when you set the demand option, the
script makes the mistake of not providing a return value.  I.e., the call
never exits.  That' the hang up problem in a nutshell.  When you do this
from with a shell after you login no big deal.  It only stops input within
that particular shell.   If it happens during boot time though, you can't
get to another shell to login.  It just sits there waiting for a return
value.  What fixes it, is to provide a return value yourself.  I put the
following in rc.local:  ppp-watch ppp0 &   The ampersand provides an instant
return value of 0, and runs the command in the background, thus allowing it
to work, and letting the boot continue on.  ifup ppp0 &   would probably
work as well.  Let me know if this works out the way you want it to.

Jeff Hogg



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to