This is an original dell r720 board with 2 sockets.
ethtool -s [interface_name] wol g
Forgot to mention
if i do an ethtool eno1
i get
wake on lan d
i also tried this script in the truenas shell here above with no results
Found solution,
On the dell r720 once one presses F2 to enter the bios, go to device (all the NICs will be displayed)
for each nic got to the power settings and enable WOL and selec PXE for legacy boot
reboot the server
In truenas scale 25.04 enter the truenas shell as admin type
sudo ethtool (your network Interface name)
if you see in the displayed list wol d then you need to type the following command in the shell ethtool -s [interface_name] wol g once this is done type
sudo ethtool (your network Interface name) again to confirm wol g
reboot server
In home assistant automation i added the server mac address and save the automation.
i shut down the dell server and the ran the automation
At the moment all my NICs (4 but only one connected to the lan) have wol enabled and the boot is PXE and i have in the edit init the following command “ethtool -s eno1 wol g” and still it does not wol
In going to the truenas shell and typing ethtool eno1 i still see the wake on lan as d
I was under the impression that by adding the command ethtool -s eno1 wol g to th would have made this change permanent in edit init.