I've a problem with my Linux box (Kernel 2.2.16, PPP 2.3.11, SuSE
Linux 6.4). If I close my ppp connection, the applications (ssh,
telnet, fetchmail etc.) still wait for the ppp link. It takes up to 20
minutes before the applications get a timeout.
After closing the PPP link, netstat shows something like:
# netstat --tcp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 1 213.20.138.92:mvel-lm 130.149.17.110:telnet ESTABLISHED
tcp 0 20 213.20.138.92:700 130.149.17.110:ssh ESTABLISHED
tcp 0 0 213.20.138.92:959 130.149.17.110:ssh ESTABLISHED
tcp 0 1 213.20.138.92:4396 204.71.200.56:mmcc FIN_WAIT1
tcp 0 1 213.20.138.92:4394 205.188.153.139:ftp FIN_WAIT1
Ok, I can close the applications with "kill" (CONTROL-C doesn't work
on telnet, ssh, ...) but this isn't a good solution. Also, because of
the dynamically assigned IP addresses and the timeouts of the PPP
peer, it doesn't help, if the applications wait for a new PPP
connection.
How can I configure the system (PPP, kernel, ...) so, that the
applications get network timeouts or network errors immediately after
the link shuts down?
Thanks.
My ppp daemon uses this options:
noipdefault
debug
crtscts
lock
modem
nodetach
noipx
nopersist
defaultroute
usepeerdns
hide-password
ktune
--
Bj�rn Voigt <[EMAIL PROTECTED]>
WWW: http://user.cs.tu-berlin.de/~bjoern/
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]