![]() |
wake on lan (WOL) under linux
Hello!
I have a shuttle barebone system SN41G2 with the nforce chipset. everything works fine (network, audio, usb, ide, firewire etc.). what i need is wake on lan under linux (which works under windows 2k). i?m using the current driver version, my distribution is suse 8.2. my first try was this: Code:
metalu:~ # ethtool -s eth0 wol ggreets, segfault |
I would just like to vote for this feature.
I really, really want WOL on linux. I used to have it before I updated my mobo to an nForce2 one. I stupidly thought that when the specs said WOL that it would actually work! I would happily plug another NIC into my machine and use it in place of the NVNet one, but the mobo doesn't have a WOL header, so WOL is supported with the built in NIC ONLY!!!! How annoyed am I?? I used to dual boot Win XP and after shutting down from it, WOL worked, but now I've ditched Windo'h zzzzz 100%, this doesn't work. I'm sure it's just a matter of tweaking a couple of registers here and there on the driver initialisation/shutdown code (although I'm far from educated in this matter). Please, someone take note!!!! |
I absolutely agree.
Activating wake on lan in the bios doesn't seem to do anything. While on a old PII board, where i have a wake on lan cable from Mainboard to the network card, this works great. I could activate wake on lan in Windows and then wake the box. But somehow the network card forgets the setting after the first usage. I have a A7N8X, and i tried to wake by using the 3c59x card |
Some information
|
http://atlas.et.tudelft.nl/verwei90/.../solution.html
Quote:
NVidia you're really dragging your feet on this on. Col. |
Hi,
Please read this bugreport: http://bugzilla.kernel.org/show_bug.cgi?id=1636 It contains a dirty solution that works with forcedeth v18 (but not with v.20 or higher). The forcedeth crew is currently too busy with RL stuff, but may code this in their driver yet. I have emailed NVIDIA about this, two seperate engineers replied a few times, but really didn't have anything useful to add. At first the linux driver didn't contain WOL functionality, later on they reversed that statement. However, it doesn't work. I still have to try to take a new kernel, rip out forcedeth, and patch it with forcedeth v.18 so I can upgrade my kernel, but still use WOL. If you are wanting to use WOL, make sure your box is stable. Use a kernel without local-APIC, or turn off the CPU disconnect in the BIOS or just fix the problem with Ross Dickson's patches. My page about broken stuff: http://atlas.et.tudelft.nl/verwei90/nforce2/index.html Please let me know how you get along. |
Re: wake on lan (WOL) under linux
1 Attachment(s)
After reading other posts in this forum, I've written a patch to the nforce-1.0-0256 driver that enables WOL on my system (Chaintech 7NIF2). The patch simply adds a reboot notifier that puts the network adapter in the D3 power state at shutdown. Hopefully, NVIDIA won't mind if I attach the patch here? The License doesn't really mention anything about patches to the source. It's mostly added code so only a few lines of the original source appear in the patch.
Some notes: (1) The patch is relative to the 0256 release, *not* the 0261 release which is the latest. I haven't had problems with the 0256 release, but I've heard about some problems involving 0261, so I haven't upgraded. (2) I don't use forcedeth yet... I'd prefer an open driver, but I'll wait a bit for it to mature before switching since 0256 is working for me. (3) I'm using kernel 2.4.25 with ACPI/IO-APIC enabled. This patch probably won't help people running the 2.6 series kernel. (4) Make sure to enable WOL in the BIOS. (5) The patch won't work if your system shutdown scripts disable network interfaces during the halt sequence. e.g. halt -d -f -i -p You'll need to remove the '-i' option... I haven't investigated whether this is because the call to pfnSetPowerState doesn't work if called after pfnDeinit or if some other hardware setting disables WOL when the interface is closed. (MAC address reset?) |
Re: wake on lan (WOL) under linux
The recently released nvnet driver in nforce-1.0-0274 is working nicely on my system (Chaintech 7NIF2). Wake-on-Lan works out of the box, and is better than the patch I posted for 0256, since it functions whether or not the shutdown scripts disable the network interface. People interested in WOL should definitely try this version.
|
Re: wake on lan (WOL) under linux
Quote:
Is there anyone else that has successfully enabled WOL with the nvnet driver? For now, I think I will stick with forcedeth. Even if WOL is possible with nvnet it is a pain to get networking back, when you install a new kernel. Unfortunately, the forcedeth team remains tacent for now, I guess they are busy. My specs: Abit nf7-s 2.6.8.1 kernel 0292 nvnet revision Debian sid |
Re: wake on lan (WOL) under linux
Well, I found the version gen is using:
http://download.nvidia.com/XFree86/n....0-0274.tar.gz And indeed in the nvenet.c source there is a function that governs power management (nvenet_suspend), and mentions wake on lan, but I don't think this compiles for 2.6? I'll see if I can find some more on this. |
Re: wake on lan (WOL) under linux
I have had some success using a tip from:
http://frequal.com:8080/linux/AsusWakeOnLan.html ie: turn the PC on, then within a few seconds press the power button again. Wake On Lan then works (once). asus a7n8x motherboard, fedora core 3 + up2date. Sort of OK, if I remember to do it before actually wanting to WOL ; -) But if I initiate shutdown via gui (logout|shutdown), or halt / shutdown, then wake on Lan doesn't get enabled, and the machine fails to respond. I have noticed on a HP compaq nx9000 that during shutdown a log line is emitted similar to: eth0 staying awake for wake on LAN, but this doesn't happen with the a7n8x. |
Re: wake on lan (WOL) under linux
I wonder if this holds for both the 3com port as the nvidia port.
|
| All times are GMT -5. The time now is 06:29 AM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.