Red Hat Bugzilla – Bug 22994
Request DHCP restart after APM resume
Last modified: 2007-03-26 23:38:43 EDT
I use a laptop with RH6.2, with APM and a Cardbus ethernet card using DHCP via pump. Frequently, I move the laptop from one location at work to another, or home, and in between suspend the laptop using apm -s. Of course, when I resume, I'm plugged into a different ethernet connection which can even be on a different subnet. You should add functionality to your /etc/sysconfig/apm-scripts/apmscript script so that, if the machine is using DHCP, it shuts down the ethernet connection, and upon resuming, restarts the connection so it can get a new IP address automatically.
I can do this myself of course, but it seems like a good enhancement to make default behavior for all laptop users.