I have a routing problem with diald (new diald user but not new to Linux).
Here is my problem:
diald dials up my ISP and makes a ppp connection but there is no route out.
Here is my /etc/diald.conf
accept any 420 any
mode ppp
connect /etc/diald/connect
device /dev/cua1
speed 115200
modem
lock
crtscts
local 192.168.3.1
remote 192.168.3.2
dynamic
defaultroute
include /usr/lib/diald/standard.filter
accounting-log /var/log/diald.log
The connect script works fine by itself and under diald - it connects me to my
ISP on device ppp0 but there is no route out. After 60 secs diald gives up and
redials - even though the ppp0 interface is up.
Here is my route before diald connects:
acorn:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.3.2 0.0.0.0 255.255.255.255 UH 1500 0 0 sl0
192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 1500 0 0 sl0
Here is my route after diald connects :
acorn:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.3.2 0.0.0.0 255.255.255.255 UH 1500 0 0 sl0
195.102.255.163 0.0.0.0 255.255.255.255 UH 1500 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 1500 0 0 sl0
Here is my route when the connect script runs without diald :
bash# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
195.102.255.166 0.0.0.0 255.255.255.255 UH 1500 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 195.102.255.166 0.0.0.0 UG 1500 0 0 ppp0
I have tried diald 0.16, 0.16.5 0.16.5a, 0.99.1 .
Running kernels 2.0.36 and 2.0.37 with ip forwarding.
I am obviously missing something fundamental.
I would be grateful if somebody can give me a pointer.
Thanks,
Nick
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]