Re: network problem when suspending



Ziller wrote:
Hi guys,

I have Linux SuSE 10 installed in a laptop. The network works okay but
it doesn't work after suspending.

I have tried restarting manually the drivers using ifdown and ifup. The
problem is when getting the ip address from a DHCP server. It just look
for a DHCP server and it just says that it can't find any. The strange
thing is that everything is okay when I restart the computer normally.

Does anybody has experienced a similar problem?

thank you....



Ziller,

This is quite typical. You'll probably have to rmmod the appropriate module(s) as well.

Something like:

ifdown eth0
rmmod eepro100 (or whatever you're using)

If it won't unload you'll have to stop other services and/or rmmod other modules as well.

then:

ifup eth0

If "ifup" doesn't  load the module you'll have to do it with "modprobe"

One thought would be to put these commands in a script to make is easier. Often X will break when you suspend too. I sometimes just disable the suspend feature all together.

Scott R. Haven
Sr. Systems Engineer
Paisley Systems Inc.
www.paisleysystems.com







.



Relevant Pages

  • Re: [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 3)
    ... This is the 3rd revision of the patch introducing new callbacks for suspend ... and hibernation. ... Same problem with use-after-put. ... Okay, thanks for the comments. ...
    (Linux-Kernel)
  • Re: cpufreq problem wrt suspend/resume on Athlon64
    ... Yes, this looks okay. ... and eg in swsusp we restore the image between ... > suspend() and resume, so this may very well happen sometimes, it ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: network problem when suspending
    ... thing is that everything is okay when I restart the computer normally. ... I sometimes just disable the suspend feature all together. ... Furthermore it would be pretty much interesting for the developers to know more about that particular problem (hardware, kernel, drivers). ... Could you please report that bug to bugzilla? ...
    (comp.os.linux.networking)
  • Re: [PATH] swsusp update 1/3
    ... > Hmm, okay, I guess temporary sysctl is okay. ... suspend. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)