View previous topic :: View next topic |
Author |
Message |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Thu Dec 01, 2005 11:42 pm Post subject: I'll not let Linux be beaten by Windows - Wake On Lan Issue! |
|
|
Hi everybody,
I have spent the last few nights franticly trying to get Wake-On-Lan working on my Linux box. After seeing the ease with which it worked under windows; I'm feeling bitterly dissapointed that I can't get it to work in Linux. (Please don't turn this thread into a flame war - I really need your help).
My setup:-
Asus A7N8X-E Motherboard with Intergrated gigabit lan
Gentoo Linux running kernel 2.6.14-r3 and everything else bang up to date (all ~x86 but very solid)
and WinXP dual boot (thats how I know it definitely works).
The intergrated gigabit lan is a Code: | kryten russell # lspci | grep Marvell
01:04.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) | running with the SKGE driver (which supposdly supports WOL), and ethtool shows this.
Code: | kryten russell # ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00000037 (55)
Link detected: yes
kryten russell # |
and of course, I run Code: | ethtool -s eth0 wol g | to set the lan into the right mode.
As a side note, I do have APM compiled into my kernel (apparently required for WOL) Code: | kryten russell # gzcat /proc/config.gz | grep APM
# Power management options (ACPI, APM)
# APM (Advanced Power Management) BIOS Support
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set |
So far I have tried this gentoo forum topics' advice, this wiki's advice, many webpages through google, and a combination of everything I have found.
Does anyone have any solid experience with this particular make of motherboard/lan chip and WOL?
Does anyone know if the SKGE driver needs any special parameters to enable WOL?
At one point I managed to get the card to keep an active link light on the switch once the machine was off, but it still didn't wake. Incidently, I use Code: | starbug # wakeonlan -i 192.168.0.255 00:0E:A6:MY:MA:CC | to wake the machine from my server. This works fine if I shut down from windows, but sadly not from Linux.
Thanks, any help greatly appreciated. _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Aries-Belgium l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/568415785438928e91a742.jpg)
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Fri Dec 02, 2005 12:16 am Post subject: |
|
|
I thought WOL was a BIOS issue. ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vblanton n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/16263726394282a079ef352.jpg)
Joined: 19 Mar 2005 Posts: 60 Location: USA
|
Posted: Fri Dec 02, 2005 3:52 am Post subject: |
|
|
Hey!
This is most probably a kernel issue rather than a network-related problem and you might want to ask this question in the kernel-related forum for better feedback. If you don't get enough response, then I recommend asking on a linux kernel related forum or irc channel.
Sorry I'm not helping with the actualy problem, but I hope you find why it's not working. _________________ Vladik says:
I may eventually have something here when I find it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Fri Dec 02, 2005 9:10 am Post subject: |
|
|
Quote: | I thought WOL was a BIOS issue |
Thanks Aries-Belgium. Many sites have mentioned this, but I have double-checked, and the BIOS is definitely set for WOL. As I said, (f#@king) windows manges to do it, and I make no alterations to the hardware setup then. It seems it could be the way linux shutsdown the nework card.
Thanks vblanton, I appreciate your trying anyway. Im sure it is Kernel/driver specific, but juding the info I have seen else where (gentoo-wiki I think), it may also be to do with the way Gentoo shutsdown/halts the system. Some one suggested hashing out the ifconfig ${IFACE} down >/dev/null line in the net.eth0 shutdown script. This left me with the link light, but wol still didn't work.
I'll post a link to this topic into the kernel forum anyway.
Cheers _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Fri Dec 02, 2005 9:20 am Post subject: |
|
|
Hi again,
Thought I'd just add that I have also tried the pci-config suggestion posted here to try and put the card into a sleep state. I was intrigued by this (esp as the guy had the same MB as me!), but it didn't work and I couldn't find any more info on it.
Anyone know about this method? _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
conchyliferous n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1873182566429987695a682.gif)
Joined: 28 May 2005 Posts: 50 Location: Sweden
|
Posted: Fri Dec 02, 2005 10:26 am Post subject: |
|
|
Not sure if this helps for anything.
But,
in grub.conf, add 'enable_wol=1' as an argument for kernel.
Like:
Code: | titel Güntuu
root (hd0,0)
kernel /kernel-whatever enable_wol=1 |
Hope it doesn't kill anything! ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
conchyliferous n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1873182566429987695a682.gif)
Joined: 28 May 2005 Posts: 50 Location: Sweden
|
Posted: Fri Dec 02, 2005 10:30 am Post subject: |
|
|
One more thing, grub has a 'netboot' useflag. Guess you have that... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Fri Dec 02, 2005 12:04 pm Post subject: |
|
|
Thanks Uberlord, I will try this later when I get home from work and post back the results; it sounds very promising. I especially like the idea of being able to configure it from conf.d/net and not have to manually tweak other files. Would you like me to add to the bug report?
Thanks Conchyliferous. I have tried the enable_wol=1 option before, but it doesn't appear to have helped sadly. I'll keep this option in for now as it certainly hasn't broken anything. I think enable_wol is more likely to be driver specific, and having sifted through the source for the SKGE driver, I can't see that it utilises that option. When you mention the 'netboot' option for grub, do you mean to boot a remote image? Well not at the moment, however this is a long term goal I hope to achieve one day.
Cheers everyone - check back. _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
conchyliferous n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1873182566429987695a682.gif)
Joined: 28 May 2005 Posts: 50 Location: Sweden
|
Posted: Fri Dec 02, 2005 1:51 pm Post subject: |
|
|
Sounds good.
Didn't really know 'netboot' meant that. Guess I can remove that then. Thanks.
Best of luck. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Mon Dec 05, 2005 10:41 am Post subject: |
|
|
Hi Everyone,
Sorry for the long delay in posting back, but I've not been well.
Quote: | We have an open bug for WOL support. Well kinda WOL support. More documentation really, but we still need a small patch.
https://bugs.gentoo.org/show_bug.cgi?id=113880
Please comment here or on the bug if the patch enables a working WOL as I don't have any WOL capable hardware - so I need someone to test it and say "works, great! now commit that sucka!" |
I have applied this patch, but sadly WOL still doesn't work.
Now when I shut down my system, the Link light stays on; however it doesn't respond to the magic packet request to wake up.
I booted into windows (to try it again - yes it definitely works), and watched what the lights on my switch did when it powered off. Whilst it was shutting down, the Gb link light stayed on the whole time: as it powered off however, the lights went off breifly, then the 100Mb link came on. Does anyone have experience of WOL on a gigabit network? Can I force the card to power down and come back up with a 100Mb link in Linux? Does my network card, perhaps need some additional setting?
The fact that I observed this odd behaviour makes me think that something additional has to be done to the driver to get the WOL mode right, but I have no idea what.
Thanks for your time. _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Tue Dec 06, 2005 9:18 pm Post subject: |
|
|
bump
Anyone? Please.... _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sibov Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1926566401425bb214e7c96.gif)
Joined: 09 Feb 2004 Posts: 147 Location: Germany
|
Posted: Tue Dec 06, 2005 10:45 pm Post subject: |
|
|
got the issue 2.
Nothing works. I think i have tried every forum post.
- grub flags
- shutdown.sh patch
- init.d/net.eth0
- ethtool -s eth0 wol g @ local.stop .....
after winXP shutdown the wakeup works well. so it seems not to be a bios issue.
This suxxx.
My Nic is an Onboard NForce4 Realtech 1000Mbit chip on a Cisco 1000Mbit Switch.
[EDIT] I personally don't have APM enabled because of me SMP setup, i can remember of some problems with power off after shutdwon in the past[/EDIT] _________________ Gentoo 2.6.17-gentoo-r5 with dmraid Raid0 Dualboot
AMD64 X2 3800+, 4x512MB DDR PC3200Pro Corsair Geforce EN6600GT silencer @ 256MB
4x250GB SATAII Samsung SP120, Asus A8N Premium, Plextor PX712SA DVDRW
Logitech Dinovo, SB Audigy4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Tue Dec 06, 2005 11:52 pm Post subject: |
|
|
sibov wrote: | Nothing works |
Now how far we gonna get with that attitude
Only joking - I know how frustrated you feel
I'm not planning on giving up yet tho. If windows can do it, then so can Linux.
sibov, do you have any funny little light show when windows shuts down on your PC?
(like mine it switches off then back on but at 100Mb not 1Gb)
I think this must have a lot to do with it on mine.
The APM thing was yet another suggestion from another forum posting I read, have left it in for now as its causing no harm (to my knowledge).
Keep thinking it over....
Does anyone have any background with WOL? Maybe driver/kernel programming knowledge? _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Iron_DragonLord Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 04 Nov 2004 Posts: 273
|
Posted: Wed Dec 14, 2005 6:02 am Post subject: |
|
|
From what I've noticed, and I have been looking a lot about this, as I've also the same problem, 90% of these issues are with <b>integrated network devices</b>. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Thu Dec 15, 2005 8:45 am Post subject: |
|
|
Iron_DragonLord wrote: | From what I've noticed, and I have been looking a lot about this, as I've also the same problem, 90% of these issues are with <b>integrated network devices</b>. |
I'm not surprised
And yeah, mine an intergrated one. Anyone know how windows does it though? There must be some tech doc somewhere for driver writers in windows to follow. Wonder if anyone has seen anything? _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Sat Dec 31, 2005 12:08 pm Post subject: |
|
|
* Bump *
Thought I'd just try again to see if anyone has any fresh ideas..... _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AlbertLash n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Aug 2004 Posts: 24
|
Posted: Tue Jan 10, 2006 3:14 pm Post subject: e1000 wake on lan |
|
|
I pulled all my hair out trying to get wake on lan working with my Supermicro 6024h-t server with board Super X6DHT-G ( a side note about this board's bios - wol is on by default ), and followed all the tutorials I could find. Then I noticed an email saying something about Intel doing some work on the driver available from sourceforge. So I disabled the kernel module, and compiled and modprobed the fresh one, and would you believe it worked. Awesome, now I can cron shutdown, and magicpacket startup... ( automatic startup and shutdown ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Tue Jan 10, 2006 11:18 pm Post subject: I'll not let Linux be beaten by windows - Wake On Lan Issue! |
|
|
Well, I'm glad to hear that someone at least has got wol working in Linux.
Sadly I've gone past pulling my hair out and moved onto picking at the sore scalpe (nice). I instead have been forced to give up - my once cheery optomism, deminished.
Judging by what you write, AlbertLash, it sounds like it could be a driver issue for my wol problem. The module I use for my lan card does claim to support wol, but i suspect my particular chipset revision/version isn't included in the 'supported cards' list.
I might (if I can ever be arsed) see if I can change the shutdown script to set windows as the default OS in grub, reboot instead of shutdown, load windows, (don't know how to do this bit) alter the default OS back to Linux in grub.conf from windows, then automaticlly shutdown so its ready for its morning wake-up call. -- A lot of hassle, but hey, if its the only way.....
I'd love to stick 2 fingers up at windows and have done with it.
I blame M$ for tying up the hardware vendors totally.
Its not the Linux communitys' fault, but it is everyone in that communities' fault for not giving the hardare vendors a hard enough time. Its time to shout loudly everyone.... _________________ The great thing about standards is there are so many to choose from.....
Last edited by annunaki2k2 on Fri Jan 13, 2006 6:22 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Emma23 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Nov 2004 Posts: 3 Location: Somewhere in the vast unkown
|
Posted: Fri Jan 13, 2006 1:49 pm Post subject: |
|
|
![Shocked 8O](images/smiles/icon_eek.gif) _________________ The end is nigh and I don't really give a fuck! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Fri Jan 13, 2006 6:21 pm Post subject: |
|
|
Ah bless your first post: and you've been signed up on this forum how long now? _________________ The great thing about standards is there are so many to choose from.....
Last edited by annunaki2k2 on Mon Jan 16, 2006 12:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Emma23 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Nov 2004 Posts: 3 Location: Somewhere in the vast unkown
|
Posted: Mon Jan 16, 2006 11:16 am Post subject: |
|
|
I know, aren't I special!
P.s. There's an 'r' on the end of 'your'
Not to be patronising or anything... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Mon Jan 16, 2006 11:49 am Post subject: |
|
|
Emma23 wrote: | P.s. There's an 'r' on the end of 'your'
Not to be patronising or anything... |
I suspect he knows that. Have you ever heard of a typo, or typographical error? In simpler terms, he accidentally failed to press the 'r' key hard enough. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Mon Jan 16, 2006 11:59 am Post subject: |
|
|
Emma23 wrote: | I know, aren't I special!
P.s. There's an 'r' on the end of 'your'
Not to be patronising or anything... |
Shouldn't that be: "I know, aren't you special"?
Afterall, I feel it; Your first 2 posts have addressed me personally, in a noticeboard that I started. So lucky...
Monkeh wrote: | I suspect he knows that. Have you ever heard of a typo, or typographical error? In simpler terms, he accidentally failed to press the 'r' key hard enough. |
Thanks Monkeh, indeed it was; (corrected now!). After a long day at work, I think I can be excused at least one... _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
annunaki2k2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Oct 2003 Posts: 119 Location: Streatham, London, UK
|
Posted: Mon Jan 16, 2006 12:04 pm Post subject: |
|
|
Emma23 wrote: | I know, aren't I special!
P.s. There's an 'r' on the end of 'your'
Not to be patronising or anything... |
Besides spelling and grammer pointers; anything useful about Linux & Wake On Lan to add to this discussion?? _________________ The great thing about standards is there are so many to choose from..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|