Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Unable to disable Wake On Lan



Jerry Feldman wrote:
> I would suggest trying this from the command line:
> sudo ethtool -s eth0 wol -d
> Another thing is:
> sudo ethtool eth0
> This will dump all the capabilities of  eth:
>     Supports Wake-on: g
>     Wake-on: d
> Also check status of /sys/class/net/eth0/device/power/wakeup
> The values will be enabled or disabled
> To disable:
> sudo echo disabled > /sys/class/net/eth0/device/power/wakeup
>
> In any case, by running it from the command line you can determine if 
> ethtool is working. You do not have to reboot since this sends 
> commands directly to the NIC (through the driver).

ethtool is working:

> /# ethtool eth0
> Settings for eth0:
>     Supported ports: [ TP MII ]
>     Supported link modes:   10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>     Supported pause frame use: No
>     Supports auto-negotiation: Yes
>     Advertised link modes:  10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>     Advertised pause frame use: Symmetric Receive-only
>     Advertised auto-negotiation: Yes
>     Link partner advertised link modes:  10baseT/Half 10baseT/Full
>                                          100baseT/Half 100baseT/Full
>     Link partner advertised pause frame use: Symmetric Receive-only
>     Link partner advertised auto-negotiation: Yes
>     Speed: 100Mb/s
>     Duplex: Full
>     Port: MII
>     PHYAD: 0
>     Transceiver: internal
>     Auto-negotiation: on
>     Supports Wake-on: pumbg
>     Wake-on: g
>     Current message level: 0x00000033 (51)
>                    drv probe ifdown ifup
>     Link detected: yes
> root at amd:/# ethtool -s eth0 wol d

> root at amd:/# ethtool eth0

> Settings for eth0:
>     Supported ports: [ TP MII ]
>     Supported link modes:   10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>     Supported pause frame use: No
>     Supports auto-negotiation: Yes
>     Advertised link modes:  10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>     Advertised pause frame use: Symmetric Receive-only
>     Advertised auto-negotiation: Yes
>     Link partner advertised link modes:  10baseT/Half 10baseT/Full
>                                          100baseT/Half 100baseT/Full
>     Link partner advertised pause frame use: Symmetric Receive-only
>     Link partner advertised auto-negotiation: Yes
>     Speed: 100Mb/s
>     Duplex: Full
>     Port: MII
>     PHYAD: 0
>     Transceiver: internal
>     Auto-negotiation: on
>     Supports Wake-on: pumbg
>     Wake-on: d
>     Current message level: 0x00000033 (51)
>                    drv probe ifdown ifup
>     Link detected: yes

After the command was run from a terminal (above), Wake-on correctly 
changed from 'g' to 'd'.

/sys/class/net/eth0/device/power/wakeup (after the above was run, if it 
matters), shows 'disabled'.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org