We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


Wake On Lan
#2
(24-Oct-2019, 06:17 AM)mkysimes Wrote: Not sure if this is the right sub-forum for this but has anyone successfully configured WOL in Snakeoil? I want to use a PC in another room for my LMS duties but I don't want to leave it on all the time. I do have an app for my phone that will wake it up but I figured I'd ask if anyone has a way to send the "magic packet" from within the Snakeoil interface. Any ideas?

Thanks in advance.
I don't think WOL is a kernel feature so the existing kernels will work. You just need to turn on WOL in the BIOS, and any tools should be able to wake the PC up.. You'll know WOL is working if
  1. If the PC actually powers on when you send the comman (e.g. using etherwake)
  2. The connect LED of your network card is still lit when on standby
Once your confirm your LMS server is capable. Perhaps just install etherwake on the Snakeoil PC, and add the code into /etc/rc.local file. This script is executed everytime the machine reboots, so should work well. Perhaps can follow this article as a guide.

Having said that, WOL is kind of old technology, and not particularly power efficient. Ideally you want something to be consuming < 0.5 W when on standby.

You might want to consider some efficient smart wifi plugs that'll only consumes < 0.5 W. I've set the computers in my home to turn on if AC is back on. This means the PC will turn on automatically if I turn on the power from mains. This works wonders IMO and is better than WOL as it conserves more power.

Only question is not entirely sure if the addition of a plug will be detrimental to the sound or not. Using this smart wifi plugs, together with things like home assistant, one can introduce some very powerful automations concepts. e.g. if I turn on this plug, set the lights to warm and dim it to 20%, turn on the remote server, turn on the Hifi, etc.

And when I power off the streaming PC, the action will trigger some other automations, e.g. shutdown remote machine, then power off the plug that powers the remote machine, set the lights back to daylight at 100%, and so on.

Edit: I've created a feature request to allow you to insert startup/shutdown commands in the WebApp. Not sure when it'll be implemented, but at least it's in the system now so I wouldn't forget. :p. Also here's the readout of one of my computers (AC on, but PC Is powered off). It's consuming 5.83 W. This is higher than usual because it also has a remote console interface, and of the six network ports, 2 are on WOL.

If you are using a good Intel NIC, and with a good PSU, probably can get < 0.5 W on standby. So far none of my old computers can get to to that (Havn't checked my new Ryzen to see how much power draw when it's off).

[Image: Plug-Power-Consumption.jpg]
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
Wake On Lan - by mkysimes - 24-Oct-2019, 06:17 AM
RE: Wake On Lan - by agent_kith - 24-Oct-2019, 08:27 AM
RE: Wake On Lan - by mkysimes - 24-Oct-2019, 09:25 AM
RE: Wake On Lan - by agent_kith - 24-Oct-2019, 10:20 AM
RE: Wake On Lan - by Bromf - 24-Oct-2019, 12:19 PM
RE: Wake On Lan - by mkysimes - 25-Oct-2019, 04:26 AM



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2574
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1758
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9940
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 1048
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 775
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5757
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 6188
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 16236
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 5410
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1402

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.