Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-05-2010, 12:48 PM   #1
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Rep: Reputation: 15
Question Trigger wakeonlan upon xbmc (Ubuntu) resume


I am running xbmc live 9.11 (r26018) (which I guess is based on Ubuntu Mobile edition) installed and running on ASRock HTPC with all media shared from another pc that is running Windows Home Server (WHS). On week days I am usually out of town so I have configured my WHS to auto standby after certain period of inactivity. My HTPC as well goes into standby and not complete power off.

Now, I would like to have my HTPC send a wakeonlan command to WHS upon resume. I have added following command in /etc/rc.local which is not helping:
wakeonlan <WHS MAC Address>
If I manually type this command in a shell then my WHS does respond and wake up but no response via entry in /etc/rc.local file. I am not much familiar with linux environment and still in the learning stages. I would appreciate if you could tell me what I am doing wrong here and how can I fix it?

Thanks and Regards,
Old 04-05-2010, 02:40 PM   #2
Registered: Jun 2005
Location: Dallas, TX
Distribution: Fedora 11,12, RedHat4,6, CentOS4,5, FreeBSD7,8
Posts: 70

Rep: Reputation: 16
try adding the full path to your wakeonlan, that might do the trick.
Old 04-05-2010, 03:52 PM   #3
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks Sharaz.

Could you please also tell me the full path?

Also, can you confirm if /etc/rc.local file is reloaded upon system resume?


htpc, standby, wakeonlan, wol, xbmc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DWA-552 Ubuntu 9.04... Gnome and XBMC sporadicMotion Linux - Wireless Networking 1 09-30-2009 05:05 AM
Ubuntu Server Wakeonlan Not Working When Laptop Lid Closed D11011101 Linux - Laptop and Netbook 1 03-27-2009 03:41 PM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 09:19 PM
LXer: Installing Xbox Media Center (XBMC) On Ubuntu 8.04 LXer Syndicated Linux News 0 10-07-2008 07:00 PM
XP can't access Ubuntu shared folder but xbox (xbmc) does Tristan9669 Linux - Networking 3 08-14-2005 09:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration