Re: Wake-on-LAN

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

 



* Timothy Murphy <gayleard@xxxxxxxxxx> [20090405 22:46]:
> Roberto Ragusa wrote:
> 
> Thanks very much.
> 
> > Wake On LAN should actually be able to wake a system up
> > from power off state, so it should reasonably work
> > for suspended systems too.
> > 
> > As a first thing, the NIC LED (or the LED on the ethernet switch)
> > should be on; it will be on even when the system is switched off,
> > if WOL is active.
> 
> Surprisingly, it is on when I "shutdown -h" the machine,
> but off when I set the machine to hibernate.

That's because the drivers deal with ACPI states S3 and S4 different
to S5.

You *can* wake the system up from S3/S4, but you need to issue a
command first.

# echo -n LAN > /proc/acpi/wakeup

Once you have done this, then you can suspend/hibernate and WOL the
system. The patch for this should be in CentOS 5.3.

Also, different drivers may behave differently in this respect. I only
know of e1000/e1000e behaving correctly with this as I've not tested
it on other hardware.

> > Then WOL has to be enabled. You can trust the BIOS
> > or, better, run
> > 
> >   ethtool eth0
> > 
> > and you will get something like
> > 
> >   Supports Wake-on: pumbag
> >   Wake-on: g
> 
> I had forgotten about ethtool.
> I do indeed get "Wake-on: g"
> which I see means "Wake on MagicPacket".
> 
> So I must see if and hopefully how
> I can send the machine a "MagicPacket".

ether-wake <MAC> is what I used when I did all the testing on
this. It's a tool that generates the exact packet needed.

-- 
Anders Rayner-Karlsson <anders@xxxxxxxxxxxxxx>
All-Round Linux Tinkerer, RHCE and PITA DeLuxe

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux