RE: Network Manager 1.0.X Wi-Fi Autoconnect Issues
- From: Matthew Starr <mstarr hedonline com>
- To: Dan Williams <dcbw redhat com>, "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: RE: Network Manager 1.0.X Wi-Fi Autoconnect Issues
- Date: Thu, 18 May 2017 20:23:51 +0000
-----Original Message-----
From: Dan Williams [mailto:dcbw redhat com]
Sent: Thursday, May 18, 2017 2:24 PM
To: Matthew Starr; networkmanager-list gnome org
Subject: Re: Network Manager 1.0.X Wi-Fi Autoconnect Issues
On Thu, 2017-05-18 at 18:43 +0000, Matthew Starr wrote:
-----Original Message-----
From: Dan Williams [mailto:dcbw redhat com]
Sent: Thursday, May 18, 2017 1:31 PM
To: Matthew Starr; networkmanager-list gnome org
Subject: Re: Network Manager 1.0.X Wi-Fi Autoconnect Issues
On Thu, 2017-05-18 at 15:54 +0000, Matthew Starr wrote:
I have tried using NetworkManager 1.0.0 and 1.0.12 on an embedded
device built with buildroot that has Ethernet (eth0), Wi-Fi client
(mlan0), Wi-Fi Access Point (uap0), and Cellular interfaces
(ttyACM0
and ppp0). The Wi-Fi AP (uap0) interface is ignored by Network
Manager based on my NetworkManager.conf file. I am able to boot
the device and Network Manager will automatically configure and
connect with Ethernet, Wi-Fi Client, and Cellular interfaces every
time.
If I move out of range of the Wi-Fi access point the device will
disconnect and if I move back into range in under an hour,
NetworkManager will reestablish the connection. If I wait
multiple hours before moving back into range of the Wi-Fi access
point, Network Manager will not reestablish a connection
automatically with the access point (I waited hours with the AP
within range and visible in Wi-Fi scan results). When Network
Manager is not automatically reestablishing a connection to the
access point I can use nmcli to bring up the profile associated
with the access point and it connects immediately.
Why is Network Manager not able to auto connect to a Wi-Fi AP
after a longer period of time of not seeing the AP? Is there a
timeout within Network Manager? Is this a bug?
Like you say, it does look like NM is trying to auto-activate the
connection, but it's not doing it correctly. The most likely thing
happening is that it does try to activate, but it's not able to find
the "best" connection for the device.
Somehow the existing WiFi connection profile isn't matching.
Can you run 'nmcli con show <name of connection you expect to
start>'?
Dan,
This issue has occurred on several different access point I have
attempted to connect to all from different vendors (Linksys, Ubiquiti,
D-link).
Ok, that doesn't ellucidate anything. Are you able to apply a debugging patch
to NetworkManager and rebuild it? Alternatively, you could use 'gdb' to step
through the code and see where it's not proceeding with the activation in
nm-policy.c.
Dan
Some additional testing I just finished shows that version 1.6.2 exhibits the exact same behavior.
I am able to apply patches easily and rebuild. I could run gdb but it is not quite as easy on my current
setup.
-Matt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]