diald refusing to 'reroute'
Thanks to your help my diald is up and running and it now dials out automatically. The problem I am experiencing now is that it is refusing to reroute the default connection to ppp0. The sl0 connection is being handed over to ppp0, but it is just not being set as the deafult gateway. In my network setup I have no default gateway set. In my /etc/ppp/options file I have no configurations added and left that all up to diald.conf, just like the man page tells you. In the syslog file I am receiving this " unknown option 'reroute' ". Here is my diald.conf file:
#diald.conf file for diald
#fifo /etc/diald/diald.ctl
debug 31
accounting-log /var/diald/log
mode ppp
device /dev/ttyS0
modem
speed 38400
crtscts
lock
connect /etc/diald/diald.connect
connect-timeout 60
dial-fail-limit 5
defaultroute
local 192.168.151.249
remote 192.168.151.250
dynamic
reroute
two-way
strict-forwarding
redial-timeout 10
pppd-options user "username"
include /usr/lib/diald/standard.filter
I have tried adding "/sbin/route add -net 0.0.0.0. dev $1" to the beginning of the ip-up script. This works, but as soon as the link is dropped diald doesn't pass back the default connection to sl0. Any ideas will be welcome.
Thanks
Mirco
Hi guys. Just thought I would let you know that I installed diald-1.01 and it sorted out all my problems.
Cheers
----- Original Message -----
From: "Mirco Ellis" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 09, 2003 7:17
Subject: diald refusing to 'reroute'
Quoted 49 lines
Thanks to your help my diald is up and running and it now dials out automatically. The problem I am experiencing now is that it is refusing to reroute the default connection to ppp0. The sl0 connection is being handed over to ppp0, but it is just not being set as the deafult gateway. In my network setup I have no default gateway set. In my
/etc/ppp/optionsfile I have no configurations added and left that all up to diald.conf, just like the man page tells you. In the syslog file I am receiving this " unknown option 'reroute' ". Here is my diald.conf file:#diald.conf file for diald
#fifo
/etc/diald/diald.ctldebug 31
accounting-log
/var/diald/logmode ppp
device
/dev/ttyS0modem
speed 38400
crtscts
lock
connect
/etc/diald/diald.connectconnect-timeout 60
dial-fail-limit 5
defaultroute
local 192.168.151.249
remote 192.168.151.250
dynamic
reroute
two-way
strict-forwarding
Quoted 7 lines
redial-timeout 10
pppd-options user "username"
include
/usr/lib/diald/standard.filterI have tried adding "
/sbin/routeadd -net 0.0.0.0. dev $1" to the
beginning
Quoted 2 lines
of the ip-up script. This works, but as soon as the link is dropped diald doesn't pass back the default connection to sl0. Any ideas will be
welcome.
Quoted 12 lines
Thanks
Mirco
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html