Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a seemingly simple problem, I can't wake my server locally by a magic packet.
I have used the WireShark packet sniffer to make sure the magic packet is broadcast, the BIOS has WOL enabled, I have made sure wakeonlan service is running before the server powers down and I have made sure that WOL is enabled on eth0 with ethtool. I am just plain confused about how something this simple could not work.
When you power down this server, check the LED on ethernet card. Is it still light (of course assuming it light when server is running)? Can you show output of
Not sure you even need a hard drive to wol. Bios has wol and maybe some "state" settings that should allow it. Usually but not always it requires an onboard nic. Add on nics may not have power or allow settings. Also the power supply has to maintain power. This may not be a fully OK test but nic lights should be on when system is off to help see if power is on nic. I guess some network devices inbetween may cause an issue. Blocking by some rule or even power issue.
I think g setting if for magic packet.
Also it could not be working from OEM if never tested by you before.
I've had the same problem some time ago and after a lot of searching and since nothing worked, I just stopped.
Now when seeing this thread I started again and saw that "Wake-on d" is "bad" like D as for Disabled so I turned that to a "Wake-on g" like as for "Go"
but I still get the same result.
How do I know that my setting is to a 'g' is really working when I have shut the PC down?
I understand this should ideally take very little hardware besides the ethernet port and that's exactly what I thought when trying this out. The network adapter is onboard, not attached on a separate slot. I have also read that sometimes some pins may need to be connected for this to work on the motherboard, but I have not seen any confirmation of this.
Yes, G is for magic packet and must be set. These pins are sometimes required for external (ex. PCI) network cards. Onboard does not need this, it is internally connected.
These computers are connected by switch or by router? Check if this entry in /etc/network/interfaces will help:
Code:
iface eth0 inet dhcp
post-down /sbin/ethtool -s eth0 wol g
Of course eth0, dhcp is only example, use your own settings. But I don't known if this is even interpreted when "Network Manager" package is used. I have uninstalled it as found it is needless.
Also please answer which client tool are you using to wake. I am using "wakeonlan" from Ubuntu repository. And one more thing, if you have nVidia network card, there was an error in drivers which causes a reversing of MAC address (and in my system assigning a random one), you can check your MAC if is correct on MAC lookup site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.