WOL - How to detect magic packets are being received
Posted: 26 Jun 2013 22:15
Wondering if you can help me with an issue with the WOL feature in release "9.1.0.1 - Sandstorm (revision 775)"
I have a brand new and currently empty HP Microserver N54L installed thus :
NAS4Free 9.1.0.1 (revision 775) x64-embedded; HP ProLiant AMD Turion(tm) II Neo N54L Dual-Core Processor 1920MiB RAM
The BIOS has the WOL setting as enabled/true.
The ifconfig -m shows "WOL_MAGIC" in the list of aliases on the only installed ethernet card (bge0) :
==============================================
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether <masked_for_obvious_reasons>
inet 192.168.0.111 netmask 0xfffffe00 broadcast 192.168.1.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
==============================================
When I send a magic packet on my network, I can see that windows PC's can detect the message as being sent, but it doesn't wake the server.
Is there a tool that can be installed on an active NAS4FREE service that can also detect if a packet has been sent (and that matches its MAC Address would be a bonus) ?
From this I can rule out if there is a local network/routing issue and then focus attention on why the card is not being put to sleep in the correct state.
Any help appreciated. I'm relatively experienced with linux and windows, but when it comes to network hardware drivers, I'm a bit lost !
I have a brand new and currently empty HP Microserver N54L installed thus :
NAS4Free 9.1.0.1 (revision 775) x64-embedded; HP ProLiant AMD Turion(tm) II Neo N54L Dual-Core Processor 1920MiB RAM
The BIOS has the WOL setting as enabled/true.
The ifconfig -m shows "WOL_MAGIC" in the list of aliases on the only installed ethernet card (bge0) :
==============================================
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether <masked_for_obvious_reasons>
inet 192.168.0.111 netmask 0xfffffe00 broadcast 192.168.1.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
==============================================
When I send a magic packet on my network, I can see that windows PC's can detect the message as being sent, but it doesn't wake the server.
Is there a tool that can be installed on an active NAS4FREE service that can also detect if a packet has been sent (and that matches its MAC Address would be a bonus) ?
From this I can rule out if there is a local network/routing issue and then focus attention on why the card is not being put to sleep in the correct state.
Any help appreciated. I'm relatively experienced with linux and windows, but when it comes to network hardware drivers, I'm a bit lost !