[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-diald
Subject:    pppd times out setting defaultroute (diald .99.1, Linux 2.3.13-18, ppp
From:       Bradley Wendelboe <krakken () ncn ! net>
Date:       1999-09-26 13:43:40
[Download RAW message or body]

I've been trying to trace why diald fails since linux 2.3.13.  Diald
brings up the connection, but pppd does not set defaultroute, and the
connection drops.  I added a line to ip-up to set the route, and I can
get a good net connection, but pppd times out and brings down the link. 
Using this method I also seem to get two default routes (sl0 and ppp0). 
Here is a snip of my logs:

Sep 25 21:54:20 icehouse diald[11693]: Connected to site 192.168.1.2 
Sep 25 21:54:20 icehouse diald[11693]: Running pppd (pid = 11843).
Sep 25 21:54:20 icehouse pppd[11843]: pppd 2.3.9 started by root, uid 0
Sep 25 21:54:20 icehouse pppd[11843]: Using interface ppp0
Sep 25 21:54:20 icehouse pppd[11843]: Connect: ppp0 <--> /dev/ttyS2
Sep 25 21:54:21 icehouse pppd[11843]: local  IP address 206.72.46.48
Sep 25 21:54:21 icehouse pppd[11843]: remote IP address 206.72.46.6
Sep 25 21:54:28 icehouse pppd[11843]: Protocol-Reject for unsupported
protocol 0x3235
Sep 25 21:55:21 icehouse diald[11693]: pppd startup timed out. Check
your pppd options. Killing pppd.
Sep 25 21:55:21 icehouse diald[11693]: start sl0: SIOCSIFMETRIC:
Operation not supported 
Sep 25 21:55:21 icehouse diald[11693]: start sl0: SIOCADDRT: File exists 
Sep 25 21:55:21 icehouse diald[11693]: start sl0: SIOCADDRT: File exists 
Sep 25 21:55:21 icehouse pppd[11843]: Terminating on signal 2.
Sep 25 21:55:21 icehouse pppd[11843]: Connection terminated.
Sep 25 21:55:21 icehouse pppd[11843]: Connect time 1.1 minutes.
Sep 25 21:55:21 icehouse pppd[11843]: Sent 5410 bytes, received 3590
bytes.
Sep 25 21:55:21 icehouse pppd[11843]: Exit.

Route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.1     *               255.255.255.255 UH    0      0        0
eth0
192.168.1.2     *               255.255.255.255 UH    0      0        0
sl0
192.168.1.2     *               255.255.255.255 UH    0      0        0
sl0
206.72.46.6     *               255.255.255.255 UH    0      0        0
ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
127.0.0.0       *               255.0.0.0       U     0      0        0
lo
default         206.72.46.6     0.0.0.0         UG    0      0        0
ppp0
default         *               0.0.0.0         U     0      0        0
sl0


My diald configuration works with all kernel versions before 2.3.13.

Fixes?  Workarounds?


Thanks,

Krakken


-- 
"Calling Linux "competition" for Microsoft is like calling the
     american revolution "competition" for King George."

-
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