[mythtv-users] WOL SBE

Michael Watson michael at thewatsonfamily.id.au
Tue Jan 15 00:30:00 UTC 2013


On 14/01/2013 10:54 PM, Mike Perkins wrote:
> On 13/01/13 23:14, Michael Watson wrote:
>> On 14/01/2013 3:24 AM, William Jacoby wrote:
>>> I have two machines. The first is a FE/MBE. The second one is 
>>> FE/SBE. I'd like
>>> to set the MBE to use "wakeonlan mac-addrs" to wake up the SBE when 
>>> needed and
>>> also shut it down when not needed. I have the SBE Bios set for WOL. 
>>> I can
>>> manually wake it from the MBE, just not sure how to setup mythtv to 
>>> do it.
>>> After searching all I find are post/articles/wiki entries that 
>>> pretty much
>>> show how to use either "/ACPI WakeUp" /which isn't what I want or 
>>> how to wake
>>> up the MBE.
>>>
>>>
>>
>> On the Slave backend, run mythtv-setup,   Navigate to  General -> 
>> Backend Wakeup
>> Settings
>> At the bottom of this page are the two options to shutdown and wakeup 
>> the slave
>> backend (these are set per SBE, so you need to do this on each slave 
>> backend, if
>> you have more than one)
>>
>> - The sleep command for a SBE only can be simply "sudo shutdown -h 
>> now" (without
>> the quotes) [This command is run on the slave backend]
>> - The Wake Command can be simply "wakeonlan <macaddress>"
>> [This command is run on the master backend]
>>
>>
>> The FE and BE run as seperate process's on your SBE (and dont talk to 
>> each
>> other), so the MBE will tell the SBE to shutdown within in couple of 
>> minutes of
>> startup if it is not required for recording, so your shutdown command 
>> needs to
>> be a script that checks whether the FE is in use, and block the 
>> shutdown until
>> the frontend is idle.
>> The MBE will only try and shutdown the SBE *ONCE* (unless you restart
>> mythtv-backend on the slave or restart the slave)
>>
> I thought that was why mythwelcome was created? For exactly this 
> scenario? Or was it for FE-only machines?
>
 From Memory, with MythWelcome on the SBE/FE the SBE will stay powered 
up until the MBE is idle, so with my setup, the SBE/FE would stay 
powered on most of the time, as most of my tuners are in the MBE (and it 
does a lot of recording), and the Tuner in the SBE is only used a couple 
of times a week.



More information about the mythtv-users mailing list