why differnet wlan drivers need different settings?
May be this is the wrong plase to ask.
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap off
it will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
A message that is not in the archive (sent off-list or not yet received): 200810251153.25533.bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org
Quoted 1 line · Alexey Fisher
May be this is the wrong plase to ask.
Yeah, better ask that on [email protected] (CCed).
Quoted 19 lines
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap offit will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 23 lines · Rafael J. Wysocki
Quoted 1 line · Alexey Fisher
May be this is the wrong plase to ask.
Yeah, better ask that on [email protected] (CCed).
Quoted 18 lines
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap offit will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
That is from the bad-ole-days. I could be wrong, but AFAIK only the ipw2x00 drivers do that anyway. I recently merged a patch to change the default for that for ipw2200 into wireless-testing. We should probably have one for ipw2100 as well.
Anyway, there are module options for those. Add "options ipw2200 associate=0" to /etc/modprobe.conf.
Hth!
John
Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 25 lines · On Saturday 25 October 2008 15:55:12 John W. Linville wrote:
Quoted 23 lines · Rafael J. Wysocki
Quoted 1 line · Alexey Fisher
May be this is the wrong plase to ask.
Yeah, better ask that on [email protected] (CCed).
Quoted 18 lines
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap offit will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
Quoted 7 lines
That is from the bad-ole-days. I could be wrong, but AFAIK only the ipw2x00 drivers do that anyway. I recently merged a patch to change the default for that for ipw2200 into wireless-testing. We should probably have one for ipw2100 as well.
Anyway, there are module options for those. Add "options ipw2200 associate=0" to
/etc/modprobe.conf.
I use associate=0 with smole workaround:
drivers/net/wireless/ipw2200.c +1 -1
@@ -7582,7 +7582,7 @@ static int ipw_associate(void *data)if (!(priv->config &CFG_ASSOCIATE ) && !(priv->config & (CFG_STATIC_ESSID | -CFG_STATIC_CHANNEL |CFG_STATIC_BSSID ))) { +CFG_STATIC_BSSID ))) {IPW_DEBUG_ASSOC ("Not attempting association (associate=0)\n" );return 0 ; }
becouse networkmanager do not set channel=0 to be compartibel with other drivers.
Are there any better solution?
A message that is not in the archive (sent off-list or not yet received): 200810252245.30279.bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org
Quoted 41 lines · Alexey Fisher
Quoted 25 lines · On Saturday 25 October 2008 15:55:12 John W. Linville wrote:
Quoted 23 lines · Rafael J. Wysocki
Quoted 1 line · Alexey Fisher
May be this is the wrong plase to ask.
Yeah, better ask that on [email protected] (CCed).
Quoted 18 lines
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap offit will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
Quoted 7 lines
That is from the bad-ole-days. I could be wrong, but AFAIK only the ipw2x00 drivers do that anyway. I recently merged a patch to change the default for that for ipw2200 into wireless-testing. We should probably have one for ipw2100 as well.
Anyway, there are module options for those. Add "options ipw2200 associate=0" to
/etc/modprobe.conf.I use associate=0 with smole workaround:
drivers/net/wireless/ipw2200.c +0
-0
drivers/net/wireless/ipw2200.c static int ipw_associate(void *data) · line 7588
Quoted 8 lines
drivers/net/wireless/ipw2200.c +1
-1@@ -7582,7 +7582,7 @@ static int ipw_associate(void *data)if (!(priv->config &CFG_ASSOCIATE ) && !(priv->config & (CFG_STATIC_ESSID | -CFG_STATIC_CHANNEL |CFG_STATIC_BSSID ))) { +CFG_STATIC_BSSID ))) {IPW_DEBUG_ASSOC ("Not attempting association (associate=0)\n" );return 0 ; }
Yeah, that's probably appropriate, otherwise just 'iwconfig eth1 channel 6' would trigger association to _something_, which is wrong. Changing the channel should (and does) trigger reassociation, but only if there is an SSID to associate with!
In plain english, this if statement should read:
"If associate=0, and no locked SSID or locked BSSID have been set, don't associate"
Quoted 2 lines
becouse networkmanager do not set channel=0 to be compartibel with other drivers.
wpa_supplicant sets (or doesn't set) the channel, not NM...
Care to submit a patch with the appropriate signed-off-by tag?
Thanks!
Dan
A message that is not in the archive (sent off-list or not yet received): 1225124023.13499.40.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Quoted 61 lines · Dan Williams
Quoted 41 lines · Alexey Fisher
Quoted 25 lines · On Saturday 25 October 2008 15:55:12 John W. Linville wrote:
Quoted 23 lines · Rafael J. Wysocki
Quoted 1 line · Alexey Fisher
May be this is the wrong plase to ask.
Yeah, better ask that on [email protected] (CCed).
Quoted 18 lines
The question is: Why differnet wlan drivers use different settings to stay silent - powered on but not trying to associate to any accespoint? For example: ipw2200 - if wlan was connfigured like:
iwconfig wlan1 essid "my-ap" chan 6 ap my:aps:mac ?key s:pass
this will normaly connect to my secure ?AP. and if i set after this:
?
iwconfig wlan1 essid off ap offit will connect to unsecure AP of my neighbour or of Dr.Evil :) to disable association on ipw2200 i need to set all this and plus "chan 0". With this cnowleg i want to set up iwl3945, and surprise it's not working. This driver do not accepted "chan 0" and instead of "essid off" it did "essid """
Are there any unified way to keep adapter powered on but not trying to associate to some AP?
Quoted 7 lines
That is from the bad-ole-days. I could be wrong, but AFAIK only the ipw2x00 drivers do that anyway. I recently merged a patch to change the default for that for ipw2200 into wireless-testing. We should probably have one for ipw2100 as well.
Anyway, there are module options for those. Add "options ipw2200 associate=0" to
/etc/modprobe.conf.I use associate=0 with smole workaround:
drivers/net/wireless/ipw2200.c +0
-0drivers/net/wireless/ipw2200.c static int ipw_associate(void *data) · line 7588
Quoted 8 lines
drivers/net/wireless/ipw2200.c +1
-1@@ -7582,7 +7582,7 @@ static int ipw_associate(void *data)if (!(priv->config &CFG_ASSOCIATE ) && !(priv->config & (CFG_STATIC_ESSID | -CFG_STATIC_CHANNEL |CFG_STATIC_BSSID ))) { +CFG_STATIC_BSSID ))) {IPW_DEBUG_ASSOC ("Not attempting association (associate=0)\n" );return 0 ; }Yeah, that's probably appropriate, otherwise just 'iwconfig eth1 channel 6' would trigger association to _something_, which is wrong. Changing the channel should (and does) trigger reassociation, but only if there is an SSID to associate with!
In plain english, this if statement should read:
"If associate=0, and no locked SSID or locked BSSID have been set, don't associate"
Quoted 6 lines
Quoted 2 lines
becouse networkmanager do not set channel=0 to be compartibel with other drivers.
wpa_supplicantsets (or doesn't set) the channel, not NM...Care to submit a patch with the appropriate signed-off-by tag?
Ping; could you submit the patch with the proper signed-off-by statement?
Thanks!
Dan
A message that is not in the archive (sent off-list or not yet received): 1225747524.21347.2.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Am Montag, den 03.11.2008, 16:25 -0500 schrieb Dan Williams:
Quoted 5 lines
Ping; could you submit the patch with the proper signed-off-by statement?
Thanks!
Dan
Sorry didn't thought it was to me.
i did't had a time to find how to supply patch with git .. i think it should be some thing with git-diff and git-formate-mail.. is it? Can you please write how to do it correctly, i really do not haw time to find it out now.
(quoted diff) +0 -0
b/drivers/net/wireless/ipw2200.c
index dcce354..d26beed 100644
drivers/net/wireless/ipw2200.c +1 -2
@@ -7581,8 +7581,7 @@ static int ipw_associate(void *data) }if (!(priv->config &CFG_ASSOCIATE ) && - !(priv->config & (CFG_STATIC_ESSID | -CFG_STATIC_CHANNEL |CFG_STATIC_BSSID ))) { + !(priv->config & (CFG_STATIC_ESSID |CFG_STATIC_BSSID ))) {IPW_DEBUG_ASSOC ("Not attempting association (associate=0)\n" );return 0 ; }