Wake on lan not working
-
@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 deviceand these are my results
-
@JimmyJ0516 where it says
interface
you need to replace that with your actual interface. useip addr list
to get a list of them. Typical names are likeeth0
orenp0s1
or similar. Google search: “linux network interface names” for learnings. -
@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 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 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
Speed: 10000Mb/s
Duplex: Unknown! (255)
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
root@HAW-FOG-01:also another thing I just came to my mind. this will not work if there are VLANs established?
-
I’m going to try to address this more in-depth when I get home.
-
@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. -
@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
-
@Wayne-Workman Hi Wayne I finally got around to try the link you sent me but I had no luck.
-
@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.
-
@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 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.