Hoo to execute scripts when awaking from suspend-to-RAM?



Is there a way (filename / specific directory location / registry entry / whatever...) where one can hook in some batchfiles that one wants to be executed whenever the system awakens from a suspend (to RAM)? My laptop obviously doesn't get it when I suspend, disconnect and then connect and awake it attached to a different network.

It always retains its old IP address which then of course causes all connection attempts to fail before I issue yet another ipconfig /release & ipconfig /renew. This tends to get a bit tedious so I would like to automatize this...

Beats me, why on some networks it recognizes a network change IMMEDIATELY while on some others NEVER...

Michael

.



Relevant Pages

  • Re: Wireless Internet Connection - Not working
    ... "Host name" in the output of ipconfig /all is the name of the local host computer on which you just ran ipconfig. ... The results of your ipconfig command verify what the earlier error message said -- your laptop is not able to connect with the DHCP server in the router, and therefore is not obtaining an IP address for your local network. ... The particular wifi adapter chip you have, Realtek RTL8187, can be packaged either as a USB "dongle" or built-in to your laptop. ...
    (microsoft.public.windowsxp.network_web)
  • Re: FC6 ipw3945 on Dell D820 not working. Whats the best way?
    ... For F7 to suspend, see http://people.freedesktop.org/~hughsient/quirk/ and do ... There seems to be several ways: the iwl* packages, the ipw* packages, ... This is an expensive laptop! ... If the network comes up and the ipw3945d is not ...
    (Fedora)
  • RE: DHCP Client Problem
    ... ipconfig /release ... "Steve Louie" wrote: ... My laptop connected to a Windows SBS 2003 network with DHCP server ...
    (microsoft.public.windows.server.networking)
  • Re: Can not logon cause physical address change
    ... I have found out today that the M.A.C. Or physical address of my laptop was ... So I deleted the reserviced IP lease for my laptop on the DHCP server & ... I tryed to run ipconfig /release then ipconfig /renew no help or I could ... contact your isp or network administrator. ...
    (microsoft.public.windows.server.networking)
  • Re: ME laptop wont connect with network
    ... >Below is the IPconfig info on the 4 computers in our home ... My wife returned with her ME laptop (which had ... >previously worked fine on the network but not with the new ... >was the state in which I just ran ipconfig. ...
    (microsoft.public.windowsxp.network_web)

Loading