You are not logged in.
Recently I have been trying to configure Wake On Lan on my server (old cp) without success. Whatever I do WOL just doesn't work. Here are some details:
[root@server ~]# uname -a
Linux server 2.6.22-ck #1 SMP PREEMPT Tue Sep 25 15:40:50 IST 2007 i686 Pentium III (Katmai) GenuineIntel GNU/Linux
[root@server ~]# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 08)
00:14.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 08)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 65)
[root@server ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
I'm trying to activate WOL on eth0 (onboard NIC - Intel Pro 100). All WOL settings in BIOS are set correctly - at least I think so because I have tested the same BIOS configuration with Windows XP and Knoppix 5.01 and WOL works fine without any further configuration. The WOL problem appears only on Arch and I don't know what to do in order to fix it. I have tried to edit /etc/rc.shutdown:
/sbin/poweroff -d -f -h -i -> /sbin/poweroff -d -f -h
either without success.
ethtool -s eth0 wol g doesn't work as well.
I really need WOL functionality so I ask You for help. What else can I do? Any suggestions?
Cheers
Last edited by vertigo (2007-10-13 18:38:50)
Offline
The only thing I can tell you about this is that I have the same NIC in my server and I had WOL working for many month now but a few days ago I made a big update (didn't make one for a long time) of Arch and since then WOL doesn't work anymore.
Either it is a config file which was overwritten by the update and I do not remember anymore or there changed something else. Maybe the driver in the 2.6.22 kernel?
Last edited by tezem (2007-10-04 21:23:52)
Offline
Perhaps it is a kernel config. I tried recompiling the kernel acording to this description but it didn't help.
Last edited by vertigo (2007-10-04 22:20:34)
Offline
I downgraded to 2.6.17 (the kernel where everything worked fine before upgrade) but the problem remains, so it's not kernel's fault.
Don't have any other ideas right now. ![]()
Offline
Finally I managed to run WOL on Arch!
I added following modules to /etc/rc.conf:
MODULES=(ac battery button fan ...)
Probably only one of these is needed but I don't have time to test it right now.
tezem can you confirm if it works for you?
Best Regards
Last edited by vertigo (2007-10-13 15:20:21)
Offline
added the modules, rebootet, haltet the machine and tried to wol the server but without success.
can you plz tell me everything of your steps to get it working, maybe I just missed something.
thx in advance
Offline
I did many things but finally adding those modules helped.
My current config:
[root@server linux-2.6.22-ARCH]# uname -a
Linux server 2.6.22-ck #1 SMP PREEMPT Tue Sep 25 15:40:50 IST 2007 i686 Pentium III (Katmai) GenuineIntel GNU/Linux
/etc/rc.shutdown - no changes here - default settings
[root@server linux-2.6.22-ARCH]# cat /etc/rc.shutdown
...
# Power off or reboot
if [ "$RUNLEVEL" = "0" ]; then
printsep
printhl "${C_H2}POWER OFF"
/sbin/poweroff -d -f -h -i
...
No other changes
My current /etc/rc.conf
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()MODULES=(ac battery button fan eepro100 mii slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-ac97-codec snd-cs46xx soundcore)
DAEMONS=(syslog-ng iptables network netfs crond sshd httpd mysqld)
Before that I installed acpi, acpid and hal but after all I removed these packages and WOL works fine.
Now I'm going to do fresh Arch install and check if it still works.
*** Update ***
Tested on fresh Arch install (Archlinux-i686-2007.08-2.core.iso ftp install - base) and WOL works fine.
Best Regards
Last edited by vertigo (2007-10-13 21:46:21)
Offline