If anyone can help me I would greatly appreciate it.
I am using redhat 6.1 and I am also using diald 0.99.4
In my logs I get this
Serial connection established.
Apr 30 17:06:28 ssl pppd[7025]: Using interface ppp0
Apr 30 17:06:28 ssl pppd[7025]: Connect: ppp0 <--> /dev/ttyS1
Apr 30 17:06:30 ssl pppd[7025]: not replacing existing default route to sl0
[0.0.0.0]
Route yields this before I run diald
Destination Gateway Genmask Flags Metric Ref Use
Iface
141.207.152.9 * 255.255.255.255 UH 0 0 0 eth0
141.207.152.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
After I run diald route yields
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
default * 255.255.255.255 UH 1 0 0 sl0
141.207.152.9 * 255.255.255.255 UH 0 0 0 eth0
141.207.152.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 1 0 0 sl0
I then ping someplace on the internet and the route looks like this
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
default * 255.255.255.255 UH 1 0 0 sl0
207.47.142.3 * 255.255.255.255 UH 0 0 0 ppp0
141.207.152.9 * 255.255.255.255 UH 0 0 0 eth0
141.207.152.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 1 0 0 sl0
It just doesn't replace the default route. Is there something I can place in
my scripts to set the route properly or am I missing something in my
diald.conf??? I know that the script I have "ppp-on" works because I can
dial out normally without using diald to invoke the script. If I add in the
command "route add default ppp0" at the command line after it starts the
machine does sned packets over the link link but then diald does not see the
fact that there are packets flowing and disconnects the ppp link.
This is my diald.conf file.
# /etc/diald.conf
# restart on any change
# you will have to change at least these to fit your system:
mode ppp
modem
crtscts
defaultroute
lock
disconnect /bin/true
connect /etc/ppp/ppp-on
device /dev/ttyS1
speed 57600
local 0.0.0.0
remote 0.0.0.0
netmask 255.255.255.0
#two-way
dynamic
#mtu 552
# these are the paths used by Caldera OpenLinux:
fifo /etc/diald/diald.ctl
accounting-log /var/log/diald
path-route /sbin/route
path-ifconfig /sbin/ifconfig
path-pppd /usr/sbin/pppd
path-bootpc /sbin/bootpc
ip-up /etc/ppp/ip-up
ip-down /etc/ppp/ip-down
#------
#include /usr/lib/diald/standard.filter
accept any 600 any
Judge's Chambers.gif