I just installed Lubuntu 17.04. It did not recognise the WiFi card I had in the MB, so I took a TP-Link WN722N USB stick. The system immediately recognised the USB WiFi stick and offered networks to connect to. But at any attempt to connect, the system just gives up after a while without explanation. I do not have any special settings, just regular AES password protection. What can I do other than search for a different distribution?

  • 1
    Have you retried restarting the network-manager by sudo service network-manager restart?
    – NerdOfCode
    Jul 25, 2017 at 17:22
  • It depends on which revision of wn722n it is. Searching for a different distibution won't help.They all use the same kernel. You can search for solutions regaring your built-in wireless adapter and the dongle. You may need some drivers or settings.
    – Pilot6
    Jul 25, 2017 at 17:24
  • As @Pilot6 was getting at, you may need to download and reinstall your specific wifi adapter drivers. If you do choose to do this, you can use modprobe.
    – NerdOfCode
    Jul 25, 2017 at 18:51
  • 1
    Please try this first: askubuntu.com/questions/902992/…
    – chili555
    Jul 25, 2017 at 20:34

1 Answer 1


I tried opening

sudo leafpad /etc/NetworkManager/NetworkManager.conf

added the line

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

then I restarted the service

sudo service network-manager restart

...and I got connected! The browser still has a problem connecting to the internet, but I guess that is a different issue. Thanks for the suggestions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.