Fixing weird behaviour of NetworkManager on 5GHz

While using Arch, I noticed that 5GHz networks weren’t connecting right away, and sometimes they even didn’t appear.

A simple workaround I found to prevent 5GHz networks from disconnecting or delaying to connect is shown below.

Edit /etc/NetworkManager/NetworkManager.conf and add

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
dhcp=dhclient

[ifupdown]
managed=true

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

*My file was empty before editing*

Sidebar