I thought it would be most appropriate if I posted this in the software tag, as I’m just trying to reinstall/factory reset the network manager program, not seeking a fix for a certain problem (although I hope it will help with the problem I have in the end).
What I am trying to do is exactly what’s in the title - either reinstall or factory reset the network manager so that absolutely no configuration settings, past connections, or any other data remains in the program besides the data that it comes with right out of the box. The only solutions I’ve found online are for Ubuntu systems, so the command lines are for apt, not pacman. I don’t know how to do this through pacman myself.
Background (not necessary to read):
The network manager works fine, connecting to every WiFi connection except one. My router has 2 “WiFi’s” - a 5Ghz connection and a 2.4Ghz connection, each with a different SSID but the same configuration (except the frequency, obviously) - I can connect to the 5Ghz network but not to the 2.4Ghz one - and I think it’s because the 2.4Ghz network has the same SSID as the previous WiFi I had before replacing the router. So maybe something went wrong and the network manager is confusing the current WiFi with the older, now non-existent, previous one I had. Otherwise I couldn’t find an explanation as to why everything else except this particular connection just works. I tried deleting the data for that network both through the system settings module and through deleting the file directly from
/etc/NetworkManager/system-connections/NETWORKNAME, both did not fix the problem. I know that reinstalling all of network manager is probably overkill, but I can’t think of any other option.