Can I "ban" a wifi from nmcli
When I am at my office, there is an open network available that I never want to connect to, but somehow it has become default for my machine. Can I run some command through nmcli to "forget" it and never connect to it?
About this post
- Posted
- Archived
- Score
- 5 · 86% up
- Kind
- Text
- ID
- x82psc
4 comments
nmcli con del <ifname>
For u/TheLudd83 , more usage info on nmcli here: https://wiki.archlinux.org/title/NetworkManager#nmcli_examples
FWIW, there's no man page for nmcli, and
nmcli --helpisn't very helpful.man nmcliLooks like there is. (part of packagenetworkmanager)Just uncheck the "automatically connect" option in nmtui