cmv has asked for the wisdom of the Perl Monks concerning the following question:
I have an Lenovo (IBM) Thinkpad T60, containing (among other things) an internal wired ethernet interface. My power management is such that when this machine is powered up on battery, with no ethernet connection, the network adapter is not powered up. When this happens, the device does not appear in the device manager, and I cannot query it for its MAC address as described in WIN32: Permanent & Current MAC Addresses.
Taking the laptop off of battery signals power management to change its policy, and the device is automatically powered up, even when still disconnected from the network. However, I need to be able to query for the MAC address at any time the machine is available.
How can I use perl to tell this machine to power-up the device for me, so I can get the MAC address?
Thanks
-Craig
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WIN32: How to power-up a device?
by mr_mischief (Monsignor) on Sep 26, 2007 at 17:48 UTC | |
by cmv (Chaplain) on Sep 26, 2007 at 18:48 UTC | |
by mr_mischief (Monsignor) on Sep 26, 2007 at 19:20 UTC | |
by cmv (Chaplain) on Sep 26, 2007 at 20:50 UTC | |
|
Re: WIN32: How to power-up a device?
by swampyankee (Parson) on Sep 26, 2007 at 16:31 UTC | |
by cmv (Chaplain) on Sep 26, 2007 at 18:34 UTC |