vk...@ex... wrote:
>> I've recently changed adsl service and my adsl modem and now have a
>> problem. If the adsl line goes down, which it does occasionally when it
>> feels the need to renegotiate the line rate, the DL network connection
>> is disrupted and doesn't recover without manual intervention.
> ....
>> My question is: has anybody else experienced this problem and is it a
>> reasonable way to work around it? Is there a better way?
>
> Not sure about a better way but I have the following script running as a
> minutely cron job:
It must be a better way because setting the client lease time doesn't
work! Well, it does the first time, then it reverts. However I just
reduced the DHCP lease time in the modem which essentially the same.
That does work; it means the network is down for up to half an hour but
I think I can live with that.
Thanks for your script. Unfortunately as my modem handles the ppp
encapsulation (and my ISP uses pppoa) using the pppoe scripts is not a
possibility.
Dick
|