I have a linux box, with red hat 5.0, kernel 2.0.32, pppd 2.3.3., diald
0.16.
I can use my connection script ppp-on to connect to my ISP.
And now I would like to use diald to dial on demand for web browsing,
sending
e-mail, etc.. I ping one internet host like www.yahoo.com and diald  get

connection with my ISP and in system log ,it shows my local IP address
and remote
IP address (I use dynamic assigned IP), but after a few seconds, diald
reports:
connection script timeout, killing scripts, and finally hang-up the
modem.

When connection is up, I can ping  remote machine in ISP, but when I
ping my local assigned IP, it gets no response. I type route -n , and it
shows

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
255.255.255.255 0.0.0.0         255.255.255.255 UH    0      0        0
eth0
10.8.249.200       0.0.0.0            255.255.255.255 UH    0      0
    0 eth0:1
192.168.0.2         0.0.0.0             255.255.255.255 UH    1      0
      0 sl0
168.95.78.37       0.0.0.0            255.255.255.255 UH    0      0
    0 ppp0
10.8.0.0               0.0.0.0           255.255.0.0     U     0      0
       8 eth0
127.0.0.0             0.0.0.0            255.0.0.0       U     0      0
      10 lo
0.0.0.0                 0.0.0.0            0.0.0.0         U     1
0       11 sl0

so the defaultroute is still in sl0, not in the physical link(ppp0), is
it right?
I try to lengthen connection timeout, and still in vain.
Does anybody tell me how to solve this?

             my diald.conf is:
          ======================
               mode ppp
              connect /usr/sbin/ppp-on
              device /dev/modem
              speed 115200
              modem
              lock
              crtscts
              local 192.168.0.1
              remote 192.168.0.2
              dynamic
              netmask 255.255.255.0
              mtu 552
              mru 552
              defaultroute
              reroute
              connect-timeout 300
              include /usr/lib/diald/standard.filter]
        ===============================

Thanks in advance
Henry
[EMAIL PROTECTED]





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

Reply via email to