[Bug 807111] New: NetworkManager does not reconnect to WLAN after resume
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c0 Summary: NetworkManager does not reconnect to WLAN after resume Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: i686 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Greg.Freemyer@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 KDE 4.10 NetworkManager 0.9.6.4-5.2.1 If I close the lid of my laptop it hibernates. When I open the lid it resumes. I am asked for the KDE Wallet password. All of that is good. The bug is that my WLAN connection is not re-established. I simply use NetworkManager to drop the connection and re-establish a new one. Note that this is NOT using 2 different locations or different WLANs. I close the lid with my home WLAN in use and open it back up still in my house. Reproducible: Always Expected Results: I expect the WLAN connection to be re-established automatically one the KDE wallet password is re-entered. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c Greg Freemyer <Greg.Freemyer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=805321 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c1 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hrvoje.senjan@gmail.com --- Comment #1 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-03-01 23:31:41 UTC --- Greg, i had the same/similar thing as you, when https://build.opensuse.org/request/show/155884 entered Factory. As a solution (or a workaround), i have removed pm-utils, and that has resolved the problem here. Thing was that with that change, suspend is handled with pm-utils, and they are pretty slow to do it's job, as NM managed to disconnect and reconnect before machine entered suspended state. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c2 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com --- Comment #2 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-02 04:35:29 UTC --- There is still the question - where is the difference with 12.2 that does use pm-utils to suspend and manages to do it correctly. There is the same pm-utils sleep.d script in 12.3 and in 12.2. If dropping pm-utils were a solution, the mentioned SR would not be needed at all. As long as pm-utils are supported, this is expected to work correctly. Could you - stop NetworkManager (systemctl stop NetworkManager) - start it manually using NetworkManager --no-daemon --log-level=DEBUG - suspend/resume and provide resulting output. You may want to redirect output to file or start it under "script" command. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c3 --- Comment #3 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-03-04 17:41:23 UTC --- Created an attachment (id=528008) --> (http://bugzilla.novell.com/attachment.cgi?id=528008) Output of NetworkManager Requested output of NetworkManager when manually run. I put the laptop to sleep via the KDE battery icons "sleep" button. I woke it back up by hitting the power button. I normally do this by closing the lid, but I wanted to be able to be specific about what was done. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c4 --- Comment #4 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-04 18:25:32 UTC --- (In reply to comment #3)
Requested output of NetworkManager when manually run.
Thanks. Was it with or without pm-utils? Was network available after resume or not? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c5 --- Comment #5 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-03-04 18:35:46 UTC --- pm-utils is / was installed. The network was NOT available after resume. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c6 --- Comment #6 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-04 19:09:17 UTC --- Log actually shows that NM did successfully established connection after resume. There was also successful reconnection to AP after that. Could you remove do the same and attach log without pm-utils for comparison? This is supposed to work according to comment #1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c7 --- Comment #7 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-03-05 00:34:59 UTC --- with pm-utils uninstalled, how do I get the laptop to hibernate? I tried pulling the power cord and shutting the lid for about 5 minutes. Nothing happened. ie. The laptop just kept running. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c8 --- Comment #8 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-05 08:05:18 UTC --- (In reply to comment #7)
with pm-utils uninstalled, how do I get the laptop to hibernate?
I tried pulling the power cord and shutting the lid for about 5 minutes. Nothing happened. ie. The laptop just kept running.
Under 12.3 you should be able to do systemctl start hibernate.target In the worst case you can directly do echo disk > /sys/power/state -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c9 Michael Catanzaro <mike.catanzaro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.catanzaro@gmail.com --- Comment #9 from Michael Catanzaro <mike.catanzaro@gmail.com> 2013-03-05 15:02:19 UTC --- Could this possibly be https://bugzilla.redhat.com/show_bug.cgi?id=902332 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c10 --- Comment #10 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-05 15:20:53 UTC --- Well ... it is about failure with pure systemd, and here we apparently have problem with traditional pm-utils (but in presence of systemd ...). Also it is 0.9.7 and we have yet 0.9.6. Also at least attached log shows that NM reestablish network connection after resume. I would be really interested to know how NM works without pm-utils. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c11 --- Comment #11 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-03-06 04:38:34 UTC --- Created an attachment (id=528336) --> (http://bugzilla.novell.com/attachment.cgi?id=528336) NM output with pm-utils uninstalled I did not loose network connectivity when I hibernated with pm-utils uninstalled. See the log. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c12 --- Comment #12 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-03-07 20:45:42 UTC --- I did a zypper dup and got NetworkManager 0.9.6.4-5.3.1. I assume that is NM from 12.3 Gold. I still loose connectivity when closing/re-opening my laptop. By chance, this time I started a ping before closing/re-opening my laptop. To my surprise the wlan actually restored connectivity for a few seconds before it turned it back off: ... ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable 64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=27 ttl=51 time=429 ms 64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=28 ttl=51 time=363 ms 64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=29 ttl=49 time=409 ms 64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=31 ttl=49 time=171 ms ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ... Also, if I wasn't clear before, NM presents the status of the connection as connected. The problem is that it doesn't actually communicate with the outside world until I force a disconnect / re-connect sequence in NM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |arvidjaar@gmail.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c13 Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse@bugs.jan.ritzerfeld.or | |g --- Comment #13 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2013-04-27 14:15:41 UTC --- Bug 816992 mentions a problem in 0.9.6 NetworkManager: It does notice suspend/resume. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c14 --- Comment #14 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-15 17:53:23 UTC --- Can anyone say what's the status of this with latest NM update? (See linked bug 816992) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c15 --- Comment #15 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-05-19 06:14:00 UTC --- Unfortunately I cannot reproduce this problem in any of three configurations I have used - original pm-utils script that sent signal to NetworkManager - updated pm-utils that did not send signal to NetworkManager anymore (effectively no pm-utils) - "fixed" NetworkManager that receives signal from UPower (bnc#816992) In all cases I get LAN/Internet connectivity after resume. The best case was the second one :) With NM receiving signals I sporadically get permanent Connecting indication in panel icon (GNOME), even though connection is actually established. May be it is driver/card problem? I see in logs iwlwifi and I'm using iwl3945. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c16 --- Comment #16 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-05-20 02:07:48 UTC --- (In reply to comment #14)
Can anyone say what's the status of this with latest NM update? (See linked bug 816992)
I just updated to the latest patches including NM: i | NetworkManager | package | 0.9.6.4-5.12.2 | i586 | openSUSE-12.3-Update I still have the problem. BTW, per the KDE NM panel, all is good after hibernate/resume. It is my connectivity that fails. If I start up a ping, it fails until I manually drop the WLAN connection, then re-establish it. If there is more diagnostics I can run, just let me know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c17 Robert Krawitz <rlk@alum.mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rlk@alum.mit.edu --- Comment #17 from Robert Krawitz <rlk@alum.mit.edu> 2013-07-18 16:44:03 UTC --- I have an issue that looks very similar (openSUSE 12.3, same version of network manager as above except x86-64). If I suspend my laptop with the network cable plugged in, move it to a different network, plug that network cable in, and resume the laptop, ifconfig shows the IP address from the old network. If I then unplug the network cable, wait 5-10 seconds, and plug it back in, NM picks up the new network; likewise, if I simply wait 5-10 seconds before plugging the network cable in on the new nettwork, it also picks up the new network. I would think NM should recognize that there was a suspend/resume event and automatically try to reconnect rather than assume there hasn't been any change (if that's what's happening). I notice that if I unplug the network cable in general, knemo recognizes that the cable is unplugged, but the NM icon doesn't show it as disconnected for 5 seconds or so. All of this worked fine under OpenSUSE 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c18 --- Comment #18 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-08-29 10:06:05 EDT --- I did some more troubleshooting today and I think the issue is with routing, not the actual wireless connection. I woke my laptop up this morning and like normal, I could not access the Internet. I then did these diagnostics: #try to ping the wireless router itself => SUCCESS gaf@linux-3j6w:~> ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data. 64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=8.91 ms 64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=2.30 ms 64 bytes from 192.168.3.1: icmp_seq=3 ttl=64 time=239 ms 64 bytes from 192.168.3.1: icmp_seq=4 ttl=64 time=3.10 ms 64 bytes from 192.168.3.1: icmp_seq=5 ttl=64 time=3.09 ms ^C --- 192.168.3.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4004ms rtt min/avg/max/mdev = 2.303/51.471/239.941/94.264 ms # Try to ping yahoo.com => failure (as expected) gaf@linux-3j6w:~> ping yahoo.com connect: Network is unreachable gaf@linux-3j6w:~> sudo /sbin/traceroute 19.1.1.1 sudo: /sbin/traceroute: command not found # Try to see how far packets are getting => nowhere :( gaf@linux-3j6w:~> sudo /usr/sbin/traceroute 19.1.1.1 traceroute to 19.1.1.1 (19.1.1.1), 30 hops max, 40 byte packets using UDP Unable to connect to 19.1.1.1: Network is unreachable # See if the routing table is okay => NOPE gaf@linux-3j6w:~> sudo /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface loopback * 255.0.0.0 U 0 0 0 lo link-local * 255.255.0.0 U 0 0 0 wlan0 192.168.3.0 * 255.255.255.0 U 0 0 0 wlan0 #Use network manager to drop the wireless and reconnect # check routing table again => LOOKS GOOD! gaf@linux-3j6w:~> sudo /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.3.1 0.0.0.0 UG 0 0 0 wlan0 loopback * 255.0.0.0 U 0 0 0 lo 192.168.3.0 * 255.255.255.0 U 0 0 0 wlan0 # and now I can browse the Internet again. So the fundamental bug seems to be I don't have a default route after hibernate/resume. Do I need to close this bug and open another one? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c19 --- Comment #19 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2013-08-29 16:44:18 UTC --- Well, I do not think so. It is "your" bug report and my idea that it was related to bnc#816992 seems to be wrong since the update did not fix the problem for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807111 https://bugzilla.novell.com/show_bug.cgi?id=807111#c20 Greg Freemyer <Greg.Freemyer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WORKSFORME --- Comment #20 from Greg Freemyer <Greg.Freemyer@gmail.com> 2013-09-30 09:45:24 EDT --- I replaced my wireless router a couple weeks ago. Since then, this problem has not re-occurred. Apparently it was some kind of incompatibility between the old router and my laptop. The laptop was never used pre-12.3, so I don't know if it was always incompatible or an issue introduced with 12.3. I'm going to close this as "works for me" now that it does indeed work for me. Greg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com