This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Wake On LAN does not seem to work

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dolphs
NewUser
NewUser
Posts: 2
Joined: 26 Jun 2012 21:17
Status: Offline

Wake On LAN does not seem to work

Post by dolphs »

Hi, I am using nas4free ( NAS4Free-x64-LiveCD-9.0.0.1.141 ) and trying to configure the Wake on LAN feature for my interface:

ifconfig -m
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
capabilities=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:01:2e:38:c2:66
inet 192.168.1.15 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::201:2eff:fe38:c266%re0 prefixlen 64 scopeid 0x6
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
supported media:
media autoselect mediaopt flowcontrol
media autoselect
media 1000baseT mediaopt full-duplex,flowcontrol,master
media 1000baseT mediaopt full-duplex,flowcontrol
media 1000baseT mediaopt full-duplex,master
media 1000baseT mediaopt full-duplex
media 1000baseT mediaopt master
media 1000baseT
media 100baseTX mediaopt full-duplex,flowcontrol
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex,flowcontrol
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
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=3<RXCSUM,TXCSUM>
capabilities=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

from this overview WOL should work, so I configured three different ways to power on the system via wol: WOL_MAGIC, WOL_MCAST and WOL_UNICAST.
I tried them in different combinations ( Network-> LAN Management-> Wake on LAN ).

On > no boot ->> not working
WOL_MAGIC > no boot ->> not working
WOL_MCAST > no boot ->> not working
WOL_UNICAST > no boot ->> not working - all settings don´t wake up the box

From the FreeBSD WOL wiki it confirms the driver is supported (if_re).
Also I verified the Zotac NM10-DTX and enabled the Wake on LAN features on the mainboard. In fact it has been tested on this board an on win7 it works with current BIOS settings

1/
So - how can I power on the system with magic packet? :/ Any Ideas?
Most ideal would be if it wakes up from either an http request, ping or ssh

2/
Is there need to set the MTU for the re0:

re0: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebdfc00-0xfebdfcff irq 16 at device 11.0 on pci2
re0: Chip rev. 0x18000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
re0: Ethernet address: 00:01:2e:38:c2:66
re0: link state changed to UP

User avatar
rpj
Starter
Starter
Posts: 20
Joined: 26 Jun 2012 16:36
Location: Ile de France, France
Status: Offline

Re: Wake On LAN does not seem to work

Post by rpj »

I think probably you have problem with Port Forwarding in your router & firewall. Please note that if you have local network with two or more clients(computers or other machines) accessing network you have to configure your external ports to local machine so that each service functions. Here is an example for Netgear Router "http://kb.netgear.com/app/answers/detai ... figured%3F".
11.1.0.2 - Atomics x64-embedded sur AMD Athlon(tm) 64 Processor 3200+ :D

fritz
experienced User
experienced User
Posts: 84
Joined: 12 Dec 2012 16:40
Contact:
Status: Offline

Re: Wake On LAN does not seem to work

Post by fritz »

Hi,

I had exactly the same problem, I could solve the following way:
- make a backup of your config
- modify manually the LAN section of your config, so that it does not contain anymore the field related to the LAN advanced configuration (e.g. using notepad++):
(note: unfortunatelly, this cannot be done using the GUI directly)

After the change, you should have something like:

<lan>
<enable/>
<if>auto</if>
<ipaddr>dhcp</ipaddr>
<subnet>24</subnet>
<ipv6addr>auto</ipv6addr>
<ipv6subnet>64</ipv6subnet>
<media>autoselect</media>
<mediaopt/>
</lan>

- Restore your config

Hope it works for you.
O/S: NAS4Free 11.1.0.4 - Atomics (revision 5017) (Embedded 64bit), installed on 8GB USB flash drive
https://github.com/fritz-hh

Post Reply

Return to “LAN , Network controllers”