diald refusing to 'reroute'
"Mirco Ellis" <[email protected]> Wed, 9 Jul 2003 07:17:48 +0200
| Newsgroups | org.kernel.vger.linux-diald |
|---|---|
| Message-ID | <014b01c345d9$74ba1dc0$3697a8c0@MIRCO> |
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