Bug 760292 - Networkmanager Wlan works poorly
Summary: Networkmanager Wlan works poorly
Status: RESOLVED DUPLICATE of bug 768564
Alias: None
Product: openSUSE 12.2
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 1
Hardware: x86-64 openSUSE 12.2
: P1 - Urgent : Major (vote)
Target Milestone: ---
Assignee: Vladimir Botka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: security, security_vulnerability
Depends on:
Blocks:
 
Reported: 2012-05-02 13:24 UTC by Mark Misulich
Modified: 2012-10-08 05:37 UTC (History)
13 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Misulich 2012-05-02 13:24:06 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0

Network manager works poorly with opensuse 12.2 on wireless networks.  Here is a list of the problems I encountered.

1. On reboot, networkmanagement won't retain the password for my WPA network.  I have to input it every time.

2. After I make the initial connection, within about 10-15 minutes the connection will show as weakening, then will be dropped.  After that it is impossible to reconnect to my network without rebooting the computer.  It also won't connect to other available networks, and if it fails to connect to another network that network won't appear in the list of detected wlan networks in networkmanager anymore.

3. After my wireless connection is dropped, network manager won't "see" my wireless network anymore.  I can be three feet away from the antenna, but it won't show the network.  Using ifup I can scan for and find the network, then connect up to it.  But not with network manager.

4. On opensuse 12.1, the network manager will drop the network and then won't see it for about 10 minutes or so.  All of a sudden, it seems to time out and it can see my network again and connect to it.  But with opensuse 12.2, I haven't been able to get it to see the network again after any time out period.  Once its gone, its gone for good.

5. On opensuse 12.2, many times after rebooting the laptop network manager won't pick up my wlan network at all,  If I scan for networks, it won't show up.  Yet if I switch to ifup I can scan for networks, find mine, and connect up immediately.

Reproducible: Always

Steps to Reproduce:
1.Turn on the laptop, and expect to connect to a wireless network.
2.
3.
Actual Results:  
As described under "details" above.

Expected Results:  
I would expect to easily connect to an available wireless network.
Comment 1 Kun Kun Zhang 2012-05-03 06:55:05 UTC
HI,could you please help to have a look at this?Thank you:)
Comment 2 Mark Misulich 2012-05-17 01:36:24 UTC
Having tried to use this for a couple of weeks, Networkmanager can't seem to see WPA networks.  It consistently can't see my home WPA network when I scan for it, even though it can see two networks from neighbor's houses.  The two networks are one WEP network, and one network with no encryption.  But it can't see my WPA network at all.
Comment 3 Hugo Oosterkamp 2012-07-05 07:31:14 UTC
Sysinfo:
HP Pavilion dv6 (Intel i7)
OS:  Linux 3.4.4-3-desktop i686
  Current user:  hugo@oosterkamp.eu
  System:  openSUSE 12.2 Beta 2 (i586)
  KDE:  4.8.4 (4.8.4)

When switching between home and office(s) the applet NetworkManagement does not see the wireless that have been used before.

I have to turn off ENABLE WIRELESS and turn back on and then the connection starts up as expected :: automatically. 
I do not need to enter the password or do anything else.

Cheers
Hugo
Comment 4 Mark Misulich 2012-07-13 18:38:00 UTC
I am using the wireless on my laptop to connect to a hotel wireless network at this moment.  The wireless network is an open network and has no security.  I have just used this network with Opensuse 11.4, and it is working normally. The icon showing the wireless network's power shows it is being received at full strength.  

When I connect to it using 12.2, the icon showing the wireless network's power shows that I am not connected to the network, because it has no power and cannot be received.  

Despite the fact that the wireless network icon in the kicker panel on KDE 4.8.4 (4.8.4) shows the network is not working, I am in fact able to use the network with regular reception.  The reception is not weak in any way.
Comment 5 James Oakley 2012-07-17 21:49:20 UTC
I am seeing the same behavior myself, with multiple different access points. In my logs I see this occurring regularly:

[58866.490820] wlan0: deauthenticating from 00:1e:58:fb:20:f7 by local choice (reason=3)

This seems to coincide with NetworkManager dropping the connection. I can get it going again without rebooting by running 'rcnetwork restart' which seems to reinitialize so that it can see the AP again.

For a while I added a rule to /etc/rsyslogd.conf to do this whenever that message is generated:

if ($msg contains '(reason=3)') \
then   ^/usr/local/sbin/reset-wlan0


The /usr/local/sbin/reset-wlan0 contained this:

#!/bin/bash
/etc/init.d/network restart


However, this still resulted in some lost connections and pauses when it occurred, so I switched to ifup, which is far more stable, as long as I keep my machine from sleeping. (another issue there...)

