Question Locked

Getting WIndows XP to release DHCP IP address from WIFI adapter?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone know of a way to get windows XP to release the DHCP IP address off of a WIFI adapter when it looses connectivity with an access point? I have a broadband dialup adapater for a backup connection, but my routing table doesn't work unless the WIFI adapter lets go of the DHCP IP address after the SSID is no longer valid.

The WIFI is an Intel chipset, and it seems like it does work periodically, but not very often, for some reason.

Thanks for any replies!

5 replies

by maniacman

Perform an ipconfig /renew to get a new DHCP lease.

by khansen68

Thanks, but I need it to work on the fly so the user doesn't have to do this. It is in a mobile situation, so the user's vehicle is going to be roaming back and forth from the WIFI adapter to the broadband modem.

by maniacman

You may need a 3rd product for this, but as far as I know, I'm not sure there is an easy way to do what you suggest.

by khansen68

I wound up writing a perl script that runs in the background and polls the DGW of the WIFI TCP/IP stack, and if it is unavailble, releases the IP address of the WIFI adapater. I compiled it into an .exe and have a loop built in so that it sleeps and checks every "x" seconds.

If anyone is still watching this forum post and is interested in how I did it, I'd be happy to share it.

This discussion is closed to new replies.