Looking for "powercfg -lastwake" aquivalent command

green22

Dabbler
Joined
Apr 18, 2021
Messages
15
Anyone knows a equivalent command to "powercfg -lastwake" for truenas?
My PC keeps rebooting when I try to shut it down. (Seems to be a common Asus bug with Wake On Lan, but I don't want to surrender yet)
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Check your BIOS settings. This is usually due to a setting that forces a restart after a power loss.

As for TrueNAS, there won't be anything logged once the system shuts down, so there's no such equivalent to that Windows command.
 

green22

Dabbler
Joined
Apr 18, 2021
Messages
15
Thanks, but I already tried that (power off after AC power loss, power on after AC power loss, last state after AC power loss).

Because I can not activate WOL on Windows to check if it behaves like TrueNAS I will try Linux. And if it also could not be powered down with WOL activated maybe some logs may tell me what is wrong:
 
Top