Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am trying to block a specific Wireless Network such as "Router_Home" because everytime I wake up my laptop the first thing that the Network Manager does is to try connecting to this Network.

Can you show me how to do that using the terminal or/and GUI ?

EDIT: I know I can uncheck the "connect automatically" option. But I want to know how to block a wireless network totally.

I am using Ubuntu 12.10

share|improve this question

marked as duplicate by Seth, Eric Carvalho, Basharat Sialvi, Uri Herrera, Raja Apr 29 '13 at 13:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If it's secured, then removing the secrets will properly prevent it from connecting to it... Or does that not really do what you want? – gertvdijk Feb 14 '13 at 16:16
@gertvdijk let me try that and I will update you. But It's nice to know how to block a wireless network using the terminal ^_^ So if anyone knows please do share your solution with us – Suhaib Feb 14 '13 at 17:19
possible duplicated: – Lucio Apr 28 '13 at 23:47
I've added a bounty to the master questions here. Hopefully you'll get the answer you want :) – Seth Apr 30 '13 at 3:28
Please see this answer: Does that solve your problem? – Seth May 6 '13 at 5:58

If I understand you correctly, you can just delete the connection from network manager by going to the network manager -->edit-->wireless then highlight the connection and click delete.

There is also a package in the repos called nmcli that is a command line interface for network manager, but I haven't tried it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.