Hello,

When I noticed that diald 0.99 includes an option for using an ISDN device
as the proxy interface, I decided to try to use that instead of slip /
ethertap. (ipppd interfaces also exist when there's no connection, so it
should be possible, like the CHANGES file says, to use them if you have
ISDN.)

Because I didn't want any rerouting to be done by diald (because it is
unnecessary: the proxy device is the same as the link device), I used the
new ifsetup option to do all the work:

#! /bin/sh
# Diald ifsetup script

if [ $1 = "start" ]; then
        if [ $2 = "proxy" ]; then
                route add default $3
        elif [ $2 = "link" ]; then
                isdnctrl dial $3
        fi
elif [ $1 = "stop" ]; then
        if [ $2 = "proxy" ]; then
                route del default $3
        elif [ $2 = "link" ]; then
                isdnctrl hangup $3
        fi
fi


As you can see, the only routing done is at the start and end of diald, to
set (and remove) the default route to the ipppd proxy device (ippp1).

This works fine, but when a connection is established, the default route
has disappeared. As this is not caused by "isdnctrl dial ippp0", I think
this is caused by diald when it is switching the ippp1 device from a proxy
to the real link.

I solved this by adding a "route add default ippp1" to my /etc/ppp/ip-up
script, but I don't like this solution, because there is a short period
of time with no default route. I have not experienced any problems with
it, but I still think it would be better if the default route would stay
consistent all the time.

Is there anyone who has experimented with this new option as well?

Mark

[EMAIL PROTECTED]
- Linux 2.2.9 on an i686/160MB


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to