Wake on lan not working
Hello, everyone, I am having issues with my fog server. I am not sure if wake on LAN it is set up on the server. I work for a school district supporting 5 schools and I would like to set up FOG to deploy images from my desk instead of going to each school and going computer by computer. I hope this is possible if not its not the end of the world it just saves time to work on other things. Thank you if anyone is able to help.
@JimmyJ0516 Definitely an issue of sending Wake On LAN packets across VLANs and all that. We talked on chat. Not sure yet if the switches used (Cisco Meraki MS-350) can do something like “UDP-helper”, directed broadcasts or call it whatever you like. At least I have not found and details yet.
@Sebastian-Roth @Wayne-Workman First of all Thank you very much for assisting me through all of this. I am currently running FOG on a Hyper V VM. Each of them are on different VLANs they connect through fiber on a Meraki Switch.
@JimmyJ0516 Can you please elaborate more on how your setup looks like? Is FOG installed on a physical server or VM? What kind of server/VM hypervisor? What does your network look like is it one big subnet for all five schools or different subnets maybe VLANs or even routers in between?
As a first test I would connect a client as close to your FOG server as possible, right on the same switch if you can. Now try etherwake as suggested by Wayne. Make sure you use the correct client MAC address. Possibly take a picture of the command and output and post here.
@Wayne-Workman Hi Wayne I finally got around to try the link you sent me but I had no luck.
@Wayne-Workman thank you I will try this sorry for the late response. I am busy doing a last minute Rack install with switch upgrades so that is currently taking up most of my time before the school year starts. I will get back to you once i test thank you very much again i really appreciate it
@JimmyJ0516 Try to follow this: https://www.cyberciti.biz/tips/linux-send-wake-on-lan-wol-magic-packets.html
You’ll need to install etherwake.
I’m going to try to address this more in-depth when I get home.
@Wayne-Workman is this what I should get from the CLI commands?
root@HAW-FOG-01:~# ethtool eth0 | grep wake-on
root@HAW-FOG-01:~# ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Duplex: Unknown! (255)
Link detected: yes
also another thing I just came to my mind. this will not work if there are VLANs established?
@JimmyJ0516 So if the CLI does not work for WOL of some system on your network, then you are having network problems, not fog problems. This is because these CLI commands you’re following do not involve FOG, all they involve is Linux and your network.
@Wayne-Workman I did that as well and once I enter that command nothing happened. so I’m assuming it enabled it ??? but when I check the eth0 settings WOL is not on there.
@JimmyJ0516 where it says
interfaceyou need to replace that with your actual interface. use
ip addr listto get a list of them. Typical names are like
enp0s1or similar. Google search: “linux network interface names” for learnings.
@Wayne-Workman So I just installed ethtool and tried this command
ethtool interface | grep wake-on
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
and these are my results
I have tried it and it just brings me to a FOG window and it is just blank.
If that doesn’t work, try this from the CLI: