Re: disconnecting from current wifi network

2008-05-18 Thread Jerome Leclanche
 Ok; what's the use-case here?  If you're not connected to a wireless
 network, you're not using the device, and not much useful can be done
 with it.  If you'd like to use it for sniffing or monitor mode or
 whatever, you want to unmanage the device from NM.

Personally, I just want to be disconnected but able to reconnect fast.
There are a lot of What-Ifs to it as well, such as being offline and
wanting to see if a friend's Wifi is online, etc...

Unmanaging the device is not a solution in this case, since I want to
be able to reconnect fast when I feel like it.

 You shouldn't need to unplug your wifi adapter, disable wireless should
 be enough.  If it's not, then your driver needs to be fixed.

Disabling Wireless and reenabling it automatically reconnects me to
the last used network, unless it doesn't detect a connection - that's
what I could gather from it.

 The real question is how this plays with automatic connection.
 Currently, if you were to tear down that connection, NM would simply
 re-activate it, because that AP is available and it's likely the best
 connection to use.  Were NM to somehow mark that connection, and not
 re-connect automatically, that's just confusing, because the connection
 probably has autoconnect set to TRUE, but NM isn't autoconnecting to
 it.  When you want to connect to the network again, what do you do?  How
 does the connection get back to reconnect automatically?

I understand. What I was thinking of was simply temporarily setting
autoconnect to false, until next connection.

 I guess I'd need to hear more about the use-cases.  It seems like you do
 want to set Wireless Enabled to off.

Wireless off is not what I want, for reasons you described above. For
myself, it's nowhere near important; but I wouldn't be here writing
this mail if I didn't see it popular on UBS :)

--
Adys
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Disconnecting from current wifi network

2008-05-16 Thread Jerome Leclanche
Hi!
I haven't been following this list for very long - apologies in
advance since this subject probably already came up.

For multiple reasons, I may want to disconnect from my current wifi
network without connecting to another one, but keeping wireless on.
Doing so currently requires me to disable wireless, unplug my wifi
key, replug my wifi key, reenable wireless.

Seeing it recently came up as popular on the Ubuntu Brainstorm website
(http://brainstorm.ubuntu.com/idea/8612/), I guess I'm not the only
one having such problems. Are there any plans to add this little
feature? If not - why, and can it be added externally?

Thanks

-- 
Adys
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Disconnecting from current wifi network

2008-05-16 Thread Dan Williams
On Fri, 2008-05-16 at 11:22 +0200, Jerome Leclanche wrote:
 Hi!
 I haven't been following this list for very long - apologies in
 advance since this subject probably already came up.
 
 For multiple reasons, I may want to disconnect from my current wifi
 network without connecting to another one, but keeping wireless on.

Ok; what's the use-case here?  If you're not connected to a wireless
network, you're not using the device, and not much useful can be done
with it.  If you'd like to use it for sniffing or monitor mode or
whatever, you want to unmanage the device from NM.

 Doing so currently requires me to disable wireless, unplug my wifi
 key, replug my wifi key, reenable wireless.

You shouldn't need to unplug your wifi adapter, disable wireless should
be enough.  If it's not, then your driver needs to be fixed.

 Seeing it recently came up as popular on the Ubuntu Brainstorm website
 (http://brainstorm.ubuntu.com/idea/8612/), I guess I'm not the only
 one having such problems. Are there any plans to add this little
 feature? If not - why, and can it be added externally?

The current applet doesn't really lend itself to this; but reworking
some aspects of the applet would make it more feasible.

The real question is how this plays with automatic connection.
Currently, if you were to tear down that connection, NM would simply
re-activate it, because that AP is available and it's likely the best
connection to use.  Were NM to somehow mark that connection, and not
re-connect automatically, that's just confusing, because the connection
probably has autoconnect set to TRUE, but NM isn't autoconnecting to
it.  When you want to connect to the network again, what do you do?  How
does the connection get back to reconnect automatically?

The problem is that most things people can come up with for this problem
are not simple.  They will result in unexpected, quirky, hidden
behavior.  We already had something like this in earlier 0.6 versions,
where if you manually chose a device from the menu, NM would stick with
that device even if you unplugged the wired cable.  This was because
people wanted a bit of lag time to plug/replug the cable when moving
rooms or whatever before NM tore the device down.  Turned out to be
really confusing for most people, because NM wasn't automatically switch
devices around when the cable got pulled.

I guess I'd need to hear more about the use-cases.  It seems like you do
want to set Wireless Enabled to off.

Dan

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list