With ifup, the messages still occur, but the pauses are shorter at least.
Comment 6 Franz Mach 2012-07-19 20:18:14 UTC
(In reply to comment #3)
> Sysinfo:
> HP Pavilion dv6 (Intel i7)
> OS:  Linux 3.4.4-3-desktop i686
>   Current user:  hugo@oosterkamp.eu
>   System:  openSUSE 12.2 Beta 2 (i586)
>   KDE:  4.8.4 (4.8.4)
> 
> When switching between home and office(s) the applet NetworkManagement does not
> see the wireless that have been used before.
> 
> I have to turn off ENABLE WIRELESS and turn back on and then the connection
> starts up as expected :: automatically. 
> I do not need to enter the password or do anything else.
> 
> Cheers
> Hugo

I am not switching networks here but after a reboot or startup of my laptop (HP pavilion dv5) I am having the same problem. A lot of Wifi networks are in the networkmanagers list except my own one that should be connected automatically.
After turn off and on the enable wireless switch as described above^ it connects instantly to my network anf my own network is now in the list.

This is reproducable always.
Comment 7 Franz Mach 2012-07-19 20:19:15 UTC
Forgot to mention that I am using openSUSE 12.2 RC1 ^^
Comment 8 Mark Misulich 2012-07-31 04:33:53 UTC
Hi,
one additional issue that seems to have developed in the last couple of weeks when using the wireless on several different networks is that the wireless will connect with normal connection speed, but after maybe 15 or more minutes of use the speed of connection will drop.  The browser will take longer and longer to load webpages. 

I found that the problem also has been occurring on Opensuse 11.4, which is also installed on my laptop.  However, if I switch to Win7 things work normally.  

I am operating opensuse 12.2 with the most current updates installed to bring it up to date each time I use the system.
Comment 9 Mark Misulich 2012-07-31 04:51:30 UTC
In my last post I forgot to mention that to resolve the issue with the declining speed of the wireless, I have to restart the laptop.  I have tried disabling the wireless and restarting it, but that doesn't resolve the issue.
Comment 10 James Oakley 2012-07-31 06:58:34 UTC
(In reply to comment #8)
> Hi,
> one additional issue that seems to have developed in the last couple of weeks
> when using the wireless on several different networks is that the wireless will
> connect with normal connection speed, but after maybe 15 or more minutes of use
> the speed of connection will drop.  The browser will take longer and longer to
> load webpages. 

I have noticed this with a Broadcom BCM43225, but it also occurs with NetworkManager disabled. The symptoms include very high ping RTT and packet loss even to local hosts. It's fine with a RTL8191SU USB adapter however. (But for some reason that refuses to accept IPv6 router advertisements...)
Comment 11 Carlos Lange 2012-08-10 17:43:19 UTC
I can confirm the disappearance of the local wireless network from the list and reappearance after a disable/enable cycle is still present in 12.2 RC2.
Comment 12 Mustafa Muhammad 2012-08-19 11:01:04 UTC
I have this problem too, like Carlos, I can also confirm the disappearance of the local wireless network from the list and reappearance after a disable/enable cycle is still present in 12.2 RC2
Comment 13 Hartmut Krummrei 2012-08-23 16:21:18 UTC
I can confirm this - on x86-64 and on i586 too with Opensuse 12.2 RC2. Disable wireless/enable it ist a workaround. Very heavy bug if I add some script (mount cifs) in ifservices-wlan0.(networkname). That takes the desktop 6 Minutes to start, because the network, I last used isn't there any more after logout.

Hartmut
Comment 14 Hugo Oosterkamp 2012-08-24 09:38:18 UTC
Dear All,

Things have changed: I have been working on unprotected networks while out in the field and the problem did not occur.
I conclude that the problem lies in a sub-component of the wireless system: the WEP WPA security issue.

Can others (a variety of systems) reset their router and test the different options: with/without WPA security, with/without WEP security, and so forward.

This way it might be possible to nail down the culprit. If the buf is in the security system then the problem can be classified "extra MAJOR" since the solutions might affect system security and integrity.

Cheers

Hugo
Comment 15 Hartmut Krummrei 2012-08-24 16:58:11 UTC
I can not confirm this. With unprotected network same behavior.

Hartmut
Comment 16 Tadeas Moravec 2012-09-06 07:16:38 UTC
I can confirm this in 12.2 final. 

There's another way to trigger it: 
1) connect to wireless (WPA2 in my case)
2) log out and log in

Actual result: Network Manager doesn't see my network, although 'iwlist wlan0 scan' lists it

Expected result: See and connect to my network
Comment 17 Forgotten User gj9_3EwFEj 2012-09-07 15:35:48 UTC
Same problem here.

* 12.2 final 
* AR9285 Wireless Network Adapter
* WPA2 Personal.

Upon boot/reboot no wlan-connection, 'rcnetwork restart' and network manager will connect to my network immediately.
Comment 18 Karl Heinz Meier 2012-09-09 20:09:43 UTC
Same problem here

* 12.2. final
* After reboot no WLAN, network manager even doesn't show it
* Using kill switch off and on again and everything works.
Comment 19 David Davey 2012-09-18 00:33:35 UTC
I have a related problem: very large packet loss that seems to worsen with
time.  12.2 and Lenovo thinkpad with internal 802.11n hardware using
rtl8192ce module.  Booting same machine with windows gives no problem.  External
USB wireless device using rt2800usb module and same AP works perfectly.
Comment 20 Axel Braun 2012-09-25 09:39:46 UTC
Actually I noticed a similar problem under LXDE: https://bugzilla.novell.com/show_bug.cgi?id=781894
In case it is he same root cause, please mark as dup.
Comment 21 Forgotten User uxsP2FbhCI 2012-09-30 14:21:18 UTC
Same Problem with openSUSE 12.2 on two notebooks.
One with Broadcom and one with Atheros chipset.
Router E2000 with WPA2.

If the network is not configured in the network manager I can see the AP SSID.
After initial configuration it works until I reboot.
After reboot no auto connect and the SSID is not shown anymore.

What me helped to get the connection to work:
A) After login using the Hardware killswitch turning off and on.
or
B) I configure the connection with auto-connect AND system-connection,
Comment 22 Carlos Lange 2012-10-08 05:37:09 UTC
The latest update of NetworkManager fixes the issue, as reported in bug #768564.

*** This bug has been marked as a duplicate of bug 768564 ***