Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How do I change the default wifi network that Ubuntu connects to on startup? There is an unsecured public wifi network in my range, as well as my own home WPA secured wifi that I want to use by default. However, on startup Ubuntu always connects to the unsecured one. Sometimes I forget to reconnect to the other one, which is very dangerous.

I am running a default setup of Ubuntu Destkop 11.10 with Gnome 3. I have looked under network settings but I can't find a 'default' option.

share|improve this question
up vote 7 down vote accepted


You could try this:

  1. Open nm-connection-editor by your terminal;
  2. Select the wireless tab;
  3. Select the unsecure network, than Edit...
  4. Uncheck the option: Connect automatically.
share|improve this answer

In the future Network Manager will have a priority setting --- it has been a long battle, but it's finally here.

Now, I have no idea on how long it will take to percolate down and to the user interface. For the time being, your best bet is going into the wireless manager and "forget" or "delete" the connection of your neighbors.

This shot is from Xubuntu, but you'll find a similar one in any Ubuntu flavor:

Network options in Xubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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