Re: [CentOS] Getting Wake on lan to work

2010-10-22 Thread Peter Crighton
On Wed, 20 Oct 2010 14:38:43 -0400, you wrote:

On 10/20/2010 02:13 PM, cen...@crighton.me.uk wrote:
 On Wed, 20 Oct 2010 14:04:51 -0400, you wrote:



 To get mine to work under fedora I had to run ethtool and turn on the
 wol option.
 Also it seemed to get reset after used wol to start it up so in my
 rc.local I put
 /sbin/ethtool -s eth1 wol g
 /sbin/ethtool -s eth0 wol g
  
 ethtool -s eth0 wol g results in a message Cannot get current
 wake-on-lan settings: Operation not supported even though both the
 motherboard and NIC do support WOL.


Hmm...

[r...@centostest ~]# ethtool eth0
Settings for eth0:
snip

This is the same output from my system:

[r...@backup ~]# 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: 24
Transceiver: internal
Auto-negotiation: on
Current message level: 0x0001 (1)
Link detected: yes
[r...@backup ~]# ethtool -s eth0 wol g
Cannot get current wake-on-lan settings: Operation not supported
  not setting wol
[r...@backup ~]# uname -a
Linux backup 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010
i686 i686 i386 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Peter Crighton
On Fri, 08 Oct 2010 16:25:26 -0700, you wrote:

on 10-6-2010 2:27 PM Robert Heller spake the following:
 At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing list centos@centos.org 
 wrote:
 

 My system is: 
 Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
 3com 3C905C which also supports wake on LAN via PME#
 Linux 5.5

 The motherboard BIOS is later than one that reports an issue with WOL
 and this particular network card was fixed.


 
If the card goes dark when the system is off but still plugged in, the card
does not get its power and signal from the pci bus and will need the header
cable plugged in. There is no other way... The card HAS to be powered from
somewhere at all times so it can activate the system.


I have now purchased a WOL cable but that has not helped.

There are no options in the BIOS for WOL and I have updated to the
latest.

I have found this page http://ubuntuforums.org/showthread.php?t=951563
which refers to using pci-config to force the bus power to be left on
for the card prior to shutting down. Could this be the problem and if
so where do I get pci-config (or the equivalent) for Centos as I can't
identify a package to install that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Steve Clark

On 10/20/2010 01:53 PM, Peter Crighton wrote:

On Fri, 08 Oct 2010 16:25:26 -0700, you wrote:

   

on 10-6-2010 2:27 PM Robert Heller spake the following:
 

At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing listcentos@centos.org  
wrote:

   

My system is:
Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
3com 3C905C which also supports wake on LAN via PME#
Linux 5.5

The motherboard BIOS is later than one that reports an issue with WOL
and this particular network card was fixed.

 
   
   

If the card goes dark when the system is off but still plugged in, the card
does not get its power and signal from the pci bus and will need the header
cable plugged in. There is no other way... The card HAS to be powered from
somewhere at all times so it can activate the system.
 


I have now purchased a WOL cable but that has not helped.

There are no options in the BIOS for WOL and I have updated to the
latest.

I have found this page http://ubuntuforums.org/showthread.php?t=951563
which refers to using pci-config to force the bus power to be left on
for the card prior to shutting down. Could this be the problem and if
so where do I get pci-config (or the equivalent) for Centos as I can't
identify a package to install that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

   
To get mine to work under fedora I had to run ethtool and turn on the 
wol option.
Also it seemed to get reset after used wol to start it up so in my 
rc.local I put

/sbin/ethtool -s eth1 wol g
/sbin/ethtool -s eth0 wol g

HTH,
Steve


--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-20 Thread Steve Clark

On 10/20/2010 02:13 PM, cen...@crighton.me.uk wrote:

On Wed, 20 Oct 2010 14:04:51 -0400, you wrote:


   

To get mine to work under fedora I had to run ethtool and turn on the
wol option.
Also it seemed to get reset after used wol to start it up so in my
rc.local I put
/sbin/ethtool -s eth1 wol g
/sbin/ethtool -s eth0 wol g
 

