On Wed, 11 Aug 1999, Mathieu Clabaut wrote:
> Did someone successed in using diald with syncppp (i.e., using "isdnctrl dial
> ippp0" for the connect script and "isdnctrl hangup ippp0" for the disconnect
> script plus somme addroute and delroute scripts).
Yes...
> My problem is how can diald get back the dynamic IP (only ipppd nows them) to
> give them to the addroute scripts ?
If you are using diald 0.99.1 the code to handle mode dev will
lift the addresses off the device just like mode ppp. The trick
is to make sure your connect script doesn't exit until you have
valid addresses. One way of doing this is to have your disconnect
script set the interface address to 0.0.0.0 (or some other known
value) and have your connect script watch for the address being
set.
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]