LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-05-2010, 11:48 AM   #1
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

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


Hi,

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:
Code:
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, 01:40 PM   #2
Sharaz
Member
 
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, 02:52 PM   #3
g_srinivas
Member
 
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?
 
  


Reply

Tags
htpc, standby, wakeonlan, wol, xbmc



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 04:05 AM
Ubuntu Server Wakeonlan Not Working When Laptop Lid Closed D11011101 Linux - Laptop and Netbook 1 03-27-2009 02:41 PM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 08:19 PM
LXer: Installing Xbox Media Center (XBMC) On Ubuntu 8.04 LXer Syndicated Linux News 0 10-07-2008 06:00 PM
XP can't access Ubuntu shared folder but xbox (xbmc) does Tristan9669 Linux - Networking 3 08-14-2005 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 AM.

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