3

It's Linux and everything should be setup manually, but I'm new to this and need help in setting up my WiFi.

here's what I did. I installed ubuntu, tried to connect the WiFi while installation it didn't got connected, I thought well it'll connect once it got installed but it still isn't connected. I think it should be pretty easy to solve, something I forgot to tick or something

a thing to notice is that it says it's connecting for few seconds and doesn't get connected after that

Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • what's your output of cat /etc/NetworkManager/NetworkManager.conf – Yoginee Pingale May 10 '17 at 11:41
  • @user535733 what? No – Sumeet Deshmukh May 10 '17 at 11:51
  • 1
    @user535733 works fine on Windows, hardware is working, let me try the answer – Sundar Labhar May 10 '17 at 11:52
  • For those who are still looking for some solution, I searched for several days, the solution is therefore to update the kernel to 5.10 or 5.12 example, I had 5.8 on 20.04.2 LTS with a dual boot, neither wireless or bluetooth worked, I upgraded the kernel to 5.12 via https://askubuntu.com/a/1291835/855698 and it works now.

    I hope it will help those who will have this trouble.

    – PЯINCƎ Jun 07 '21 at 08:34

1 Answers1

6

All you need to do is Open a terminal by pressing Ctrl + Alt + T and run:

gksu gedit /etc/NetworkManager/NetworkManager.conf

At the bottom of this file, copy and paste the following:

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

final result will look like this

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

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

Then just save and close the file and run:

sudo service network-manager restart

And wifi should work again!