WOL configuration

  • Hi, I'd like to set this up however I'm unsure as to what the settings represent. I am meant to specify a MAC address and an IP address. Is this the MAC and IP of the interface on the OMV server that should be enabled with WOL, or is it a remote device that is allowed to request WOL to the server?


    Thanks

  • Having done some homework I'm sure that one part of the WOL allows the OMV system to send magic packets to another host. And another part allows for putting the machine into a sleep state (probably S5) so it can respond to a magic packet and restart.

  • I want to achieve Wake On LAN on my OMV server using the OMV plugin in the library. This means I can send a magic packet to the server and wake it.


    When I installed the plugin the first option is to 'create'. Under this option there are three fields - Name, MAC address, IP address.


    Because there isn't any documentation I was not aware what these fields represent, it turns out they are used to send magic packets to a remote host, rather than configure WOL on the local OMV host. I suspect that the subsequent option 'Schedule rtcwake' may allow me to put the local OMV machine (that I am interested in configuring) into S5 state and then use another remote device to trigger WOL to the local OMV host.


    In absence of documentation I am trying to figure out what I need to do to achieve this. I have read there may be some further steps required in the BIOS, or potentially in a network configuration file in Debian, but I haven't reached that stage yet.


    Hopefully the OMV plugin configuration will do everything I need it to do.

  • Or alternatively if I can configure something in Debian to do this, in a network configuration file then perhaps that is the correct way and the plugin is not needed or is for different purpose?

    • Official Post

    In Network >> Interfaces >> Edit you can enable WOL.


    Then just use Shutdown from the GUI or from Power Management >> Scheduled Tasks to shutdown the server.


    Then you should be able to reboot the server (OMV) by sending a magic package.

  • Okay thanks it is enabled I also checked ethtool which confirms WOL is enabled, however it doesn't work when sending a magic packet to the server when it has been shutdown. I guess next check is to look at the BIOS under ACPI configuration?


    :/etc/network/interfaces.d# ethtool enp2s0 | grep Wake*

    Supports Wake-on: pumbg

    Wake-on: g

  • My WOL app can see the server as awake but it seems packets sent to shut the server or reboot aren't actioned. I guess it must be the BIOS. Will check that next and if that doesn't work I guess I'll have to do a TCPDUMP or check some logs on the server.

  • So BIOS setting for PCIE needed enabling and WOL works with booting up the server now, however shutting or restarting the server doesn't work using a magic packet. Perhaps there is another BIOS setting or configuration needed?

  • On my WOL app on my phone there are options to 'shutdown' 'reboot' 'sleep' and 'lock'. Perhaps these are Windows functions, it doesn't matter I have the WOL working which is great!


    Many thanks

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!