Strangely enough, no issue on Fedora 27 or Debian 9 Jessie nor Debian 10 Buster.
Really strange, considering Ubuntu 18.04 is based on Debian 10 !!!

After comparing many files, it appears that the 2 last files 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 this 2 files, 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 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

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

Title:
  after updating to ubuntu 16.04 the network manager is unable to
  connect me to the wifi network. I can see the network, but once I
  introduce the password, it asks me for the password after a few
  seconds and never connects.

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

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

Reply via email to