Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

I use Ubuntu 11.04, and I work at an institution which has wired and wireless connectivity. My computer is set to automatically connect to the wireless network if it is available.

When I am plugged into the wired network, Ubuntu still tries to automatically connect to the wireless network, even though it's the same network.

In Windows, if I am plugged into the wired network, my computer does not attempt to connect to the wireless network. This is the functionality I would like.

Is this possible to achieve under Ubuntu?

share|improve this question
A "wireless hardware" kill switch is a surprisingly simple solution here - does your computer have one? – sr_ Apr 19 '12 at 13:46
@user15319 I experienced something similar when I was testing Ubuntu 11.04 on my laptop. It was annoying because when it would connect to the wireless along with the wired network it constantly caused problems with me access the internet. As sr_ said, the easiest way around this is simply turning off the wireless while you are hard-wired in. – SirCobalt Apr 19 '12 at 15:28
Is it actually a problem? I'd hope it defaults the traffic over the wired interface… – derobert Sep 25 '12 at 18:00
up vote 2 down vote accepted

As buddies said the simplest way is to power off wireless adapter using its hardware switch.

But if your computer hasn't such a switch, go to system>preference>network connections; now go to the wireless section (second tab), select the wireless adapter that automatically connects to access point from list, click edit button,in this window, uncheck "Connect Automatically" and click apply. it seems that the problem will not arise again.

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.