[Bug 1181964] Re: Wireless connection does not re-connect

2015-11-21 Thread Bernd Edlinger
here is the latest network-manager patch for 14.04

** Patch added: "updated network-manager patch for ubuntu 14.04"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+attachment/4523005/+files/network-manager-wifi-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2015-11-21 Thread Bernd Edlinger
Status update

finally I was able to fix this issue upstream see:
https://bugzilla.gnome.org/show_bug.cgi?id=733105

But it is only completely fixed in network-manager 1.0

If you want to fix something for ubuntu 12.04 or ubuntu 14.04
you can use my latest local patches.

Note: that in ubuntu 14.04 there is also a bug in the wpa_supplicant
which can lock up the radio work queue, which makes any further
WiFi connections impossible.

Fortunately that must have been fixed in the meantime, because
I found a fix in the upstream wpa_supplicant repository.

** Bug watch added: GNOME Bug Tracker #733105
   https://bugzilla.gnome.org/show_bug.cgi?id=733105

** Patch added: "updated network-manager patch for ubuntu 12.04"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+attachment/4523004/+files/network-manager-wifi-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2015-11-21 Thread Bernd Edlinger
This is a wpa_supplicant fix that was found upstreams.
It is only necessary for ubuntu 14.04.

The wpa_supplicant from ubuntu 12.04 did not try to
do an internal scan for the AP, and does not need any fix.

** Patch added: "wpa-wifi-scan-fix.diff"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+attachment/4523007/+files/wpa-wifi-scan-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-08-04 Thread Bernd Edlinger
PING...
this patch did run non-stop for 6 weeks now...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-21 Thread Bernd Edlinger
I compiled the network-manager component as follows:

cd network-manager-0.9.4.0

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--enable-more-warnings=no

make

installed (as root): src/.libs/NetworkManager to
/usr/sbin/NetworkManager (renamed original NetworkManager for possible
undo)


The patch runs on my machine since 24h now, without permanent connectivity 
losses up to now.

** Patch added: this is a proposed fix for this bug.
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+attachment/3709105/+files/network-manager-wifi-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-21 Thread Ubuntu Foundations Team Bug Bot
The attachment this is a proposed fix for this bug. seems to be a
patch.  If it isn't, please remove the patch flag from the attachment,
remove the patch tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-21 Thread Bernd Edlinger
Yes, it is a patch.

Steps to reproduce:

- configure a permanent connection to a WEP-encrypted AP.
- the AP has very good signal quality, and is 99.9% of the time available.
- only sporadic short 1-2 seconds interruptions of the beacon.
- one or two other APs have very poor signal quality, and enter/leave the live 
list often.

after some days/weeks/months the wifi connection breaks, and the network manager
does no longer see the AP, although the iwlist wlan0 scanning sees it at 99.9% 
of the time.

That status lasts until either network manager is re-started or the AP is shut 
down for 10 minutes
and then started again, at that time the AP is visible again.

