Wake on Lan not working

    • OMV 1.0
    • Resolved
    • Wake on Lan not working

      I'm desperate. First of all, I'm no Linux-Expert. I installed OMV 0.6 and except some troubles with the NIC driver in the beginning, everything worked as expected.

      But after upgrading to OMV 1.0 I can't get WOL to work.

      I tried every possible solution I could find but nothing worked.



      Motherboard and NIC: ASROCK Z87E-ITX with Intel NIC I217-V

      Brainfuck Source Code

      1. Interface information eth0:
      2. ===========================
      3. Settings for eth0:
      4. Supported ports: [ TP ]
      5. Supported link modes: 10baseT/Half 10baseT/Full
      6. 100baseT/Half 100baseT/Full
      7. 1000baseT/Full
      8. Supported pause frame use: No
      9. Supports auto-negotiation: Yes
      10. Advertised link modes: 10baseT/Half 10baseT/Full
      11. 100baseT/Half 100baseT/Full
      12. 1000baseT/Full
      13. Advertised pause frame use: No
      14. Advertised auto-negotiation: Yes
      15. Speed: 1000Mb/s
      16. Duplex: Full
      17. Port: Twisted Pair
      18. PHYAD: 2
      19. Transceiver: internal
      20. Auto-negotiation: on
      21. MDI-X: on
      22. Supports Wake-on: pumbg
      23. Wake-on: g
      24. Current message level: 0x00000007 (7)
      25. drv probe link
      26. Link detected: yes
      27. --------------------------------------------------------------------------------
      28. Driver information eth0:
      29. ========================
      30. driver: e1000e
      31. version: 2.3.2-k
      32. firmware-version: 0.13-4
      33. bus-info: 0000:00:19.0
      34. supports-statistics: yes
      35. supports-test: yes
      36. supports-eeprom-access: yes
      37. supports-register-dump: yes
      38. supports-priv-flags: no
      Display All



      WOL in Bios is activated, WOL in Openmediavault Network Interfaces is enabled. MAC Address is right.


      What I tried so far

      - Updated nic drivers to newest version (downloadmirror.intel.com/15817/eng/e1000e-3.1.0.2.tar.gz)
      - Deactivated Deep Sleep in bios
      - CMOS reset
      - Installed Backports Kernel through OMV Extras

      Source Code

      1. /etc/network/interfaces
      2. added:
      3. pre-up ethtool -s $IFACE wol g
      4. up ethtool -s $IFACE wol g
      5. I tried both commands with $IFACE variable and eth0


      Source Code

      1. /etc/init.d/halt
      2. NETDOWN=no


      Source Code

      1. /etc/rc.local
      2. added:
      3. /sbin/ethtool -s eth0 wol g



      Of course I rebooted after every change I made, then shutdown and tried to wake up again. Nothing works.

      I really hope someone can help me.

      The post was edited 1 time, last by Mista ().

    • What do you mean by live system?

      I can wake up my Intel NUC and my PC using an Android App in my LAN, but not the NAS with OMV. The NUC is supposed to wake up the NAS as it starts, but that's not working anymore. (Neither is the App or using a Tool called "WakeOnLan" on PC)
    • In your powered on omv issue the following command in the shell

      tcpdump -i eth0 'port 9' -vvv

      Then from a linux or windows machine inside your lan fire the magic packet
      You should see something like this in the tcpdump command

      Source Code

      1. 17:10:31.040415 IP (tos 0x0, ttl 64, id 63545, offset 0, flags [none], proto UDP (17), length 130)
      2. mbp.lan.56600 > 255.255.255.255.discard: [udp sum ok] UDP, length 102
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Got the same result as you:

      Source Code

      1. tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
      2. 22:54:59.941388 IP (tos 0x0, ttl 128, id 2261, offset 0, flags [none], proto UDP (17), length 130)
      3. mypc.discard > 255.255.255.255.discard: [udp sum ok] UDP, length 102
    • No network problems then.

      Try to suspend to ram the machine, and test again from Lan.

      If it doesn't work, I would then try to use the backports kernel from omv-extras. It has updated drivers, better compatibility for newer hardware.
      Or get the latest driver from intel and build that driver.
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Sorry somehow forgot about the thread.

      I did install the 3.14 Backports Kernel as mentioned, but didnt notice there was a newer kernel available.

      I installed 3.16 and now it's working like a charm. Still curious why it wasn't working but on the other hand I'm happy I can use the WOL feature again.
    • Mista wrote:

      Still curious why it wasn't working but on the other hand I'm happy I can use the WOL feature again.

      Maybe the new Kernel has new/better/other drivers for your NIC
      "Glowing days. Don't cry because they are over. Smile because they happened." - Confucius

      Server: 1x 32GB SSD (system) - 5x 2TB Data - 1x 2TB Snapraid-Parity - latest OMV 1.x
      No Support through PM
      Tutorials --- Howto install OMV-Extras --- Upgrade/Update-Problems --- If autoshutdown doesn' -work