Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] WOL: ethtool and sopass
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aszrael
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 101
Location: Hannover/Germany

PostPosted: Wed Feb 06, 2008 1:18 pm    Post subject: [solved] WOL: ethtool and sopass Reply with quote

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
View user's profile Send private message
MotivatedTea
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 269
Location: Toronto, Canada

PostPosted: Thu Feb 07, 2008 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Aszrael
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 101
Location: Hannover/Germany

PostPosted: Thu Feb 07, 2008 6:30 am    Post subject: Reply with quote

I thought "SecureOn" was just an extension to MagicPacket - so that "g" would imply "s".
Thanks a lot for clarification.

Aszrael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum