Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
1. Enabled WOL in BIOS for ethernet adapter 0.
2. 'sudo ethtool eth' yielded "Supports Wake-on: pumbg" -- good!
3. ethtool -s eth0 wol g
4. 'sudo gedit /etc/rc.local' to add the following line before 'exit 0':
ethtool -s eth0 wol g
5. sudo shutdown -h -P now
I then tried (several times) to to turn the system on from a remote laptop (on the same subnet!) using the magic packet method.
Nothing happens (i.e. it doesn't turn on).
I tried a few more times to turn it on from the DD-WRT (on the same subnet).
Nothing happens (i.e. it doesn't turn on).
Any idea how to troubleshoot this and why it wouldn't work?
My workstation's ethernet, BTW, is controlled by an onboard Realtek RTL8110SC (part of the ABIT IP35 Pro motherboard).
Also, if this helps, here is the output of the command 'sudo ethtool eth0':
Code:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
Any tip, insight or advice would be greatly appreciated.
1) Check that led on net card is still light after powering computer off.
2) Check status (ethtool eth0) after bringing interface down (ifdown eth0) if it has still "Wake-on: g"
After I update the BIOS and test this functionality again, I will report back whether this solved the problem.
Update: Updating the BIOS from ver. 14 to ver. 17 didn't solve the problem.
That is, the green LED is still OFF when the PC is turned off.
It's unlikely that it's a Linux problem but if you know how to solve this problem or can recommend a forum that is most appropriate for such problems, that would be much appreciated.
I also had problems with WoL in Ubuntu 8.10, but do not remember what I am did. This can be also kernel problem. What is your version? You can check in BIOS if you have enabled options to wakeup on events like PCI, PCIe... check all to enable for testing.
This can be also kernel problem. What is your version?
Are you sure it's not a motherboard/BIOS only problem? My Linux version is:
Code:
Linux XP 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux
Quote:
Originally Posted by eSelix
You can check in BIOS if you have enabled options to wakeup on events like PCI, PCIe... check all to enable for testing.
I just checked all for testing as you said:
Code:
ACPI Suspend Type S3 (Suspend-to-RAM)
- Resume by USB from S3 Enabled
Power Button Function [Delay 4 Sec.]
Wake Up by WAKE# of PCIe Enabled
Wake Up by PME# of PCI Enabled
Wake Up by Onboard LAN1 Enabled
Wake Up by Onboard LAN2 Enabled
POWER ON Function [Hot KEY]
- Hot Key Power ON Ctrl-F1
Restore on AC Power Loss Power Off
And the green LED would still turn OFF when a soft shutdown is performed. The Power ON via keyboard's hot key works perfectly, so I know that the motherboard's circuits are "listening" even when the computer is not in suspend/hibernate mode.
The only challenge now is to how to make the NIC's circuits listen...
Which network driver are you using? I am using 'forcedeth', and 'modinfo' give me that:
Quote:
parm: phy_power_down:Power down phy and disable link when interface is down (1), or leave phy powered up (0). (int)
So this driver has a parameter, to control of powering network card. Maybe your driver also have such this parameter. I didn't changing that, I think this is set to '0' by default.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.