I have just installed Ubuntu alongside Windows on my laptop. But I cannot connect to my home wifi (Xiaomi_Wifi in PasteBin). How can I fix this? I can connect to my phone wifi (iPhone von Aaron).
I followed this instruction on how to get more info about the situation.
This is the resulting output.
Thank you all!
PS: I have already tried to switch the security of my router from WPA/WPA2 to WPA, that didn't help.
1 Answer
First, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I recommend a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.
Next, I recommend that your regulatory domain be set explicitly. Check yours:
sudo iw reg get If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: Then set it temporarily:
sudo iw reg set IS Of course, substitute your country code if not Iceland. Set it permanently:
sudo nano /etc/default/crda Change the last line to read:
REGDOMAIN=IS Proofread carefully, save and close the text editor.
EDIT: You might try a driver parameter. From the terminal:
sudo modprobe -r ath10k_pci sudo modprobe ath10k_core cryptmode=1 sudo modprobe ath10k_pci If there is any improvement, make the change persistent:
sudo -i echo "options ath10k_core cryptmode=1" > /etc/modprobe.d/ath10k_core.conf exit 5