IwPriv

Category:Sasecurity
see winstrom
oops old code is
(optional) This iwpriv command locks the NIC in the 802.11g-only mode
iwpriv ath0 mode 3
iwpriv not iwconfig.
Tom
ADR Communications wrote:
> Hi all anyone know how to lock the Winstron cm9 card to 2.4Ghz on LW 
OS, it
> always fires up on 5.8Ghz
===============================================
It depends on what divers MeshAP is using.
There is madwifi and madwifi_ng (next generation) and the syntax is 
different.
Can't find it in the docs. Try iwconfig ath0 channel 1 - 11 (the a 
channels are silly numbers like 40 42 38 or similar.
also try mode # and see what they do. This had someting to do with the 
old drivers.
iwconfig ath0 mode 2
a LONG time ago at the Glastonbury festival.
=== asdfasdf ===
You can use:
iwpriv wlan0 mode X
where X is one of
1=802.11a
2=802.11b
3=802.11g
So you probably want:
iwpriv wlan0 mode 3
I'll add a setting to the management pages for this shortly.
===========================
> I put together an Atheros 11b/g system with an el cheapo D-Link 
DWL-G510 in ad-hoc mode on the latest release of the MeshAP software. For a
> client I tried running a DWL-AG530 (a/b/g) on XP. It hooked in 
alright but gave a reading of 11Mbps which indicates to me its in 11b mode 
(the antennae are just a few feet apart with an aluminum foil shield 
between them and the signal is still full).
 How do I tell the MeshAP to run only 11g?
====================
To set either a/b/g
iwpriv wlan0 mode 1 - To lock to 11a only.
 
iwpriv wlan0 mode 2 - To lock to 11b only.
 
iwpriv wlan0 mode 3 - To lock to 11g only.
 
iwpriv wlan0 mode 0 - (default) autoselect mode.
=== links ===
MeshNetworking locustworld mesh documentation main page.
Category:Mesh