View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jun 05, 2005 11:09 am 
Offline
Joined: Sun Jun 05, 2005 10:56 am
Posts: 2
All,

Now that I have working knopmyth setup I am trying to tune the "Shutdown/Wakeup" options. I have a working WOL (wake on lan) ethernet device in my box. from my webserver I can do wol MACaddress and this boots my mythtv box. I also have a script to send the time to my webserver to use the at command to wake up the mythtv box. Bassically I have followed the guide at http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.6
The problem is with the $time param that should be passed to my wakeuptime command.
This is the script :

root@mythtv:/home/mythtv# more /usr/local/bin/mythwake-script.sh
#! /bin/sh
sudo ethtool -s eth0 wol g
#echo $1 | nc new-server 5100
echo $@ > /home/mythtv/wakeup.tx

For testing purposes I write the output to a file.
When the mythbackend is idle it calls this script but never passes the $time argument.
I have read QT::QDateTime.toString docs and tried out tens of combinations but when my script gets executed it never receives the $time data.
The "wakeuptime format" is now hh:mm dd-MM-YY

Any ideas how to further debug this problem ?

regards,
Nico


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 12:13 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
have you searched the wiki. there is a howto on this kind of thing.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 12:31 pm 
Offline
Joined: Sun Jun 05, 2005 10:56 am
Posts: 2
I have read the WakeupToRecord wiki howto. This uses the nvram to wake up the box. The wakeup time format used in the wiki is "time_t", but even when i use this param and write a simpel script to write the argument to a file when mythtv is idle,nothing is passed. In the mythbackend log there is no indications what is going wrong. The only thing I know for sure is that mythbackend executes the script but apperently no $time data is passed.
This is where I am stuck.

regards,
Nico


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu