How can I completely reset wifi settings?
21,457
To remove your connections from Network Manager run:
sudo rm -f /etc/NetworkManager/system-connections/*; sudo pkill -9 NetworkManager
Just make sure you have passwords for wifi networks that you intend to use before you do so.
Author by
Stenli S
Updated on September 18, 2022Comments
-
Stenli S almost 2 years
I know this question has been asked before and I have yet to find an answer. Is there a way to completely reset wifi or networking settings of ubuntu 14.04 LTS? I want to reset them, not fix an issue I have.
-
A.B. about 9 yearsWhat do you mean exactly with reset?
-
Sergiy Kolodyazhnyy about 9 yearsWhat kind of changes you've made to your settings ?
-
Stenli S about 9 years@A.B. Reset the settings to default, purge all changes made, remove saved connections. Serg - There are a ton of connections saved and it was used for a hotspot. The wifi connections turns off and hotspot appears randomly without me doing anything. Also the connection is slow.
-
-
A.B. about 9 yearsJust a thought: First the kill command and then delete the configuration?
-
Marcin Kaminski about 9 yearsWhat would this order achieve here? I want to remove all connections and have Network Manager re-read its configuration. Killing NM before altering its configuration is a no-op.
-
Marcin Kaminski about 9 yearsYou're welcome, good luck!
-
sigdelsanjog almost 7 yearsSaved my Ass. I was struggling with this freaking wifi issue for days. And this works a 100%. Thanks