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:     

17 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
  • November 1, 2017 at 1:47 AM
    Permalink

    Thanks! It worked 😀

    Reply
    • November 4, 2017 at 6:18 PM
      Permalink

      Glad to know that it worked for you 🙂

      Reply
  • November 10, 2017 at 10:27 AM
    Permalink

    system ct1 command not working —
    displaying command not found

    Reply
    • November 10, 2017 at 10:09 PM
      Permalink

      Hi hardik,

      Its systemctl , You typed numeric one instead of L

      Reply
    • November 14, 2017 at 9:00 AM
      Permalink

      you’re welcome

      Reply
  • November 16, 2017 at 5:08 PM
    Permalink

    Hi,

    Please can you assist me, I have been trying for 3 days now on Ubuntu 17.10 and 16.04 and when I start browsing the net my wifi suddenly drops and even after a restart it does not work, does anyone have suggestions please? 🙂

    Reply
    • November 16, 2017 at 10:33 PM
      Permalink

      Which Browser you’re using ?, I have seen similar bug in chromium browser.

      Reply
  • November 17, 2017 at 12:07 AM
    Permalink

    I really appreciate your help, it fixs my problem with debian 9. Thanks a lot!!!!

    Reply
    • November 18, 2017 at 10:18 AM
      Permalink

      you’re welcome 🙂

      Reply

Leave a Reply

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

%d bloggers like this: