2008-12-27 15:13:38

by Delphi Real Estate

[permalink] [raw]
Subject: Setting 'n' or 'a' Mode, and WPA2?


I want to switch to 802.11a for streaming media, so I'm not polluting everyone else's bandwidth. Does anyone know how I set the 4965 to 'a' or 'n' only? Is there any way to set it to dual-band for the new routers which send normal traffic on 'g' and stream on 'a'? How do I set it to WPA2 only?

IOW, how do I control this card? Instructions are nowhere to be found.

Currently my /etc/network/interfaces file is set thus and works (Network Manager is uninstalled and I don't trust it):
iface wlan0 inet static
pre-up /sbin/iwconfig wlan0 txpower 5
pre-up ip link set wlan0 up
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.5
wireless-essid Hex
wpa-scan-ssid 0
wpa-ap-scan 1
wpa-ssid Hex
wpa-psk Freeasinfreedom




2008-12-29 22:40:28

by Delphi Real Estate

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?


On Monday 29 December 2008 13:59:19 Tomas Winkler wrote:
> > How do you set only 5GHz 'n' mode? WPA2?
>
> Just connect to 11n access point configured with WPA2 on 5GHz band.

Of course, why didn't I think of that. That's like saying, "To make pancakes, make pancakes."

My goal is to set /etc/network/interfaces to specifically configure the 4965AGN card for 5GHz 'n' mode *only* and WPA2. I can't find any documentation on setting 'n' mode, nor WPA2 specifically.

I'd like no broadcast of SSID, which I have working now on 'g' but don't know whether it's possible in 5GHz 'n'. And I'd like cloaked traffic and as little handshake traffic as possible, although much of this seems impossible now with as little as is known about configuration.

I'd just be happy with 5GHz 'n' mode and WPA2. Isn't there any documentation?



2008-12-29 17:52:20

by Gábor Stefanik

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?

On Mon, Dec 29, 2008 at 2:31 PM, Delphi Real Estate
<[email protected]> wrote:
>
> On Monday 29 December 2008 5:19:54 Johannes Berg wrote:
>> Umm, no. A single card can only be on one band at a time.
>
> OK, so you're saying that only the 'n' Draft2 routers can do that? That this firmware for the 4965AGN does not have Draft2 features?
>
> Does it have Draft1 features?
>
> How do you set only 5GHz 'n' mode? WPA2?

No. An access point can operate on both bands at the same time, but
not a wireless client - a client must choose _one_ band from the
several ones offered by the AP and operate on that band.

--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

2008-12-29 23:40:52

by Tomas Winkler

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?

On Tue, Dec 30, 2008 at 12:33 AM, Delphi Real Estate
<[email protected]> wrote:
>
> On Monday 29 December 2008 13:59:19 Tomas Winkler wrote:
>> > How do you set only 5GHz 'n' mode? WPA2?
>>
>> Just connect to 11n access point configured with WPA2 on 5GHz band.
>
> Of course, why didn't I think of that. That's like saying, "To make pancakes, make pancakes."

You are not reading this correctly. The mode depends on access point
setting, there is nothing special to configure.

>
> My goal is to set /etc/network/interfaces to specifically configure the 4965AGN card for 5GHz 'n' mode *only* and WPA2. I can't find any documentation on setting 'n' mode, nor WPA2 specifically.

For WPA2 you need wpa_supplicant so read it's manual for configuration.

> I'd like no broadcast of SSID, which I have working now on 'g' but don't know whether it's possible in 5GHz 'n'. And I'd like cloaked traffic and as little handshake traffic as possible, although much of this seems impossible now with as little as is known about configuration.
>
> I'd just be happy with 5GHz 'n' mode and WPA2. Isn't there any documentation?

Please note for 2.6.27 and above aggregation is broken in iwlagn
(4965) and this is what you need for good streaming. It shell be fixed
in near future hopefully.

Tomas

2008-12-29 13:19:33

by Johannes Berg

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?

On Sat, 2008-12-27 at 07:06 -0800, Delphi Real Estate wrote:
> Is there any way to set it to dual-band for the new routers which send
> normal traffic on 'g' and stream on 'a'?

Umm, no. A single card can only be on one band at a time.

johannes


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part

2008-12-29 21:07:49

by Johannes Berg

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?

On Mon, 2008-12-29 at 18:44 +0100, Stefanik Gábor wrote:

> No. An access point can operate on both bands at the same time, but
> not a wireless client - a client must choose _one_ band from the
> several ones offered by the AP and operate on that band.

Most access points can't even do that.

johannes


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part

2008-12-29 13:17:44

by Delphi Real Estate

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?


Wow, surely this is not unknown by some of you guys. Isn't anyone using 'a' mode or 5GHz 'n' mode? WPA2?

Will you please advise?


On Saturday 27 December 2008 7:06:56 Delphi Real Estate wrote:
>
> I want to switch to 802.11a for streaming media, so I'm not polluting everyone else's bandwidth. Does anyone know how I set the 4965 to 'a' or 'n' only? Is there any way to set it to dual-band for the new routers which send normal traffic on 'g' and stream on 'a'? How do I set it to WPA2 only?
>
> IOW, how do I control this card? Instructions are nowhere to be found.
>
> Currently my /etc/network/interfaces file is set thus and works (Network Manager is uninstalled and I don't trust it):
> iface wlan0 inet static
> pre-up /sbin/iwconfig wlan0 txpower 5
> pre-up ip link set wlan0 up
> address 192.168.1.1
> netmask 255.255.255.0
> gateway 192.168.1.5
> wireless-essid Hex
> wpa-scan-ssid 0
> wpa-ap-scan 1
> wpa-ssid Hex
> wpa-psk Freeasinfreedom
>
>
> --
> 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
>
>



2008-12-29 18:17:07

by Delphi Real Estate

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?


On Monday 29 December 2008 9:44:58 Stefanik G=E1bor wrote:
> On Mon, Dec 29, 2008 at 2:31 PM, Delphi Real Estate
> <[email protected]> wrote:
> >
> > On Monday 29 December 2008 5:19:54 Johannes Berg wrote:
> >> Umm, no. A single card can only be on one band at a time.
> >
> > OK, so you're saying that only the 'n' Draft2 routers can do that? =
That this firmware for the 4965AGN does not have Draft2 features?
> >
> > Does it have Draft1 features?
> >
> > How do you set only 5GHz 'n' mode? WPA2?
>=20
> No. An access point can operate on both bands at the same time, but
> not a wireless client - a client must choose _one_ band from the
> several ones offered by the AP and operate on that band.


OK, that's fine.
=20
So does the driver/firmware firmware for the 4965AGN have Draft2 featur=
es?

Does it have Draft1 features?

How do you set only 5GHz 'n' mode? WPA2?

2008-12-29 21:59:21

by Tomas Winkler

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?

T24gTW9uLCBEZWMgMjksIDIwMDggYXQgODoxMCBQTSwgRGVscGhpIFJlYWwgRXN0YXRlCjxJbmZv
QGRlbHBoaS1yZWFsLWVzdGF0ZS5jb20+IHdyb3RlOgo+Cj4gT24gTW9uZGF5IDI5IERlY2VtYmVy
IDIwMDggOTo0NDo1OCBTdGVmYW5payBHw6Fib3Igd3JvdGU6Cj4+IE9uIE1vbiwgRGVjIDI5LCAy
MDA4IGF0IDI6MzEgUE0sIERlbHBoaSBSZWFsIEVzdGF0ZQo+PiA8SW5mb0BkZWxwaGktcmVhbC1l
c3RhdGUuY29tPiB3cm90ZToKPj4gPgo+PiA+IE9uIE1vbmRheSAyOSBEZWNlbWJlciAyMDA4IDU6
MTk6NTQgSm9oYW5uZXMgQmVyZyB3cm90ZToKPj4gPj4gVW1tLCBuby4gQSBzaW5nbGUgY2FyZCBj
YW4gb25seSBiZSBvbiBvbmUgYmFuZCBhdCBhIHRpbWUuCj4+ID4KPj4gPiBPSywgc28geW91J3Jl
IHNheWluZyB0aGF0IG9ubHkgdGhlICduJyBEcmFmdDIgcm91dGVycyBjYW4gZG8gdGhhdD8gIFRo
YXQgdGhpcyBmaXJtd2FyZSBmb3IgdGhlIDQ5NjVBR04gZG9lcyBub3QgaGF2ZSBEcmFmdDIgZmVh
dHVyZXM/Cj4+ID4KPj4gPiBEb2VzIGl0IGhhdmUgRHJhZnQxIGZlYXR1cmVzPwo+PiA+Cj4+ID4g
SG93IGRvIHlvdSBzZXQgb25seSA1R0h6ICduJyBtb2RlPyAgV1BBMj8KPj4KPj4gTm8uIEFuIGFj
Y2VzcyBwb2ludCBjYW4gb3BlcmF0ZSBvbiBib3RoIGJhbmRzIGF0IHRoZSBzYW1lIHRpbWUsIGJ1
dAo+PiBub3QgYSB3aXJlbGVzcyBjbGllbnQgLSBhIGNsaWVudCBtdXN0IGNob29zZSBfb25lXyBi
YW5kIGZyb20gdGhlCj4+IHNldmVyYWwgb25lcyBvZmZlcmVkIGJ5IHRoZSBBUCBhbmQgb3BlcmF0
ZSBvbiB0aGF0IGJhbmQuCj4KPgo+IE9LLCB0aGF0J3MgZmluZS4KPgo+IFNvIGRvZXMgdGhlIGRy
aXZlci9maXJtd2FyZSBmaXJtd2FyZSBmb3IgdGhlIDQ5NjVBR04gaGF2ZSBEcmFmdDIgZmVhdHVy
ZXM/Cgp5ZXMuCgo+Cj4gRG9lcyBpdCBoYXZlIERyYWZ0MSBmZWF0dXJlcz8KClllcywgSWYgdGhl
eSB3ZXJlbid0IG92ZXJyaWRkZW4gYnkgRHJhZnQyCj4KPiBIb3cgZG8geW91IHNldCBvbmx5IDVH
SHogJ24nIG1vZGU/ICBXUEEyPwoKSnVzdCBjb25uZWN0IHRvIDExbiBhY2Nlc3MgcG9pbnQgY29u
ZmlndXJlZCB3aXRoIFdQQTIgb24gNUdIeiBiYW5kLgoKVGhhbmtzClRvbWFzCg==

2008-12-29 17:31:49

by Delphi Real Estate

[permalink] [raw]
Subject: Re: Setting 'n' or 'a' Mode, and WPA2?


On Monday 29 December 2008 5:19:54 Johannes Berg wrote:
> Umm, no. A single card can only be on one band at a time.

OK, so you're saying that only the 'n' Draft2 routers can do that? That this firmware for the 4965AGN does not have Draft2 features?

Does it have Draft1 features?

How do you set only 5GHz 'n' mode? WPA2?