Who would have thought that something so simple could mess things up so bad? I had a serious problem with resume from sleep with my Toshiba running Hardy 8.04. It turned out just by editing one line I fixed it. Here’s how.
Nothing clever , but a word first. NetworkManager (gnome) handles my network connections. This is good because I don’t have to edit /etc/network/interfaces every time I want to make a change to my network settings. Unfortunately on resume from sleep nm runs dhcp and waits for it to timeout or get an IP. Apparently the network goes up after resume from sleep therefore it would be impossible to get an IP since the network isn’t initialized at that point. The easiest way around it is to remove any auto statements in your /etc/network/interfaces file with the exception of your looback address (auto lo). This seemed to bring my Ubuntu out of sleep in a matter of 2-3 seconds max.
You are a winner!
That fixed one of the remaining probs with my Asus Eee 4G.