Login    Register

WOL - How to detect magic packets are being received

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
NAS4Free Official SiteSet-Up GuideFAQsForum Rules
  • Author
    Message

WOL - How to detect magic packets are being received

Postby y272nly » 26 Jun 2013 20: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 !
NewUser
y272nly
 
Posts: 2
Joined: 24 Jun 2013 08:09

Re: WOL - How to detect magic packets are being received

Postby y272nly » 26 Jun 2013 20:22

Does the server have to be shutdown in a certain way (ie, put to sleep?)
The only shutdown option I see is "Shutdown Server" which perhaps is the issue ?

The computer to be awakened is shutdown (sleeping, hibernating, or soft off; i.e. - ACPI state G1 or G2), with power reserved for the network card, but not disconnected from its power source. The network card listens for a specific packet containing its MAC address (called the magic packet), broadcast on the broadcast address for that particular subnet (or an entire LAN, though this requires special hardware or configuration).

I cant see that in NAS4FREE that ACPI capability is actually enabled. And therefore WOL support is futile. Has anyone ever got this working on this OS ?
NewUser
y272nly
 
Posts: 2
Joined: 24 Jun 2013 08:09

Re: WOL - How to detect magic packets are being received

Postby b0ssman » 27 Jun 2013 08:19

check the bios if wake from pcie is enabled
Nas4Free 9.1.0.1.573. ASUS - P8H61-M, 8gb G.Skill Sniper-ULV, i5 2500k, Intel 1Gbit Pcie Network, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
Forum Moderator
b0ssman

User avatar
 
Posts: 1832
Joined: 14 Feb 2013 07:34
Location: Munich, Germany

Re: WOL - How to detect magic packets are being received

Postby pozz » 15 Jul 2013 07:34

I have the same problem with the same hw. I couldn't found a way to use WoL with HP Microserver internal NIC and NAS4Free.

It seems the only solution is to add a new PCIe Ethernet card with WoL support. I hope someone can give us help to solve the problem.
PowerUser
pozz
 
Posts: 36
Joined: 03 May 2013 21:46

Return to LAN , Network controllers

Who is online

Users browsing this forum: No registered users and 3 guests