> Peter> Another question is: There are more then one number to
> Peter> dial to my ISP. So same resolv.conf but different chat
> Peter> scripts. Would you solve this using a shell based dialer
> Peter> script to dial in or are there security risks?
> 
> Ben> Why not just make a copy of /usr/bin/pon, maybe call it
> Ben> /usr/local/bin/pon-2, and edit it to use a different ppp.chatscript?
> 
> Well, this would work, but what I'd like to have is to have pppd dial the
> second number if the first is busy.

As a suggestion, take a look at the DialD connect script. 
(/etc/diald/connect).

It is configured to use multiple numbers.  It will "roll-over" to another
number if the current one fails for any reason.  I've used this feature and
it works well.

It would probably be pretty easy to adapt the code from this script to work
with pon and solve your problem....

Later,

Kevin Traas                     Baan Business Systems
Systems Analyst         Langley, BC, Canada
[EMAIL PROTECTED]               (604) 882-8169


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

Reply via email to