Hibernate - Ubuntu?

Soldato
Joined
20 Jun 2005
Posts
3,826
Location
London..
I have a server with Ubuntu installed, it's a headless machine which I can access though SSH or RDP. For power saving purposes, is there a way I can make it hibernate after ~30 minutes if there is no activity, and then wake if a computer/device on the network attempts to access a SMB share?

Thanks
 
thats kind of what i want to do aswell.

although perhaps to do it on a system that doesnt require imediate access as coming from hibernate and re establishing any network would take a few seconds longer than i could be bothered to wait.

another idea i had was to set wake times, so that when im home (usually about 6pm) i can have the system booted and ready, it can shut down again after 1hr of inactivity but still have WOL enabled
 
Well it may be possible to set it to hibernate after a certain amount of time, and with some clever bash code you might be able to tie that in with some sort of network variable... but i doubt it would work for waking up, because hibernating is either suspending to RAM or HDD, where your current session is saved as it is so it can be started again in a few seconds - as far as i'm aware no processes are actually running.
 
Back
Top Bottom