At 11:32 2003-03-13, busab wrote:
Mattia Dongili wrote:it can be done in config file generated by the script available here : http://fchabaud.free.fr/English/default.php3?COUNT=3&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp I never make it work on my laptop but work well on the others. Sometimes I got some trouble with sound (I use esd) or hardware acceleration (solved by using the nvidia option in the config file).hi,After the resume, my eth0 isn't restored. 'ifup' gives the "interface already configured" so I need to run 'ifdown'. After that ifup worksjust fine, and all my networking is back to normal. Why I get errors when resuming, and afterwards can run an ifdown/ifup and it works is pretty confusing to me. Any suggestions?yes, try to ifdown/rmmod _before_suspending_ and ifup/modprobe _after_resuming_, it should do the trick. many drivers still don't have any power management code, so you need unload modules before suspend and reload them after resume.
I read through the 'networking' script, and the script runs ifup/ifdown. The 'hibernation' script runs them as well, so I took a chance and removed 'networking' from services to be stopped and restarted on suspend/resume.
So far it works. I haven't found any problems (yet).I think this might have to do with the fact that there is no builtin nic. I only have a CardBus nic.
//I -- ********************************************************************* Ivar Alm ! Where does Microsoft want to drag you today? ! Umeå, Sweden ! Do you really want to go there? ! ivar@octofingers.com ************************************************ http://www.octofingers.com