On Tue, 1 Jun 1999, Mark Bergsma wrote:
> 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:
> [...]
> 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).
If the proxy device and the real device are the same you never
need to change the routes - you just need to have the underlying
link connect and hangup as necessary.
> #! /bin/sh
> # Diald ifsetup script
>
> if [ $1 = "start" ]; then
> if [ $2 = "link" ]; then
> isdnctrl dial $3
> fi
> elif [ $1 = "stop" ]; then
> if [ $2 = "link" ]; then
> isdnctrl hangup $3
> fi
> fi
Mike
--
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: [EMAIL PROTECTED] |
| 280, Silverdale Road, Earley, | Voice: +44 118 926 6996 |
| Reading RG6 7NU ENGLAND | Work: +44 118 989 0403 |
`----------------------------------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]