LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2010, 03:55 PM   #1
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Rep: Reputation: 1
Wake on Lan doesn't work after Linux shutdown


Hello everyone.

I'm getting some trouble with Wake on Lan.

The main question is: when I shutdown a PC through Windows, the WOL works well, but it doesn't happen when I shutdwon the same PC through Linux.

It happens in all of my PCs here in the company.

Does anybody know what could be happening?

Thanks.
 
Old 11-02-2010, 08:08 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Hi,

Since you haven't provided enough information then
I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem.



Do you have identical equipment? What about error logs? Same GNU/Linux on all equipment?
 
Old 11-02-2010, 09:19 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,629

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
It is not going to acpi S5 for some reason or you have some issue as to what is shutdown is in linux. Does the lan lights go off in linux? See also S6/G3 powered off.

Last edited by jefro; 11-02-2010 at 09:22 PM.
 
Old 11-03-2010, 07:59 AM   #4
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 1
The NIC lights go off both in Linux and Windows. And the Switch light stays on in both cases too.

In wich ACPI state the halt command put the machine? And what about the poweroff and shutdown commands?
 
Old 11-04-2010, 03:50 PM   #6
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
I had a problem a while ago with one of the models of PC we use where I work. The networks cards supported wake-on-lan but they didn't get left in the desired state.

Log on to one of the machines as root and run

Code:
$ ethtool -s eth0 wol g
Then tell the machine to shutdown and then hit it with a WOL packet and see if it wakes up. If that solves your problem then put that ethtool command somewhere it will get run automatically such as /etc/init.d/halt.local
 
Old 11-05-2010, 07:23 AM   #7
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 1
Thank you very much jefro and arizonagroovejet. The command that you both have posted solved my problem.
 
Old 12-29-2010, 06:33 PM   #8
argon99
Member
 
Registered: Mar 2009
Posts: 37

Rep: Reputation: 16
Quote:
Originally Posted by onebuck View Post
Hi,

Since you haven't provided enough information then
I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem.



Do you have identical equipment? What about error logs? Same GNU/Linux on all equipment?
Maybe onebuck you should read that document yourself. Please notice that in only a few replies the correct answer was given. That means enough information was given in the post to answer the question. All of the things you suggested that should be posted was unneeded to answer the question. Maybe being a good moderator is more then just slapping people around. Why don't you wait and see if someone gives a good answer, meaning they know more about the problem then you do, before you pounce on a user with unneeded comments that just increase the noise level and reduce the capacity to answer the question.
 
0 members found this post helpful.
Old 12-30-2010, 09:33 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Hi,

Quote:
Originally Posted by argon99 View Post
Maybe onebuck you should read that document yourself. Please notice that in only a few replies the correct answer was given. That means enough information was given in the post to answer the question. All of the things you suggested that should be posted was unneeded to answer the question. Maybe being a good moderator is more then just slapping people around. Why don't you wait and see if someone gives a good answer, meaning they know more about the problem then you do, before you pounce on a user with unneeded comments that just increase the noise level and reduce the capacity to answer the question.
Since you seem to have a problem with my style of interaction then report it. You have not provided anything constructive to the thread. Just being judgmental.

I have read the link. I provided the link to provide the means for future & present problems. You have read it?

Glad to hear that the member has gotten some aid from other members. Which you did not provide other than to take me to task for wanting to provide the OP with potential help with the problem.

By no way was my post slapping anyone around. Your thought and misinterpretation.

Quote:
Why don't you wait and see if someone gives a good answer, meaning they know more about the problem then you do, before you pounce on a user with unneeded comments that just increase the noise level and reduce the capacity to answer the question.]
Why do you think that I jumped in. I have as much right to interact or participate with members here at LQ as everyone else has. I trouble shoot & diagnose differently as most other members have their style.
Quote:
Hi,

Since you haven't provided enough information then
I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem.



Do you have identical equipment? What about error logs? Same GNU/Linux on all equipment?
There is nothing in the above that is attacking nor belittling as you suggested. Proper suggestion for inquiring or suggestions for typical information. Your style seems to be to jump & judge which is not constructive to this thread.

If you wish to continue this discussion then I suggest that you contact me via PM. As you have caused more harm by hijacking and injecting your personal interpretation of my post to the thread. Not really helping anyone within the thread! In the future, if you find someones post to be errant or violation of the LQ rules then report it. Instead of trying to be the judge & jury.

Enough said!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Make "Wake on LAN" (WOL) Work tredegar Linux - Networking 6 02-26-2011 08:23 AM
How to get wake on lan to work with Ubuntu 9.04 darthfoolish Linux - Networking 1 10-01-2009 01:47 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 04:57 PM
Wake on Lan - Link on b4 power up, No Link light after shutdown? Mark007 Linux - Networking 0 11-20-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration