View previous topic :: View next topic |
Author |
Message |
Aszrael Tux's lil' helper
Joined: 15 Feb 2005 Posts: 101 Location: Hannover/Germany
|
Posted: Wed Feb 06, 2008 1:18 pm Post subject: [solved] WOL: ethtool and sopass |
|
|
Hi,
I've recently setup Wake-On-Lan using sys-apps/ethtool-6 and net-misc/wol-0.7.1 -
everything fine so far.
Now I wanted to integrate "SecureOn"
Code: | #ethtool -s eth0 wol g sopass xx:yy:zz:aa:bb:cc |
Unfortunately my box still wakes up upon any MagicPacket
Code: | #wol 00:0A:0B:0C:0D:0F |
seams to ignore passwords...
Is my NIC not supporting "SecureOn" or did I just misunderstand ethtool-Syntax?
Thanks for your help
Aszrael
some more info:
Code: | #lspci
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI
Fast Ethernet (rev 90)
#ethtool -i eth0
driver: sis900
version: v1.08.10 Apr. 2 2006
firmware-version:
bus-info: 0000:00:04.0
#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: pg
Wake-on: g
Current message level: 0x000000c5 (197)
Link detected: yes |
Last edited by Aszrael on Thu Feb 07, 2008 6:24 am; edited 1 time in total |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Thu Feb 07, 2008 5:27 am Post subject: |
|
|
The answer to your question is in man ethtool. You posted the following output:
Code: | Supports Wake-on: pg
Wake-on: g |
That means your card supports "p" (physical activity) and "g" (magic packet), and that you have set it to "g". It looks like your card does not support SecureOn passwords. If it did, you would want to change your command line to "#ethtool -s eth0 wol s sopass xx:yy:zz:aa:bb:cc", but that's a moot point for you. |
|
Back to top |
|
|
Aszrael Tux's lil' helper
Joined: 15 Feb 2005 Posts: 101 Location: Hannover/Germany
|
Posted: Thu Feb 07, 2008 6:30 am Post subject: |
|
|
I thought "SecureOn" was just an extension to MagicPacket - so that "g" would imply "s".
Thanks a lot for clarification.
Aszrael |
|
Back to top |
|
|
|