| May | JUN | Jul |
| 20 | ||
| 2003 | 2004 | 2005 |
COLLECTED BY
Collection: Alexa Crawl DX
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifiThat will copy the source for the driver to a directory called madwifi. To build the driver, use the standard open-source command set:
# cd madwifi # make (lots of build messages) # make installIn the case of this test system, I manually installed the driver. SuSE 9.0 includes the madwifi driver as part of the distribution, but the driver is too old to be effective. So, I determined where the driver was loading from in /lib/modules and manually copied my new modules over. When you install new modules, you will need to run "depmod -a"; make install may do this for you. Using the driver Loading the driver creates an interface prefaced with "ath". Most likely, it will be ath0, since you will only have one Atheros card running in your system. (Older versions of madwifi used the prefix "wlan". If you see "wlan", you probably need to update your drivers.) As in the case of Hermes-based cards, you need to set a static key to force the card and driver into the encrypted mode. It is a dummy key that won't be used. madwifi uses iwconfig, so the command set is the same as it is for the Hermes card that was in the last note:
# iwconfig ath0 key 12345678901234567890123456 # iwconfig ath0 essid "MyNetwork" # ifconfig ath0 upAfter running those three commands, the card will come up and start scanning to find an AP. Once it associates, the AP MAC address will be filled in in iwconfig. You can run Xsupplicant just like before, and it will authenticate and plumb the keys. Afterwards, if you run iwconfig, you will see the key in use for your station:
# iwconfig ath0
ath0 IEEE 802.11 ESSID:"myssid"
Mode:Managed Frequency:5.28GHz Access Point: 00:0B:0E:00:F0:43
Bit Rate:36Mb/s Tx-Power:off Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:E452-94AC-09DB-2200-1256-6D7D-74 Security mode:open
Power Management:off
Link Quality:31/94 Signal level:-64 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Matthew Gast
is the author
of 802.11 Wireless Networks: The Definitive Guide, Network Printing, and
T1: A Survival Guide.
oreillynet.com Copyright © 2004 O'Reilly Media, Inc.