Network Manager is unable to connect to Wifi. Ask password and then loop forever

Bug #1762152 reported by openfred
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On Live session or after installation, the wifi adapter is recognized, the password phrase is accepted but it never connect and loop forever.

Thinkpad T430 with Intel Centrino 6205
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

It is not a Passphrase issue. Same PC with Debian 9 or 10 works very well.
Really strange, considering Ubuntu 18.04 is based on Debian 10 !!!

After comparing many files, it appears that the 2 last lines of /etc/NetworkManager/NetworkManager.conf have been added on Ubuntu !

Debian 10:
    $ cat /NetworkManager/NetworkManager.conf
    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=false

Ubuntu 18.04:
    $ cat /etc/NetworkManager/NetworkManager.conf
    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=false

    [device]
    wifi.scan-rand-mac-address=no

I removed the last 2 files in Ubuntu 18.04, and now Wifi works perfectly. The wifi passphrase is accepted, and even going to sleep mode and back is fine.

------
I would strongly recommend to modify /etc/NetworkManager/NetworkManager.conf in package network-manager to remove the 2 last lines.
In fact this file should not be modified by Ubuntu and kept as in Debian.
Is it possible to do it in Ubuntu before 18.04 LTS to be launched ???
------

It seems this 2 lines have been added due to bug 1681513:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1681513
As reported here:
https://askubuntu.com/questions/905283/wifi-issue-with-ubuntu-17-04

By the way, file NetworkManager.conf is empty in Fedora...

Cheers
Fred

openfred (openfred)
description: updated
tags: added: bionic rls-bb-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

There is only one report and it doesn't seem like a release concern at this point even if it would be interesting to investigate. The mac-address option doesn't sound like it should have an effect, could you try if just restarting network-manager without changing the config has the same impact?

tags: added: rls-bb-notfixing
removed: rls-bb-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.