I am running PPP 2.3.4 under kernel 2.0.35 to maintain a permanent connection 
to a local ISP.

Every now and again, I get disconnected such that my modem loses carrier and 
goes on-hook. 

CTS, RTS, DTR and modem ready signals remain high and this is apparently 
enough to fool pppd into thinking the connection is still there (because it 
continues to run even though I do not have the persist option selected).

When I notice that the line is dead, I run my killppp script which sends a 
signal 15 to all running pppd's.

Because I am also running diald, pppd now automatically gets restarted (by 
diald) and everything is back together.

Except, that sometimes, the restarted pppd creates and connects to interface ppp1 
instead of ppp0 (leaving nothing on ppp0).

If someone then dials into my system, they get assigned to interface ppp0 and 
all of my firewall rules become worse that useless.

Can anyone please explain why pppd might use ppp1 instead of ppp0 and better 
yet, offer a suggestion as to how I might be able to force the first (outbound)
pppd connection to always use interface ppp0.

I guess another alternative is to somehow automatically rebuild my firewall 
rules.

Cheers and thanks, 
Stephen


========================================================================
Stephen Davies Consulting                                                   
[EMAIL PROTECTED]
Adelaide, South Australia.                                                  Voice: 
61-8-82728863
Computing & Network solutions.                                      Fax: 61-8-82741015


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

Reply via email to