Wake on lan FROM TrueNas

DVas

Cadet
Joined
Jun 19, 2022
Messages
1
Hi everyone !
I've just started using TrueNAS, replacing my old self-made system. One feature I need (and used pretty much before) is ability to WOL my home desktop, sending magic packet from server - now server is TrueNAS Scale. I've searched a lot and even found how to make it - but for TrueNAS Core, which already has "wake" utility from the box.
Is there any method to send magic packet from TrueNAS Scale ? I'm ready for any advise - from application in catalog to shell command
Thanks in advance !

Athlon x3 460
16 Gb RAM
250Gb system + 2*1Tb data HDDs
 

jct

Explorer
Joined
Aug 14, 2021
Messages
52
I don't know the history of why /usr/local isn't its own persistent mount where you could manually build and install things alongside their respective man pages.

But you can always build or extract binaries into your home directory (or into root's…) and run them from there. (Unless you've revoked execution privilege from your home's dataset.)

Code:
curl -O http://ftp.debian.org/debian/pool/main/e/etherwake/etherwake_1.09-4+b1_amd64.deb
dpkg-deb -X etherwake_1.09-4+b1_amd64.deb /tmp/etherwake
mv /tmp/etherwake/usr/sbin/etherwake .
./etherwake -u
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
The official assumption is that you can run a container to do whatever can't be done on the host, so there's that option.

As mentioned, you can take a compiled executable binary and drop that somewhere in a pool and run it if permissions are correct.
 
Top