ethtool -s eth0 wol g results in a message Cannot get current
wake-on-lan settings: Operation not supported even though both the
motherboard and NIC do support WOL.

   

Hmm...

[r...@centostest ~]# 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: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x0007 (7)
Link detected: yes
[r...@centostest ~]# ethtool -s eth0 wol g
[r...@centostest ~]# uname -a
Linux centostest 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 
i686 athlon i386 GNU/Linux

[r...@centostest ~]# 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: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x0007 (7)
Link detected: yes
[r...@centostest ~]#

--
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-08 Thread Scott Silva
on 10-6-2010 2:27 PM Robert Heller spake the following:
 At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing list centos@centos.org 
 wrote:
 

 My system is: 
 Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
 3com 3C905C which also supports wake on LAN via PME#
 Linux 5.5

 The motherboard BIOS is later than one that reports an issue with WOL
 and this particular network card was fixed.

 But when I turn off the PC (shutdown or poweroff commands or front
 panel button), it cannot be restarted via WOL. The network light on
 the Ethernet card goes off so it looks like power is not being
 retained on the card. 

 Although both the card and the motherboard have WOL headers my
 understanding is that these are not necessary if using PME# - is that
 correct? (I don't happen to have a WOL cable so can't just try one to
 confirm).
 
 Wondering if there is a BIOS setting for enabling PME# (and/or a
 setting/jumper on the NIC for this as well -- maybe ethtools or the
 3COM tool (I believe there is a Linux port available) can set this.
 
If the card goes dark when the system is off but still plugged in, the card
does not get its power and signal from the pci bus and will need the header
cable plugged in. There is no other way... The card HAS to be powered from
somewhere at all times so it can activate the system.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Getting Wake on lan to work

2010-10-06 Thread Peter Crighton
My system is: 
Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
3com 3C905C which also supports wake on LAN via PME#
Linux 5.5

The motherboard BIOS is later than one that reports an issue with WOL
and this particular network card was fixed.

But when I turn off the PC (shutdown or poweroff commands or front
panel button), it cannot be restarted via WOL. The network light on
the Ethernet card goes off so it looks like power is not being
retained on the card. 

Although both the card and the motherboard have WOL headers my
understanding is that these are not necessary if using PME# - is that
correct? (I don't happen to have a WOL cable so can't just try one to
confirm).

How can I make Linux shutdown and leave the Ethernet power on?

The common suggestion on the 'net is to remove the -i switch from
the shutdown script, but it was not present to start with.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting Wake on lan to work

2010-10-06 Thread Robert Heller
At Wed, 06 Oct 2010 21:33:25 +0100 CentOS mailing list centos@centos.org 
wrote:

 
 My system is: 
 Intel CC820 motherboard (which supports PME# wake up for wake on LAN)
 3com 3C905C which also supports wake on LAN via PME#
 Linux 5.5
 
 The motherboard BIOS is later than one that reports an issue with WOL
 and this particular network card was fixed.
 
 But when I turn off the PC (shutdown or poweroff commands or front
 panel button), it cannot be restarted via WOL. The network light on
 the Ethernet card goes off so it looks like power is not being
 retained on the card. 
 
 Although both the card and the motherboard have WOL headers my
 understanding is that these are not necessary if using PME# - is that
 correct? (I don't happen to have a WOL cable so can't just try one to
 confirm).

Wondering if there is a BIOS setting for enabling PME# (and/or a
setting/jumper on the NIC for this as well -- maybe ethtools or the
3COM tool (I believe there is a Linux port available) can set this.

 
 How can I make Linux shutdown and leave the Ethernet power on?

I believe you need configure the power management setting in the BIOS to
leave the system in 'standby' mode or something like that, rather than
'power off'.  That is, the ACPI 'power off' command yields 'standby'
mode (or something like that).

 
 The common suggestion on the 'net is to remove the -i switch from
 the shutdown script, but it was not present to start with.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
   

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos