[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-diald
Subject: default route deleted
From: Benjamin Diedrich <diedrich () ugcs ! caltech ! edu>
Date: 1999-07-27 0:11:38
[Download RAW message or body]
Greetings,
I have had a problem where the default route when diald establishes a
modem connection. To get my connections to work at all, I use an "ip-up"
script that sleeps for 5 seconds, then runs "route add default ppp0".
This is a pretty ugly approach, because the packet queue gets dumped as
soon as the link comes up, and there is a period of a few seconds where
network connections will fail. This problem has persisted through old
(0.16.5) and new (0.98, 0.99) versions of diald, and a few versions of
the 2.2 kernel. I've included a lot of information below, including the
diald log, diald.options file, system info, and routing tables. Any
ideas on how to fix this?
Thanks,
Ben
--
_\\||//_____/|\ * * * Benjamin Diedrich
-- {} -----/ | \ |\* * diedrich@ugcs.caltech.edu
*//||\\ * /__|__\_|_\ * * http://www.ugcs.caltech.edu/~diedrich/
//~||~\\~~\_________/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dialing log of dctrl:
Mon Jul 26 16:56:14 1999 PDT FIFO: link up request
Mon Jul 26 16:56:14 1999 PDT Calling site 194.109.2.10
Mon Jul 26 16:56:40 1999 PDT Connected to site 194.109.2.10
Mon Jul 26 16:56:40 1999 PDT Running pppd (pid = 2274).
Mon Jul 26 16:56:40 1999 PDT Running pppd: /usr/sbin/pppd -defaultroute
-detach modem crtscts mtu 1500 mru 1500 netmask 255.255.255.0 noauth
user diedrich
Mon Jul 26 16:56:47 1999 PDT New addresses: local 199.2.132.98, remote
199.2.132.3, broadcast 0.0.0.0
Mon Jul 26 16:56:47 1999 PDT start ppp0: SIOCSIFMETRIC: Operation not
supported
Mon Jul 26 16:58:47 1999 PDT Failed to received first packet within 120
seconds. Closing Link down.
Mon Jul 26 16:58:47 1999 PDT start sl0: SIOCSIFMETRIC: Operation not
supported
Mon Jul 26 16:58:48 1999 PDT stop ppp0: SIOCDELRT: No such process
Mon Jul 26 16:58:48 1999 PDT start sl0: SIOCSIFMETRIC: Operation not
supported
Mon Jul 26 16:58:48 1999 PDT start sl0: SIOCADDRT: File exists
Mon Jul 26 16:58:48 1999 PDT start sl0: SIOCADDRT: File exists
Mon Jul 26 16:58:48 1999 PDT Disconnected. Call duration 128 seconds.
Mon Jul 26 16:58:48 1999 PDT IP transmitted 0 bytes and received 0
bytes.
Mon Jul 26 16:58:49 1999 PDT Delaying 30 seconds before clear to dial.
Here is the info on my system:
diald 0.99
kernel 2.2.10
Debian linux 2.1
libc6 2.1.1
diald-options ("ip-up" commented out for this example):
device /dev/modem
accounting-log /var/log/diald.log
fifo /var/run/diald.fifo
mode ppp
local 192.168.0.1
remote 194.109.2.10
netmask 255.255.255.0
dynamic
pppd-options noauth user diedrich
two-way
defaultroute
#ip-up /etc/diald/ip-up
connect "runscript /etc/runscripts/harbornet"
lock
modem
crtscts
connect-timeout 90
dial-fail-limit 2
died-retry-count 0
include /etc/diald/standard.filter
Output of "route" during connection process:
Before:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.109.2.10 * 255.255.255.255 UH 0 0 0
sl0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
194.109.2.0 * 255.255.255.0 U 0 0 0
sl0
default * 0.0.0.0 U 0 0 0
sl0
During:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.109.2.10 * 255.255.255.255 UH 0 0 0
sl0
199.2.132.3 * 255.255.255.255 UH 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
194.109.2.0 * 255.255.255.0 U 0 0 0
sl0
default * 0.0.0.0 U 0 0 0
sl0
Followed by:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.109.2.10 * 255.255.255.255 UH 0 0 0
sl0
199.2.132.3 * 255.255.255.255 UH 0 0 0
ppp0
199.2.132.0 * 255.255.255.0 U 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
194.109.2.0 * 255.255.255.0 U 0 0 0
sl0
default * 0.0.0.0 U 0 0 0
ppp0
Followed by:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
199.2.132.3 * 255.255.255.255 UH 0 0 0
ppp0
199.2.132.0 * 255.255.255.0 U 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
default * 0.0.0.0 U 0 0 0
ppp0
After:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
199.2.132.3 * 255.255.255.255 UH 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to majordomo@vger.rutgers.edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic