Wake On LAN Query

hi all,

I have a problem in identifying which of my adapters is connected to the
WOL socket on the motherboard.

I have two adapters installed on a system and i connect one of these
onto the motherboard WOL socket, how do i identify which of my cards was
connected and how do i get its MAC address?

Will Windows provide this information somewhere or through some API?
This information is to be obtained from user mode application.

Thanks in advance.

Sriram


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I think not.

BTW - the very existence of the WOL socket seems to be a strange thing, since one of the pins of the PCI slot is called PME and
serves exactly the same purpose.
Standby power is also on PCI.

Strange that mobo/NIC manufacturers bother with an extra socket or wire instead of using the PCI’s capability.

Max

----- Original Message -----
From: “Sriram Narasimhan”
To: “NT Developers Interest List”
Sent: Saturday, December 08, 2001 1:12 PM
Subject: [ntdev] Wake On LAN Query

> hi all,
>
> I have a problem in identifying which of my adapters is connected to the
> WOL socket on the motherboard.
>
> I have two adapters installed on a system and i connect one of these
> onto the motherboard WOL socket, how do i identify which of my cards was
> connected and how do i get its MAC address?
>
> Will Windows provide this information somewhere or through some API?
> This information is to be obtained from user mode application.
>
> Thanks in advance.
>
> Sriram
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

hi,

Thank you for the information.

If i shutdown an adapter with WOL support on, the driver stays up though the system is shutdown.

  1. I send a ‘Magic Packet’, how will i identify if the if the adapter woke up the system using the PCI PME signal or using the
    WOL socket on the motherboard. ( unplug the cable that connects to the mother board :slight_smile: ?? )…but i want to know what would really
    happen if both are there.
  2. If its using the PCI PME signal, then is there an event that is generated that is broadcast to Windows ?
  3. If a driver must be implemented to broadcast the event to windows, then can i register a Windows service, that will recieve
    the event ?
  4. And how do i obtain the mac address of the adapter…is using the snmp services the only option.

I am sorry if the question(s) are not related to drivers, but i would like to know how the driver would respond to a ‘Magic Packet’
if the driver was implemented by any of you.

Thanks for the answers in advance.
And a special thanks to “Maxim S. Shatskih” for responding to my query.

Sriram

“Maxim S. Shatskih” wrote:

I think not.

BTW - the very existence of the WOL socket seems to be a strange thing, since one of the pins of the PCI slot is called PME and
serves exactly the same purpose.
Standby power is also on PCI.

Strange that mobo/NIC manufacturers bother with an extra socket or wire instead of using the PCI’s capability.

Max

----- Original Message -----
From: “Sriram Narasimhan”
> To: “NT Developers Interest List”
> Sent: Saturday, December 08, 2001 1:12 PM
> Subject: [ntdev] Wake On LAN Query
>
> > hi all,
> >
> > I have a problem in identifying which of my adapters is connected to the
> > WOL socket on the motherboard.
> >
> > I have two adapters installed on a system and i connect one of these
> > onto the motherboard WOL socket, how do i identify which of my cards was
> > connected and how do i get its MAC address?
> >
> > Will Windows provide this information somewhere or through some API?
> > This information is to be obtained from user mode application.
> >
> > Thanks in advance.
> >
> > Sriram
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
> —
> You are currently subscribed to ntdev as: xxxxx@tataelxsi.co.in
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> 2. If its using the PCI PME signal, then is there an event that is generated that is broadcast
to Windows ?

  1. If a driver must be implemented to broadcast the event to windows, then can i register a

This thing is called wait/wake, read the DDK chapter on PnP for general theory and pay attention to PnP-related NDIS stuff.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com