From: Larry Finger <Larry.Finger@lwfinger.net>
To: Simeon Nifos <archwndas@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: deactivating one of the two wireless connections
Date: Fri, 16 Sep 2011 20:49:14 -0500 [thread overview]
Message-ID: <4E73FC9A.8090901@lwfinger.net> (raw)
In-Reply-To: <CAL1uj0zX5gGHkQny7fE3xrVm9HgP3PvC+ff2g7sunzNvXzgu=g@mail.gmail.com>
On 09/16/2011 08:33 PM, Simeon Nifos wrote:
> Dear all,
>
> I have a USB wireless card apart from the laptops one. The Gnome
> NetworkManager sees both when I plugin the USB wireless adapter. The
> problem is that for saving power I would like to turn off the wireless
> adapter of my laptop. However, if I use the laptops switch that turns
> off laptops wireless, the Network Manager, turns off both connections
> saying: Deactivated by Hardware switch or something similar.
>
> The problem is that I usually want to connect with my wireless USB
> adapter which has a directional antenna and provides better signal and
> higher download speeds. However, after some minutes automatically by
> itself the laptops adapter connects to the same access point and then
> I lose the connection. I can do something like:
>
> # ifconfig wlan0 down
>
> and deactivate the laptops adapter, but this is a simple ad-hoc solution.
>
> My impression is that the hardware switch on the keyboard of the
> laptop should not control all wireless connections. It is entirely
> wrong. If I wnt my USB connection to be deactivated I just unplug it.
> If I want to use it I just plug it in. This is how things should be.
> Removable devices should be powered on when connected and powered off
> when disconnected. For as long as it remains connected that means I
> want it to function as it is supposed to do so. I do not see why
> switching off my laptop's device switches off every other wireless
> device.
>
> Is there any easy fix for that?
I usually have several wireless devices plugged into my computer at one time.
When I use the NM applet to select one of them, it will stay selected unless it
goes offline. Does dmesg show any disconnects?
The switch is doing exactly what it should. Any RF blocking switch should
disable ALL radios to enforce radio safety.
Downing the interface is a perfectly good solution. If you want to minimize the
power usage, you can unload the driver for the built-in wireless adapter using
"modprobe -r" to disable it. If you never want to use it, then blacklist that
driver.
Larry
next prev parent reply other threads:[~2011-09-17 1:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-17 1:33 deactivating one of the two wireless connections Simeon Nifos
2011-09-17 1:49 ` Larry Finger [this message]
2011-09-21 21:43 ` Pavel Roskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E73FC9A.8090901@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=archwndas@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).