Dear diald-gurus,
Thanks to lurking on this group for the past week, I have managed to
get my connect script to work after running /usr/sbin/diald :
******************extract from /var/log/messages***************
Sep 15 13:03:17 ipddev diald[202]: Running connect (pid = 277).
Sep 15 13:03:18 ipddev connect: Initializing Modem
Sep 15 13:03:18 ipddev connect: Dialing system
Sep 15 13:03:43 ipddev connect: Connected
Sep 15 13:03:43 ipddev connect: Loggin in
Sep 15 13:03:45 ipddev connect: Starting Comm Protocol
Sep 15 13:03:46 ipddev connect: Protocol started
Sep 15 13:03:46 ipddev diald[202]: Running pppd (pid = 288).
Sep 15 13:03:46 ipddev pppd[288]: pppd 2.2.0 started by root, uid 0
Sep 15 13:03:46 ipddev pppd[288]: Using interface ppp0
Sep 15 13:03:46 ipddev pppd[288]: Connect: ppp0 <--> /dev/cua0
****************************************************************
My biggest problem now, is that the routing doesn't seem to work. I have
all the IP options built into my kernel (masquerade and firewall etc.),
but I can't seem to ping out (which must, I guess be due to the
networking). My ISP provides a static IP address for me, and I can get
slip and PPP to work with dip (which I know is incompatible with diald),
and the routing table looks like:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
158.152.1.222 0.0.0.0 255.255.255.255 UH 0 0 0
sl0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 13
lo
42.0.0.0 0.0.0.0 255.0.0.0 U 0 0 56
eth0
0.0.0.0 158.152.1.222 0.0.0.0 UG 1 0 4
sl0
When diald is running, I get this table instead. Seems to me the gateway
is wrong for the 0.0.0.0 destination, but I can't get route to add the
correct netmask of flags.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
158.152.1.222 0.0.0.0 255.255.255.255 UH 1 0 0
sl0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 13
lo
42.0.0.0 0.0.0.0 255.0.0.0 U 0 0 58
eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1 0 0
sl0
Any ideas? I enclose my /etc/diald.conf script
mode ppp
device /dev/cua0
speed 57600
connect /usr/lib/diald/connect
modem
lock
crtscts
local 193.237.137.150
remote 158.152.1.222
defaultroute
include /usr/lib/diald/standard.filter
debug
redial-timeout 10
fifo /usr/lib/diald.ctl
My filter and diald.ctl are those provided with the diald distribution
TIA,
Tim G
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]