hello tim !
thanks for your reply !
Tim Coleman wrote:
>
>
> Did you try the defaultroute option to diald?
>
> Tim
yes, i did.
here's my config file:
<config>
mode ppp
connect "/usr/sbin/chat -v -f /etc/diald.chat"
fifo /etc/diald.ctl
device /dev/ttyS0
speed 115200
modem
lock
crtscts
local 192.168.200.210
remote 132.252.170.158
defaultroute
dynamic
include /usr/lib/diald/standard.filter
accounting-log /var/log/diald.log
</>
if i understand the manpage correctly, this option sets a default
route to the slip device when the link is not yet established. this
works. as soon as somebody sends a packet to a host outside the
local net, diald starts the connect script. but afterwards, there is
no longer a default route.
here is what happens to the route:
diald not started:
spunk:~ # rcroute status
192.168.200.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0
lo
diald started:
spunk:~ # rcroute status
132.252.170.158 0.0.0.0 255.255.255.255 sl0
192.168.200.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
default 0.0.0.0 0.0.0.0
sl0
now i have sent a trigger and diald
has established the connection:
spunk:~ # rcroute status
132.252.170.158 0.0.0.0 255.255.255.255 ppp0
192.168.200.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0
lo
the default entry is gone to the land where routing tables are
eternally blessed...
any ideas ?
btw, i got a message that my post was being archived.
i scanned the archive quickly, but i found no clue, except for the
problem with the missing tap devices.
anyway, i seem to have a slightly outdated version of diald
(0.99.1).
is it advisable to upgrade to 0.99.4 ?
yours,
j�rn
> --
> ------------------------------------------------------------------------
> Tim Coleman <[EMAIL PROTECTED]>
> Software Developer/Systems Administrator/RDBMS Specialist/Linux Advocate
> University of Waterloo Honours Co-op Combinatorics & Optimization
> "Go to Heaven for the climate, Hell for the company." -- Mark Twain
>
> --------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
--
J�rn Nettingsmeier
Kurf�rstenstr. 49
45138 Essen, Germany
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]