On Sun, 30 Jan 2005 17:22:14 GMT, William Gill wrote:
> Am I wrong in assuming that if the adsl connection goes
> down for whatever reason and has to reestablish itself, the DHCP IP may
> change? If so, shouldn't I create a cron file to test for the change and
> rerun the firewall script accordingly?
Please read
http://www.catb.org/~esr/faqs/smart-questions.html
Always provide distribution, release, and if Mandrake, community,
official, cooker, when posting questions.
It could help you get better answers.
If using dhclient, on Mandrakelinux 10.x you can create a
/etc/dhclient-exit-hooks scrip to do whatever you like.
Example script found here.
Please bookmark the following, very large,
Frequently Asked Questions (faq) Search engine:
http://groups.google.co.uk/advanced_group_search
dhclient-exit-hooks in the first box
bit twister in the Author box
*linux* in Newsgroup box. You need to use the two
asterisks around linux, pick English
If you want/need more control over the first box search,
http://www.google.com/help/refinesearch.html