Hi!
I am using reneV's script and I am not able to get the "ping" setting working.
The server goes to sleep even if the clients are still online.
My config:
# [CONFIGURATION]
# before going to sleep
intrnlTimeoutTicks=20 # ticks after HDD spindown before checking for external activity
extrnlTimeoutTicks=1 # ticks of no external activity before sleep; only after spindown+internal countdown
# control of internal timeout
checkHDDs=$yes # check if all HDDs are parked before counting down towards sleep
noCountdownHours="" # only countdown towards sleep outside these hours
# example: <noCountdownHours="07 08 19 20">
# always countdown: <noCountdownHours="">
# control of external timeout
checkTCP=$no # check for TCP activity
pingIPs="192.168.1.166 192.168.1.155 192.168.1.22" # do not sleep if <$pingsIPs> are pingable
# example: <pingIPs="192.168.1.4 192.168.1.5">
# no ping-check: <pingIPs="">
# after waking up from sleep
doDhcpRenewal=$no # <$no> for servers w/static IP address
forceGb=$yes # might not be needed; probably always safe
# [/CONFIGURATION]
manaul pinging works
root@Tower:~# ping 192.168.1.166 -c 3
PING 192.168.1.166 (192.168.1.166) 56(84) bytes of data.
64 bytes from 192.168.1.166: icmp_seq=1 ttl=128 time=9.33 ms
64 bytes from 192.168.1.166: icmp_seq=2 ttl=128 time=0.328 ms
64 bytes from 192.168.1.166: icmp_seq=3 ttl=128 time=0.332 ms
--- 192.168.1.166 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 0.328/3.333/9.339/4.246 ms
Do I need the bwm-ng package for pinging, too?