DHCP Renew Issue Mandrake 10
Been having an issue with my Mandrake 10 firewall running on a Wireless ISP connection. Periodically the firewall looses it's DHCP address from the ISP and it's almost impossible to get it to renew. Doing and ifconfig eth0 down and the a up doesn't renew the address, nor does running the network interface configuration again. A reboot is the only thing I have found thus far that does it.
In my Mandrake 10 box I have 2 ethernet cards. Eth0 goes to a Linksys WET 11 bridge that connects to an antenna for my ISP connection. Thus it handles all the wirless configuration portion but is transparent as far as addressing is concerned. Some one mentioned doing a /etc/rc.d/init.d/network restart command to bring that back up. I havn't had the chance to try that yet to see if would work but isn't that command that same kind of thing the Network configuration manger does at the end?
My thought was that maybe the card is trying to renew the address but a time period for a reponce has timmed out and so it gives up. If there is such a thing then maybe changing that setting to constantly attempt to renew untill it gets a responce would work.
If their isn't an option to have it attempt to renew indefinatly and doing a network restart does how would somone get that to run automatically? Right now I'm away from home and my connection has failed in this way. Is there a good script that you could use to detect if you have an active connection to the ISP gateway and if not to try some kind of reset command(s) to bring it back up?
|