Mar 7 2012
How to totally disable suspend/hibernation in ubuntu (If all else fails)
Just wanted to share my own experience and the hack I found to deal with it.
I even tried poking the monitor off and on and various such options.At that point the following options were available that I knew of:
1) Install another linux distro (e.g. ubuntu server)
2) Install another OS e.g. Free NAS
3) if 1 and 2 failed build another pc using another motherboard.
4) Try updating the kernel…
However, being in a jam due to time pressure for other tasks I decided to try adding a cron script to write to a file every few minutes. Surprisingly the server is still up after 2 days and has stopped sleeping.
I suspect reading from a file every 20 minutes, or writing to dev/null may also stop the idle state.
Just my 2 cents about this very frustrating problem and a dirty hack which worked.
“Taking any old pc and calling it a server doesn’t make it so” .
Menelaos
Not bad for a setup on an old IBM thinkcenter A50 | Menelaos Bakopoulos
Aug 08, 2012 @ 03:38:13
[…] 1) http://mbakopoulos.wordpress.com/2012/02/23/raid-6-backup-server-with-samba-windows-sharing-e-mail-monitoring-ubuntu-and-remote-desktop/ 2)http://mbakopoulos.wordpress.com/2012/03/07/how-to-totally-disable-suspendhibernation-in-ubuntu-if-a… […]