I am 100% sure that this has an impact on other users too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-21 Thread Bernd Edlinger
** Changed in: network-manager (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-20 Thread Bernd Edlinger
Now it did happen again. The Network Manager traces show the Access point has a 
short interruption,
and access point is removed from the Network List, only one other AP in the 
list, but the data is wrong:
ap_list_dump() does not show the same data than iwlist wlan0 scanning.

= therefore it seems to be a Network Manager bug, but much harder to
reproduce than I initially assumed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-20 Thread Bernd Edlinger
OK, when you look at  nm-device-wifi.c I think I see what is wrong:
 
When the AP is almost always sending its beacons, but reboots quickly at some 
point in time, it can be
deleted by cull_scan_list() if it is scheduled exactly at the second because it 
is not the active AP, and the list entry
was not changed for 3*SCAN_INTERVAL_MAX, and the property WPAS_REMOVED_TAG is 
set.
some underlying supplicant process does only send bss_removed or new_bss 
message when the live list is changed
from its perspective.

However, when the AP is once not in the live list when scanned, it may not be 
guaranteed that the connection really
breaks, but the flag WPAS_REMOVED_TAG is set now and will not be reset when the 
new_bss is later received the and
the AP data are updated, but the WPAS_REMOVED_TAG should be cleared again. So 
when that flag is set, cull_scan_list()
can remove the AP at any time, even if the connection would be restored very 
quickly.
this should be fixed by adding the following line to merge_scanned_ap() when 
the ap data is updated:


g_object_set_data (G_OBJECT (ap), WPAS_REMOVED_TAG, NULL);


And probably the function  supplicant_iface_bss_removed_cb() should set the 
last-seen property to now.
You should add the following statemeents there to prevent the AP to be removed 
immediately,
if the signal strength did not change recently.:


g_get_current_time (now);
nm_ap_set_last_seen (ap, now.tv_sec);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-06-20 Thread Bernd Edlinger
I am pretty sure that this is a network manager bug, and how to solve
it.

** Package changed: linux (Ubuntu) = network-manager (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-05-27 Thread Bernd Edlinger
Hello,

unforutnately, I must admit, that I am no longer able to reproduce this
bug here.

what I did was compile  install a locally generated test kernel over the 
3.2.0-43 and later
re-install the 3.2.0-43 kernel from the .deb file in /var/cache/apt/archives

and, guess: now the network connects nicely again.

Therefore I do no longer think that the change between 3.2.0-41 and 3.2.0-43 
can be connected to
the connectivity problem, because it is just one line of code, in this 
function, which is apparently
never executed on my machine (I added a printk there, but that was not 
executed):

--- linux-3.2.0/kernel/events/core.c
+++ linux-3.2.0/kernel/events/core.c
@@ -5164,7 +5164,7 @@

 static int perf_swevent_init(struct perf_event *event)
 {
-   int event_id = event-attr.config;
+   u64 event_id = event-attr.config;

if (event-attr.type != PERF_TYPE_SOFTWARE)
return -ENOENT;

Therefore the reason must be somewhere else, in case the
network problem comes back, I added the following lines to
/etc/NetworkManager/NetworkManager.conf:

[logging]
level=DEBUG
domains=HW,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC,WIMAX

maybe that traces will give us some better insight.

Thanks, and Good Bye.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-05-22 Thread Bernd Edlinger
Oops, sorry...

A few hours later the bug showed up again -- in the upstream kernel,
without me trying to reproduce it.

The traces in the event at time index 43224.360095 look very similar to the -43 
kernel.
[43223.763471] wlan0: authenticate with 00:13:49:e3:9d:8e (try 1)
[43223.960105] wlan0: authenticate with 00:13:49:e3:9d:8e (try 2)
[43224.160122] wlan0: authenticate with 00:13:49:e3:9d:8e (try 3)
[43224.360095] wlan0: authentication with 00:13:49:e3:9d:8e timed out

Therefore: linux 3.2.45 does not fix this issue completely!

Attached you'll find the kernel messages from the complete session,
first are two successful reconnects and later the failed re-connect.

** Attachment added: dmesg.log
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+attachment/3684082/+files/dmesg.log

** Tags removed: kernel-fixed-upstream
** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-05-21 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream stable kernel?
Please test the latest v3.2 stable kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, 
please add the tag: 'kernel-unable-to-test-upstream'.  
Once testing of the upstream kernel is complete, please mark this bug as 
Confirmed.


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.45-precise/


** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

** Tags added: regression-update

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-05-21 Thread Bernd Edlinger
Ok, I installed the following kernel: linux-image-3.2.45-030245-generic-
pae_3.2.45-030245.201305140735_i386.deb

This bug is definitely fixed with this image:
A short disconnect (reboot AP) = network re-connects immediately.
A long disconnect (1 minute power-off AP) = network re-connects after 5 
minutes.

If you like I can upload syslog from upstream kernel for analysis.
Thanks!

** Tags added: kernel-fixed-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1181964] Re: Wireless connection does not re-connect

2013-05-20 Thread Bernd Edlinger
This is the Log file from yesterday, where I tried to reboot the Access point 
several time.
Later tries were successful, but I switched back to previous kernel versions 
-41 at 18:20 and following

** Attachment added: Syslog from yesterday, look at Time index May 19 13:14:05 
where Access point was rebooted, reconnect was done manually at 13:42
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+attachment/3681861/+files/syslog.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181964

Title:
  Wireless connection does not re-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1181964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs