On Thu, May 26, 2011 at 12:09 PM, <gilbert.fernan...@orange.fr> wrote: > On Thu, May 26, 2011 at 11:15:40AM +0200, Otto Moerbeek wrote: > >> And does it resume? ;-) > > Yes it does ;-) > > If you had the wifi configured, it remains turned on. > So what I have right now is a script for sleep > (zzz2) that turns off wifi then sleeps. Machine wakes up > from any key press. And script resumes and ifconfig urtw0 up.
You can use /etc/apm/suspend, /etc/apm/resume for this (man apmd). Ciao, David