Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have a Marvell Yukon GigE adapter (sk98lin driver), that can not only wake up, but also boot my PC when it receives an Ethernet Magic Packet. I'm also running a dual-boot system: Debian Sarge and WinXP.
Right now, if I was running Windows prior to shutting down, the computer will boot when I send it a magic packet. However, if it was running Linux, or if I killed it prior to loading an OS, it won't boot on magic packet.
In Windows, I had to go to the adapter's property sheet and check off a few relevant checkboxes to get this to work. Is there an equivalent set of settings for Linux? I found a page suggesting using "ethtool"; the following suggested command didn't work:
Code:
me$ sudo ethtool -s eth0 wol g
Cannot get current wake-on-lan settings: Operation not supported
not setting wol
Does anyone have any other ideas?; or any ideas on how to use ethtool correctly?
Unfortunately, I can't try Wake-on-Lan from Linux (it works great when sleeping from Windows) because I don't have system standby working under Linux (too much new hardware, with kernel-level code that doesn't do power-management yet).
I don't know if it's useful, but here's some other random data, as requested for this forum:
The ITE "Unknown Mass Storage Controller" is a secondary IDE chipset; the Silicon Image one is a secondary SATA chipset. I haven't found a Linux driver yet for this particular Silicon Images chipset; I don't use it, though, so I don't care too much.
The NVIDIA VGA "Unknown device" is a GeForce 6600GT, incidentally; PCI-E card, not onboard.
I'm not sure what most of the other "Unknown"'s should be. The USB controllers are all USB 2.0, though I don't know anything more about them (they work fine, so I haven't investigated).
As another thought, would this be any easier with the onboard Intel PRO/1000 Ethernet controller? Has anyone tried it before? It'd be nice to have eth0 be for the main LAN/Ethernet connection, but it's not really a big deal (the Marvell is eth0, the Intel is eth1).
I think the Intel GigE controller is a bit better supported. Also, you COULD use a different controller to wake the box than to be your primary net connection. Do both eth0 and eth1 go to the same network?
eth0 goes to a local (very large) LAN / Internet connection.
eth1 is something of a waste of a high-speed GigE connection. It connects via crossover cable to an Ethernet-to-Apple LocalTalk converter box (LocalTalk was Apple's serial port-based networking structure prior to Ethernet; I believe it runs at something under 1mbps); on the LocalTalk network, there's currently one old laser printer, though I use it for old Macs on occasion as well.
eth2, incidentally, is a Firewire/IP connection to my laptop, when it's connected. I doubt this has any bearing on this problem, but you never know...
I only get one Ethernet drop for this machine, so no fancy rearranging there.
I've had trouble getting raw AppleTalk (not AppleTalk/IP) packets to go over the Marvell card in the past. This may be fixable (or it may be human error on my part), but it'd have to be fixed if I switched the ports, as LocalTalk can only handle the AppleTalk networking protocol.
Here's some more data from ethtool:
Code:
me$ sudo 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: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
me$ sudo ethtool -a eth0
Pause parameters for eth0:
Autonegotiate: on
RX: on
TX: on
I tried switching eth0 and eth1; eth1 seems to remote-boot fine using both Linux and Windows. I set up the card's settings under Windows again (more descriptive texts in dialogs for an Ethernet n00b). Under the Marvell options, the Wake on Magic Packet setting was either "On" or "Off"; with the Intel options, it was either "Off", "OS controlled", or "Forced". "Forced" works for me. Maybe the Marvell's "On" meant "OS controlled"?
AppleTalk works fine over the Marvell adapter this time. Don't know why it didn't before...
Oh well, one more minor thing on this box that Linux doesn't quite support yet. I'd guess it'll be fixed eventually if anyone else cares. Just under half the stuff that wasn't working yet when I bought this machine (a few months ago) now works fine, and the stuff that's still broken is stuff that I never use.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.