Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a fix?
Greg Ennis
Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a fix?
Greg Ennis
On 2/22/19 11:04 PM, Gregory P. Ennis wrote:
Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a fix?
Greg Ennis
we have no problem with ether-wake under CentOS 7.6 . Has been working for us as under earlier versions.
Years ago, we had to replace some RHEL-provided ethernet driver modules with ElRepo-provided ones for WOL to work. So check out ElRepo for newer drivers for your cards.
HTH,
Kay
Can you be more specific about the hardware? I have a setup of DELL desktop, DELL Server SuperMicro Server and couple other devices. I am using from a cgi script the next on one server to wake the other: /usr/bin/sudo /usr/sbin/ether-wake "XY::XY" -b && echo 1
All of my servers have Intel PRO 1Gbit ethernet nics(2,4,1.. ports per machine).
To make the Desktop wakeup I had to do the next: - Reset the bios settings to default - Reconfigure the bios to allow remote wake up - Disable couple Power related special sleep settings(on the desktop) - Make sure that the switch can handle 10Mbps connection (since most of these nics stay at low power and low speed waiting for WOL packets).
Works for me on at-least three machines with CentOS 7.6 # lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.6.1810 (Core) Release: 7.6.1810 Codename: Core
Let me know if you need some help, Eliezer
---- Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: eliezer@ngtech.co.il
-----Original Message----- From: CentOS centos-bounces@centos.org On Behalf Of Gregory P. Ennis Sent: Thursday, February 14, 2019 03:41 To: CentOS mailing list centos@centos.org Subject: [CentOS] Centos 7.6 & ether-wake
Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a fix?
Greg Ennis
_______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Can you be more specific about the hardware? I have a setup of DELL desktop, DELL Server SuperMicro Server and couple other devices. I am using from a cgi script the next on one server to wake the other: /usr/bin/sudo /usr/sbin/ether-wake "XY::XY" -b && echo 1
Does is work if you do
ether-wake -i <ethX> "XY::XY"
Regards, Simon
Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a fix?
Greg Ennis
------------------------------------------------------------------------------
Everyone,
I have found the solution to the problem related to wake-on-lan after the upgrade to Centos 7.6 from Centos 7.5
It appears that NetworkManager was changed and now you have to enter the command :
nmcli c modify enp2s0 802-3-ethernet.wake-on-lan magic
Which adds ETHTOOL_OPTS="wol g" to :
/etc/sysconfig/network-scripts/ifcfg-enp2s0
It is interesting in that I found this had to be added only to the motherboard network device, but did not have to be added to network cards in the pcie slots.
It also could be fixed by running the command at the time of boot :
ethtool -s enp2s0 wol g
However this command had to be used with every boot, and always allowed wake-on-lan to work after a soft shutdown, but if you pulled the plug and completely powered the system down it did not work on the first hard reboot.
After entering "nmcli c modify enp2s0 802-3-ethernet.wake-on-lan magic" I was able to use wake-on-lan after both soft shutdowns and power out shutdowns.
Thanks to 'Dutchy' for his Fedora post :
https://forums.fedoraforum.org/showthread.php?307025-Wake-on-LAN-can-t-set-e...
Greg Ennis