TheBlueKingLP Posted December 6, 2017 Share Posted December 6, 2017 How to setup wol to boot unraid remotely? MB: Asus rampage v edition 10 Router: RT-N10E Quote Link to comment
Zonediver Posted December 6, 2017 Share Posted December 6, 2017 (edited) This depends on your Router. WOL-Pakets using port 9 and are designed for LAN usage only and will not be routed. If this packet comes over port 9 to the WAN-Port, the router will drop it. BUT... If your Router can handle this, you can also WOL over the inet. This is called WOW - Wake On WAN. Its a little bit complicated to explain this procedure because it depends on your router, how to set it up. Short discription: You must send a "broadcast" (important!) from inet to your router over a various port (say, port 50000) - DONT USE port 9! Then the router must take this packet coming from port 50000 and send it now over port 9 to the proper ip address in your LAN. Therefor i use a firewall-rule at my IPFire-router which sends the paket coming from port 50000 to my unraid-ip port 9. Again: The Router "must be able" to forward a paket from one port to an other (in this case from port 50000 to port 9). The problem: 1) Not all routers will do this 2) The config for this "game" is not defined as a "standart" so it depends on your router model, how it will go - or not. Example from the tool "wolcmd" for Windows, written in a bat-file, which sends the packet to the router: wolcmd FFFFFFFFFFFF xxx.xxx.xxx.xxx 255.255.255.255 50000 The 12 "F" are the MAC-address of your unraid-server, the "X" are your WAN IP (or the WAN-IP of your router), then comes the broadcast address (4x 255) and then the port. This *.bat file must be stored on the (Windows)client, which shall wake up unraid from the inet. You can also use Android for this, if you like. I use the App "Wake on Lan Wan" https://play.google.com/store/apps/details?id=com.benfinnigan.wol Edited October 20, 2019 by Zonediver 1 Quote Link to comment
TheBlueKingLP Posted December 6, 2017 Author Share Posted December 6, 2017 Does the wake on lan function turn on the server if the unRAID is completely shutdown? Quote Link to comment
Zonediver Posted December 6, 2017 Share Posted December 6, 2017 (edited) Depends on the Settings at the Mainboard-BIOS - if all is correct, then yes. But i am confused now. You mentioned WakeUp remotely (WOW) and then you talk about WakUp in your LAN (WOL). So what is the purpose now? Edited December 6, 2017 by Zonediver Quote Link to comment
TheBlueKingLP Posted December 6, 2017 Author Share Posted December 6, 2017 1 hour ago, Zonediver said: Depends on the Settings at the Mainboard-BIOS - if all is correct, then yes. But i am confused now. You mentioned WakeUp remotely (WOW) and then you talk about WakUp in your LAN (WOL). So what is the purpose now? I want to able to wake(boot) my unRAID server when I am on the same LAN or Remotely. Am I only need to enable the PCI-E Wake option to use WOL/WOW? Quote Link to comment
Zonediver Posted December 6, 2017 Share Posted December 6, 2017 If you do this only on LAN, its not remotely - Wake on WAN is remotely. For the Setting in the BIOS you need to set the Wakeup-Event ether from PCI/PCIe Event or over NIC/LAN Event. Quote Link to comment
TheBlueKingLP Posted December 6, 2017 Author Share Posted December 6, 2017 6 hours ago, Zonediver said: If you do this only on LAN, its not remotely - Wake on WAN is remotely. For the Setting in the BIOS you need to set the Wakeup-Event ether from PCI/PCIe Event or over NIC/LAN Event. I enabled Power on by pci-e/pci option,but it is not booting when i send the magic packet in the same lan and remotely Quote Link to comment
Zonediver Posted December 7, 2017 Share Posted December 7, 2017 5 hours ago, TheBlueKingLP said: I enabled Power on by pci-e/pci option,but it is not booting when i send the magic packet in the same lan and remotely Then there is something wrong. All of my PCs (with ASUS and ASRock Boards) are booting when i send the Magic Paket over WOL. So check again your settings. Quote Link to comment
TheBlueKingLP Posted December 7, 2017 Author Share Posted December 7, 2017 (edited) 4 hours ago, Zonediver said: Then there is something wrong. All of my PCs (with ASUS and ASRock Boards) are booting when i send the Magic Paket over WOL. So check again your settings. What could be wrong?I have Power On By PCI-E/PCI enabled. Do I need to change something in unRAID setting? Edited December 7, 2017 by TheBlueKingLP add stuff Quote Link to comment
Fireball3 Posted December 7, 2017 Share Posted December 7, 2017 The BIOS setting affects only the onboard NIC. If you're using an add-on card it might not work. Also the unRAID server has to run once because the router needs to learn his MAC/IP. Quote Link to comment
TheBlueKingLP Posted December 7, 2017 Author Share Posted December 7, 2017 2 minutes ago, Fireball3 said: The BIOS setting affects only the onboard NIC. If you're using an add-on card it might not work. Also the unRAID server has to run once because the router needs to learn his MAC/IP. I am using the onboard NIC. Do I need to power it on every time after I power cycled my router? Quote Link to comment
Fireball3 Posted December 7, 2017 Share Posted December 7, 2017 35 minutes ago, TheBlueKingLP said: Do I need to power it on every time after I power cycled my router? No, only if you interrupt the mains to the machine or in case you reboot your router. I just checked the manual of your board. For me, it's not so clear if the option PCI-e/PCI includes the NIC. Quote Link to comment
Fireball3 Posted December 7, 2017 Share Posted December 7, 2017 (edited) Maybe you can check if this post offers a solution for you? https://rog.asus.com/forum/showthread.php?2668-Wake-On-Lan-Maximus-IV-Extreme&p=55088&viewfull=1#post55088 It seems there is one more option you need to set. Sounds like it is a windows specific setting... Is your WOL packet send correctly? Have you tried another tool/app? I'm also using the Ben Finnigan's app on my mobile - works perfect. Windows clients may have firewall issues you need to take care of first. one last edit: Some routers offer to wake up clients from within their GUI. Not practical, but interesting for testing. Edited December 7, 2017 by Fireball3 Quote Link to comment
TheBlueKingLP Posted December 8, 2017 Author Share Posted December 8, 2017 20 hours ago, Fireball3 said: No, only if you interrupt the mains to the machine or in case you reboot your router. I just checked the manual of your board. For me, it's not so clear if the option PCI-e/PCI includes the NIC. The light of the onboard NIC is orange,thats mean it has connection to the router. 20 hours ago, Fireball3 said: Maybe you can check if this post offers a solution for you? https://rog.asus.com/forum/showthread.php?2668-Wake-On-Lan-Maximus-IV-Extreme&p=55088&viewfull=1#post55088 It seems there is one more option you need to set. Sounds like it is a windows specific setting... Is your WOL packet send correctly? Have you tried another tool/app? I'm also using the Ben Finnigan's app on my mobile - works perfect. Windows clients may have firewall issues you need to take care of first. one last edit: Some routers offer to wake up clients from within their GUI. Not practical, but interesting for testing. I've tried 3 wol apps,but none of those worked.and my router doesn't have wol within the gui Quote Link to comment
TheBlueKingLP Posted December 8, 2017 Author Share Posted December 8, 2017 (edited) WOL worked after I change it to send the pakcet to 10.255.255.0 but I still can't use wol remotely Edited December 8, 2017 by TheBlueKingLP Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.