Recently I installed Debian 9 xfce on my home desktop, I was able to connect to the wi-fi network at the time of installation but after logging into desktop I am not able to connect to any wi-fi network using network manager.

After some searching I have found that this issue is due to the new privacy feature (MAC address randomization) in the new version of NetworkManager causing some wi-fi adaptors to stop working.

Both Debian 9 and Ubuntu 17.04/17.10 are badly affected with this bug, You can read more about this bug in Debian 9 here and Ubuntu 17.04/17.10 here .

Follow below steps to fix this issue in Debian 9 and Ubuntu 17.04/17.10
Edit NetworkManager config file
 sudo nano /etc/NetworkManager/NetworkManager.conf

Now add below lines to the file


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

 

Restart NetworkManager service
 sudo systemctl restart NetworkManager 

Now you will be able connect to wi-fi network.

Can’t connect to WiFi in debian 9 and Ubuntu 17.04/17.10 [FIXED]
Tagged on:     

6 thoughts on “Can’t connect to WiFi in debian 9 and Ubuntu 17.04/17.10 [FIXED]

  • July 7, 2017 at 3:38 AM
    Permalink

    wow! fixed the issue in deb 9
    thank you for your help

    Reply
    • July 7, 2017 at 7:25 AM
      Permalink

      Thanks ! Glad it worked for you

      Reply
    • July 9, 2017 at 2:53 PM
      Permalink

      Hi Miguel , Glad it worked for you

      Reply
  • August 14, 2017 at 2:37 PM
    Permalink

    You made my day. I was going crazy because my USB wireless adapter would connect and work as it should on Mint and other distros and just would not connect on Debian 9. Thanks to you my WiFi now works!

    Reply
    • August 14, 2017 at 9:07 PM
      Permalink

      Hey JJ , I am Glad it worked for you 🙂

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: