Score:0

Ubuntu 21.10 dual boot with windows can't connect to my router on wifi, works with phone hotspot

us flag

I have installed Ubuntu 21.10 on dual boot, wifi works perfectly on windows.

  • Kernel is 5.13, got it after running dist-upgrade
  • I can see wifi networks and I can connect to my phone hotspot

When I try to connect to my router network, after a while I get the message "activation of network connection failed"

I saw a comment on reddit saying that since mac address is the same, and I previously connected on windows, there is an issue on ipv6 and removing the device from router setting should solve the problem. Unfortunately my router does not have that option.

I tried changing mac address on Ubuntu with macchanger with no effects, any clue?

Laptop is a Lenovo Thinkpad l15 gen 2, wifi adapter is a realtek 8852

Edit: resetting the router does not solve the issue, the problem could be elsewhere

in flag
Could you elaborate on “ changing mac address on Ubuntu with macchanger with no effects”? Was the MAC address actually changed or has it remained the same?
heynnema avatar
ru flag
Have you rebooted the router?
Andrea Nisticò avatar
us flag
@matigo the MAC was correctly changed as it appears the new one from ifconfig and also from the network manager UI
Andrea Nisticò avatar
us flag
@heynnema I will do it tomorrow, left that as a last resort since today I could not
ChanganAuto avatar
us flag
That should always be the first resort :)
Andrea Nisticò avatar
us flag
@ChanganAuto to my surprise, resetting the router lead to the same result, I am lost here
cyberbrain avatar
cn flag
Would it be an option to disable IPv6 in Linux and/or Windows for that specific connection? Not sure why it could be an issue, but maybe it even is sufficient that you untick an option "Require IPv6 addressing for this connection to complete" in the NetworkManager IPv6 Settings for the connection.
Andrea Nisticò avatar
us flag
@cyberbrain oh i forgot to put it in the post, I already tried that. Moreover, resetting the router and logging on linux does not work either, I think this is not a mac collision issue then
cyberbrain avatar
cn flag
you can try to get more details about the error with `sudo dmesg` which shows kernel errors, or view /var/log/kern.log or /var/log/dmesg (both probably need root rights to view)
Andrea Nisticò avatar
us flag
@cyberbrain I did that, the info that I got from dmesg are "send auth to xx:xx: .... xx try 1/3" three times, until 3/3, and then "authentication timed out"
Score:0
cn flag

From your comments on the question: The WiFi auth system config between windows and Linux are different for that one network.

Steps I would try:

  1. Note down all details for the windows auth (type: WPA/WPA2/WPA3/something different? PreSharedKey or Enterprise? the actual password?)
  2. Remove the WiFi connection from the Ubuntu Network Manager
  3. Re-add the WiFi connection with the correct settings that you noted down form the working Windows connection.

Most probably you mis-typed the password, but I bet you already tried to re-enter it correctly. Maybe you have different keyboard mappings in Windows and Linux and so you actually type in different characters by pressing the same keys?

Andrea Nisticò avatar
us flag
I tried all of that and I triple (even more) checked the password. I even created a totally unsafe open connection without any authentication required. Same results :(
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.