Saving energy with WOL
Good day to you, fellow geeks!
Just a short, albeit hopefully useful, entry this time round concerning power conservation.
I've been looking at ways to get my computers to consume less power, realizing that having 2+ computers whirring continually 24/7 might not be the BEST thing for the environment, to say nothing of my pocketbook!
One thing I've been wanting to muck around with for ages is "Wake On Lan", or WOL for short. This technology, which should be available on all modern motherboards, enables a user to allow his or her PC to go to full sleep mode and allow itself to be reactivated by sending a specially crafted packet to the computer's network card.
In practise, this means that your PC can be fully deactivated (drives spin down, fans off, processors off) with only a trickle of power to the motherboard allowing the ethernet card to monitor the network.
Why is this TOTALLY cool? Well, simple: You can, for example, enable a single computer in your household that is on 24/7 and monitoring connections from the outside world. This would be an excellent role for a thin client to fulfill since most modern thin clients pull only about 5W of power compared to the 150W+ monster desktops in use today. This thin client could then be used as the launching point from which to send the magic packets required to wake the other computers in the house, if they happen to be needed.
The method I am going to explain was carried out on a Fedora 10 box with an NVIDIA MCP51 Ethernet controller.
The method
First things first: Reboot your PC and get into the BIOS menu. Within the BIOS, you need to look for a "power management" section and within that see if there are any entries that say "Wake On LAN". If you find this entry, make sure that "Wake On LAN" is enabled. If you don't find an entry like this, it may mean that your PC BIOS does not support this feature. If you DO find this entry, and you enable Wake On LAN, then read on...
Restart yourLinux distro of choice and see if the power settings are configured as they ought to be. In Fedora, you need to go to "System -> Preferences -> System -> Power Management". Once here, ensure that the option slider "Put computer to sleep when inactive for" under the "On AC Power" tab is enabled, that is, that the slider is set to a time and doesn't say "Never". In my case, I set the value to 1 hour. Any less and I found that the computer tends to go to sleep when you're momentarily distracted by other things, thereby requiring you to wait a few extra seconds when you get back to using it.
Now that sleep is set, your PC will, after the specified amount of time and having not detected any activity, put itself to sleep. All you need to do now is to make sure that your network card is able to receive a Wake On LAN packet. To do this, make sure you have the "ethtool" program installed. For Fedora 10 users, this can be found as a package named, surprisingly, "ethtool". What you need to do with Ethtool (Or what I needed to do for this specific Network Card, in any case - a card which uses the "forcedeth" driver, by the way) is to make it tell the Network Card that it should cause the computer to wake up when it receives a magic packet. You do this like so:
/usr/sbin/ethtool -s eth0 wol g
Now, what does all this mean? Simple: "-s" tells the ethtool what Network Card to carry out this command on. This is of course useful in a system that has multiple network cards. For most users, the default "eth0" card (first network card on the system) should be adequate. Next is the "wol" parameter. This is of course short for "Wake On LAN". You are telling ethtool to invoke the WOL functionality with the "g" option. What is "g" in this case? "g" tells the Network Card to wake up the computer when it receives a magic packet. You could also allow the computer to be woken up on receipt of unicast, multicast, broadcast, or ARP activity, among other things. I didn't want to have any false wakeups, however, and that's why I chose for the magic packet option - which effectively means only a specially crafted packet will wake the computer up, and not spurious network activity. The really paranoid among us can even set a password along with the command. This means any magic packet sent to this PC also has to specify the correct password, otherwise the computer will not wake up. For more info on this, see the ethtool man page.
So that's it. That's all she wrote. The opera is over.... Oh no... Of course it isn't. When I next reboot my machine, the Network Card will be reinitialized and probably no longer allow itself to be woken up by the magic packet. So to be sure, I added the ethtool command described above to my "/etc/rc.local" file. "/etc/rc.local" is a file that is processed upon startup after all the other startup scripts have been processed. For a desktop machine, this means you can be sure the Network Card has already been activated when the "ethtool" command is executed from within the "/etc/rc.local" file.
One final thing: In order to be able to send a magic packet to this computer, you need to know it's hardware, or MAC, address. A MAC address is like the physical address of a PC. Even when the IP address is no longer active (The network card itself doesn't really bother with things like IP addresses - all it knows is it's MAC address. IP addresses are things that are created and used by higher level things - like the operating system of the PC. When asleep however, there is no IP address, so we NEED to use the MAC address instead). To find your PC's MAC address, simply type in
/sbin/ifconfig
At the command prompt and all your PC's network interfaces will be displayed. There may be more on your system than just the one. Chances are, you'll be looking for the Network Interface called eth0. Next to the name should be a block of information relating to this Network Interface. You are looking for the "HWaddr" parameter. This should have next to it a group of six, two letter characters, separated by colons. Something like: 12:AE:00:01:FE:1A. Write this sequence down. You're going to need it to wake up the PC from another computer.
That really is all there is to it. After the specified amount of inactivity, your PC will put itself to sleep and allow itself to be woken up by the magic packet. So I guess all that remains is to explain...
How do I wake up?
Now to test it all. Once your PC is safely asleep, get to another pc on the network and prepare to send a magic packet. What is a magic packet, come to think of it? It's a specially crafted network packet that you send to the MAC address of your sleeping machine. Once the sleeping machine receives this packet, it sends a signal to the power management and the computer wakes up. To do this, of course, you need to know the MAC address of your PC. Which is why I asked you to write it down after you were done configuring the PC.
From a linux client, you can use the "ether-wake" (or, for some distros, "etherwake") tool to send the magic packet that will wake up your sleeping PC.
Windows users could try the program supplied by the website http://gammadyne.com/cmdline.htm called wol.exe. I haven't tried this program yet so use at your own risk and let me know what results you get!
Ether-wake, on Fedora systems, is part of the net-tools package and is easily obtained and installed using the package manager.
Once installed, as root (by typing su and entering your root password or by preceding the following command with "sudo") type:
/sbin/ether-wake -i eth0 12:AE:00:01:FE:1A
And that's really all there is to it. By specifying the "-i" parameter, you tell ether-wake on which network card to send the magic packet. Again, this is usually eth0 but could be handy if you have a PC that has more than one network card. After the "-i" parameter you type the MAC address of the PC you want to wake up. This is the MAC address I made you write down when configuring your sleeping PC earlier.
For the technically curious, all a magic packet is is a specially crafted UDP packet that gets sent out on the broadcast address of the subnet and therefore reaches all Network Cards located on that subnet. Your sleeping PC's network card is listening for the packet and, when it "sees" it's own MAC address in the payload of the magic packet, it wakes up its host PC.
Good grief. I said this was going to be short. But I just LOVE to talk. My profound apologies. Hope this is useful to someone.
Reader Comments (5)
This is a good article,thank you for your share,I like it very much.Our products are superior in quality and moderate in price and are sure to be saleable in your market,by virtue of this superior quality, this product is often sold out in many areas. This new product is really much better than the previous one. You have to try it to believe it.Replica Handbags Wholesale|
we provides you the best and most fashionable products. All the products are 100% high quality, competitive price, free shipping with best and timely service, 100% satisfaction. Big discount for big order. Welcome to make your choose.
ghd
hair straightener
hair irons
hair iron
straighteners
straightening irons
ghd iron
cheap straighteners
ghd hair iron
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
discount handbags
lv
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
lv
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
lv
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
lv
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
lv
louis vuitton bags
louis vuitton
lv
louis vuitton wallets
louis vuitton purses
louis vuitton sunglasses
louis vuitton shoes
louis vuitton bags
louis vuitton handbags
lv
louis vuitton bags
gucci
gucci handbags
gucci bags
gucci wallet
gucci shoes
gucci sunglasses
gucci men
gucci women
gucci cheap
gucci discount
gucci outlet
mbt
mbts
mbt shoes
chesp mbt shoes
walking shoes
discount shoes
comfort shoes
discount mbt shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
ugg discount boots
cheap ugg boots
ugg boots cheap
discount uggs boots
ugg cardy boots
discount uggs
discounted ugg boots
cheap uggs boots
uggs for cheap
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg boots sale
ugg boots on sale
ugg boots on cheap
ugg discount
discount ugg
uggs
discount uggs
ugg sale
ugg kids
ugg women
cheap ugg
weight loss
diet pills
how to lose weight fast
ed hardy
ed hardy clothing
ed hardy clothing shirts
ed hardy clothes
ed hardy t shirts
ed hardy
ed hardy clothing
ed hardy clothing shirts
ed hardy clothes
ed hardy t shirts
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
chaojimengnan supplier
chaojimengnan
Top Selling Bridesmaid Dresses are very popular, so you should buy some Top Selling Bridesmaid Dresses,Junior Bridesmaid Dresses are also very popular, so you should buy someJunior Bridesmaid Dresses,Short Bridesmaid Dresses are also very popular, so you should buy someShort Bridesmaid Dresses,Long Bridesmaid Dresses are also very popular, so you should buy someLong Bridesmaid Dresses,Simple Bridesmaid Dresses are also very popular, so you should buy someSimple Bridesmaid Dresses,Evening Dresses 2011 are also very popular, so you should buy someEvening Dresses 2011,Sexy Evening Dresses are also very popular, so you should buy someSexy Evening Dresses,Elegant Evening Dresses are also very popular, so you should buy someElegant Evening Dresses,Short Evening Dresses are also very popular, so you should buy someShort Evening Dresses,Long Evening Dresses are also very popular, so you should buy someLong Evening Dresses,Plus Size Evening Dresses are also very popular, so you should buy somePlus Size Evening Dresses.Faviana a short Carolina Bang dress.Full Katherine Heigl dress are also fantastic. Allure is essential element of JESSICA BIEL DRESS too.
Dresses for semi formal occasions could be a bit less textured compared to formal functions. It doesn’t need to be full length but short plus size wedding dresses will also do. Faviana Style: 6216 is a short Carolina Bang dress. It is stretch satin dress with back closure, sweetheart neckline and thick straps.Summer Wedding Dresses is made in black, red, teal, and white. Dressy pants and overcoats are acceptable. Full Katherine Heigl dress are also fantastic. Allure is essential element of JESSICA BIEL DRESS too. Material choice for dresses must be dressy like silk, velvet, cashmere, brocade, beach wedding dresses.I really loved this post. You write about this topic very well. There are many prized moments in life, why not buy a Hot Prom Dresses. When looking back on photos of your loved one wearing a Simple Wedding Dresses, it will put a smile on your face.
Wedding Guide|Wedding Veils|Wedding Tiara|Wedding Petticoat|Wedding Jewelry|Wedding Gloves|Wedding Accessories|Homecoming Dresses|Evening Dresses|Cocktail Dresses|Ball Gown|Formal Dresses|Girls Princess Dresses|Party Girls Dresses|Holiday Girls Dresses|Flower Girl Dresses|Simple Bridesmaid Dresses|Long Bridesmaid Dresses|Short Bridesmaid Dresses|Junior Bridesmaid Dresses|Bridesmaid Dresses|Sexy Wedding Dresses|Elegant Wedding Dresses|Chic/Modern Wedding Dresses|Classic Wedding Dresses|Simple Wedding Dresses|Reception Wedding Dresses|Beach Wedding Dresses|Wedding Dresses|Bridal Gowns|formal-dresses-for-winter-2010,how-to-buy-formal-dresses,formal-dress-for-women-2011.
As for Word 2010, Microsoft Office I really like the ribbon effect Microsoft Office 2007. The only really annoying thing so far is Micro office 2010 that once a document is closed, it doesn't show up on the "Recent Documents" list if it is download Office 2010 saved in the temp directory (for example). So, 2010 office if you forget to save your doc to the Office 2007 right place, it may be hard to find. For me, being on the set of the Martha Stewart television show Office Microsoft 2010 was a treat. It was the Office 2010 download second time, actually, because back in October Anduin showcased Office Microsoft Microsoft OneNote on the air for how it was office 2010 professional helping her keep track of everything from her daughter's school information to her holiday gift list to her complete set of Thanksgiving plans. This was simple to install, early loaded onto my new Windows 7 program. Office 2010 I had no problem MS office 2007 linking over old files from my MS office 2010 old computer. Old file information was easy absorbed by the 'New' versions of the various office products and Microsoft outlook 2010 in just a few minutes all my Office 2007 key old data was reasonable so I had very minimal down time. Last week, the Martha Stewart show featured Microsoft office professional 2010 Word in a television segment about office 2010 pro how to make personal holiday cards quickly and easily. As the product guy responsible for most of the Office Microsoft outlook apps, of course I was Office 2007 download tickled by the fact that Office 2010 Microsoft Word was going to be on TV. Word doesn't get much stage time, you understand. She's definitely the behind-the-scenes kind of girl; much like Anduin Havens, who is the art director for the Microsoft Office 2010 Martha Stewart show download Office 2007. Anduin has got to be one of the 2010 Office Microsoft most creative people I've ever met. She's brilliant, she's won an Emmy for her work on creating the Outlook 2010 set of the show, and she made Office 2010 key these beautiful holiday cards office 2010 home in Word, which were featured on the air.
It’s really a nice and helpful piece of information.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~~~~~~~~~~~~!!!!!!!!!!!!!!!
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
I’m glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
What a fun pattern! It's great to hear from you and see what you've sent up to.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
All of the projects look great! You make it so simple to this. Thanks
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
I am often to blogging and i really appreciate your content.
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
tiffany uk
tiffany London
tiffany outlet
tiffany online
The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
tiffany jewelry
tiffany co
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
jack wills
jack wills outlet
jack wills online
jack wills clothing
jack wills uk
jack wills clearance
jack wills sale
A unique discussion merits a comment. I LOVE YOU