I’m trying to get my OMV 0.4.5 box to suspend with autoshutdown and so far no luck could use a bit of advise.
What I have done so far:
Ticked Wake on Lan in the network section of OMV.
Installed Autoshutdown plug-in, and set it up and added “SHUTDOWNCOMMAND="pm-suspend"” to the extra options.
I test at this point and it's not working, looking at the autoshutdown log I see the last entry is a pm-suspend call. So I ssh in to OMV and see if I can manually do a pm-suspend and get a “command not found”
At this point I realize that pm-utils is not installed. So I do so, and any of it dependencies with and “apt-get install pm-utils” and reboot and test.
Ok, now it seems to suspend fine. However wake up is a different matter.
I have a Asus C60M1-I mini-itx. In it's bios the only settings are: Power on by PME “enable/disable” . So I enable it. And retest. And still no luck in the wake up.
I could use some advise at this point.
Some machine info that could help:
# lspci | grep -i 'ethernet'
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 09)
# ethtool eth0 | grep -i 'wake-on'
Supports Wake-on: pumbg
Wake-on: g
# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
SBAZ S4 disabled
PS2K S4 disabled pnp:00:0a
UAR1 S4 disabled pnp:00:0b
P0PC S4 disabled pci:0000:00:14.4
UHC1 S4 disabled pci:0000:00:12.0
UHC2 S4 disabled pci:0000:00:12.2
USB3 S4 disabled pci:0000:00:13.0
UHC4 S4 disabled pci:0000:00:13.2
USB5 S4 disabled pci:0000:00:16.0
UHC6 S4 disabled pci:0000:00:16.2
UHC7 S4 disabled pci:0000:00:14.5
PE20 S4 disabled pci:0000:00:15.0
PE21 S4 disabled pci:0000:00:15.1
RLAN S4 disabled pci:0000:04:00.0
PE22 S4 disabled
PE23 S4 disabled
BR14 S4 disabled pci:0000:00:04.0
PWRB S4 *enabled
# grep 'NETDOWN=' /etc/init.d/halt
NETDOWN=yes
# grep 'ethtool' /etc/network/interfaces
pre-down ethtool -s $IFACE wol g
Alles anzeigen
Thanks.
Ack