Paul Schmidt wrote:
> 
> Dear List:
> 
> This may be a moot point, in that I may be switching ISPs, however I'll ask
> the question anyway, in case it helps someone else.
> 
> My ISP has six modem pools, lets say one is at 555-1234 and another is at
> 555-4321 (both numbers are fake).  Is there any way to tell diald that if
> the pool at 555-1234 is having problems(a growing occurance), try the next
> pool and see if it's having any better luck (not usually, but once in a
> while the fifth or six number down the line works, this is why I may
> switch).  If the modem connects but the login fails (this happens too), it
> shouldn't bother trying the next number.
> 
> Thanks folks,
> 
> Paul
> 

hey paul,

you could use the "device" stanzas. set up soft-links to your modem (or
whatever), like, say modem.5550-1234 and modem.555-4321 etc. then,
modify your dial script to detect what device it's given ($MODEM), and
dial a number accordingly. finally, make sure to trap whatever "error"
result you get from a "broken" number (say, "NO CARRIER"), and use `at`
to spawn a "locking" process (i.e. one that does something like `echo $$
> /var/lock/LCK..$MODEM ; sleep 300` ) for that modem.


hope this helps some,
-- 
:D_ima

Dima Nemchenko
[EMAIL PROTECTED]
---------------------------------------------------------------------
"Eventually, every frog has to croak."
                                        Louis, the "Budweiser Lizard"

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to