Article 53B9Z Wake On Lan not working in CentOS7

Wake On Lan not working in CentOS7

by
somethingsomethingsmthn
from LinuxQuestions.org on (#53B9Z)
Hi,

I just finished setting up wake on lan on a couple other computers with different OS's but this is my first time trying with linux and I'm stuck. I've read through tons of posts and articles but no luck.

So far I know that I have wake on lan enabled on my ethernet card and in my bios. When I use "ethtool enp2s0 | grep Wake-on" it shows that wake on lan is set to G. I enabled the PME option in my motherboard and extensively checked through the settings and I'm sure it's enabled there as well.

I believe my ethernet is being powered down and that's probably what the issue is. I tried to disable any form of EEE ethernet but my network card doesn't even show the option to support it. I've read a few other posts and they mention you can edit /etc/rc.d/init.d/halt or /etc/default/halt so that the ethernet card stays powered on after shutdown but I don't have those files. It looks like updates to the OS has changed this.

Does anyone have any idea how I can keep power onto the ethernet card after shutdown? Or how I can modify the shutdown command to do so?

One other thing that I can think of is that WOL on windows machines they have an option called "wol shutdown link speed" and that has to be set to "not speed down" but I don't see anything like that with ethtools.latest?d=yIl2AUoC8zA latest?i=eGmdTDFpvbQ:5W9C3JlighU:F7zBnMy latest?i=eGmdTDFpvbQ:5W9C3JlighU:V_sGLiP latest?d=qj6IDK7rITs latest?i=eGmdTDFpvbQ:5W9C3JlighU:gIN9vFweGmdTDFpvbQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments