Hope someone has some insight into the problem. Diald is not allowing the
routing to go through and I'm running out of ideas. Here's the scoop.

The system is RedHat 5.2 (2.00.36)

PPPd seems to work okay if it's fired up manually. The routing works and
both the Linux box and the systems behind it are getting through just fine.
When diald is started, the connection works okay. At least it seems to but
since it won't stay up for more than 30 seconds there may be other problems.
Traffic is detected and the modem dials out and successfully connects. The
problem seems to be in the fact that diald is blocking pppd from entering
the new default route into the table. I don't know how to correct that.

Here are the routing tables at various times.

Before ppp is up

Kernel IP routing table
Destination  Gateway Genmask       Flags Metric Ref Use Iface
192.168.52.0 0.0.0.0 255.255.255.0 U     0      0     5 eth0
127.0.0.0    0.0.0.0 255.0.0.0     U     0      0     0 lo

After ppp is up

Kernel IP routing table
Destination    Gateway         Genmask         Flags Metric Ref Use Iface
216.119.112.13 0.0.0.0         255.255.255.255 UH    0      0     0 ppp0
192.168.52.0   0.0.0.0         255.255.255.0   U     0      0     6 eth0
127.0.0.0      0.0.0.0         255.0.0.0       U     0      0     0 lo
0.0.0.0        216.119.112.13  0.0.0.0         UG    0      0     1 ppp0


After diald is started and before ppp is up.

Kernel IP routing table
Destination     Gateway  Genmask         Flags Metric Ref Use Iface
216.119.112.13  0.0.0.0  255.255.255.255 UH    1      0     0 sl0
192.168.52.0    0.0.0.0  255.255.255.0   U     0      0     8 eth0
127.0.0.0       0.0.0.0  255.0.0.0       U     0      0     0 lo
0.0.0.0         0.0.0.0  0.0.0.0         U     1      0     0 sl0

After the diald initiates and pppd makes the connection.

Kernel IP routing table
Destination     Gateway  Genmask         Flags Metric Ref Use Iface
216.119.112.13  0.0.0.0  255.255.255.255 UH    0      0     0 ppp0
216.119.112.13  0.0.0.0  255.255.255.255 UH    1      0     0 sl0
192.168.52.0    0.0.0.0  255.255.255.0   U     0      0     8 eth0
127.0.0.0       0.0.0.0  255.0.0.0       U     0      0     0 lo
0.0.0.0         0.0.0.0  0.0.0.0         U     1      0     1 sl0

ifconfig displays look normal. They're not included here for the sake of
brevity.

diald.conf is straight forward:

accounting-log /var/diald/log
mode ppp
dynamic
local 192.168.52.194
remote 216.119.112.13
defaultroute
reroute
device /dev/ttyS1
connect /etc/ppp/scripts/ppp-on
modem
speed 115200
lock
crtscts
include /usr/lib/diald/standard.filter

The ppp options file is empty. It doesn't seem to matter what goes in there.
The PPP_ALONE flag has been implemented to no avail. Anything else to check?

Any help would be greatly appreciated.

Bruce


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

Reply via email to