Red Hat Bugzilla – Bug 708450
Network Manager Slow After Hibernate
Last modified: 2013-02-13 20:05:33 EST
Description of problem:
Network manager seems very slow to connect back to my wireless network after I open the lid on my Macbook Pro, compared to OSX.
On OSX, it gets itself back on the network within seconds, but on Fedora, it seems to take up to half a minute.
Is there anything that can be done about this? Is it trying wired networks or something first? Are the wireless drivers really slow to come up on Linux? Just a few suggestions, but something is off ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Agreed. It takes my connection about 45 seconds to reconnect after a suspend. Actually, it's any time a connection is made - it's just that the boot/login process takes enough time to mask the issue. One of my wireless connections is via a Belkin Cardbus N adapter that uses the RPMFusion rt2860 driver so I can easily see the LED activity. It appears to be connected quickly but NM takes much longer to allow usage. The built-in Intel ipw2200 does the same thing.
Please grab /var/log/messages so we can see what's going on.
Created attachment 503211 [details]
/var/log/messages of entire sleep/resume sequence
Jeff, the delay is caused by timing out on DHCPv6. The router informs the client it should get IPv6 address via DHCPv6, so it does, but the transaction times out.
So you should either set the connection to "Ignore" for IPv6 if you don't want to use IPv6, or properly configure IPv6 infrastructure (set the router to assign IPv6 via SLAAC and/or confirure DHCPv6).
Oy freakin' vey! I just ass-u-me-d that leaving IPV6 alone disabled it. Setting it to Ignore works as advertised. Sorry for the confusion.
BTW, I don't believe I had done anything to IPV6 in F14 - did NetworkManager change behavior?
(In reply to comment #6)
> BTW, I don't believe I had done anything to IPV6 in F14 - did NetworkManager
> change behavior?
Yeah, the IPv6 is switched on by default now. See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=538499
I do think it connects faster with this setting, but does anyone else think it connects faster than the GUI actually tells you? I'm sure I'm able to browse before the GUI say I can.
I can certainly see the icon in 10 seconds or less now (sometimes the connection seems to be made almost immediately, sometimes it takes a bit longer - I think it's an issue with my router). By the time I type in my password upon resuming, the network is ready by the time I am so it'd be a bit hard to try to test whether I could browse before the status icon sez I can.
The IPv6 setting worked for me too. Browsing is not possible before the GUI tells me.
This is still 10 times slower than on OSX for me. Even with the IPv6 setting off.
This is still slow. For what it's worth, it seems Fedora is scanning for all available wireless networks before connecting to my usual one. Is it just that OSX is trying straight away for the one it last/usually used/uses and so appears to be loads quicker?
Still a problem on Fedora 16, raised a bug with upstream ...
This actually seems a lot faster on F17 ... although I can't help but wonder if it's because my laptop isn't suspending or something?
(In reply to comment #14)
> This actually seems a lot faster on F17 ... although I can't help but wonder if
> it's because my laptop isn't suspending or something?
The kernel drivers may be faster, and wpa_supplicant (the thing that actual controls the wifi at a lower level) is updated as well, both of which can help things. With F16 and F16 in my setup (no IPv6 but still set to "automatic") it takes no more than 5 or 6 seconds to reconnect to my wifi. This is with Intel wifi cards. Periodically the card doesn't succeed in finding my AP right away, but typically within 10 or 15 seconds it'll connect. That delay is kernel drivers being dumb, as not every AP is found in every scan, so NM has to scan again.
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '16'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 16's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 16 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" and open it against that version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.