HOW-TO Install Madwifi, Linux device driver for wireless LAN chipsets from Atheros
Madwifi is project provides a Linux kernel device driver for Atheros chipset based Wireless LAN device. We have Madwifi-old, Madwifi-ng and official release Madwifi-0.9.x drivers.
Web :
http://www.madwifi.org/
http://www.madwifi.net/
-----------------------------------------
My system :
- RHEL 4 with kernel 2.6.9-5 and 2.6.13-5
- SUSE Linux 10.0 with kernel 2.6.13
Wireless driver : Madwifi-ng , Madwifi-old , Madwifi-0.9.2
Wireless device : ATERM WL54AG
-----------------------------------------
- GCC compiler collection
- Ашиглаж буй системийн цөм (kernel)-ийн эх код ("source -> /usr/src/linux-XXXXX" байдлаар холбоос үүссэн байх.)
- Ашиглаж буй системийн цөмд "Wireless Extensions" дэмжигдсэн байх.
1. Download the Madwifi wireless driverCheckout current Madwifi driver (madwifi-ng) from madwifi.org with subversion
# svn list http://svn.madwifi.org/trunk
# svn checkout http://svn.madwifi.org/trunk madwifi-0.9.2
or
# svn checkout http://svn.madwifi.org/branches/madwifi-old
2. Compile Madwifi driver
# make
# make install
3. After compile, Madwifi drivers are loaded at: /lib/modules/`uname -r`/net
ath_hal.ko
ath_pci.ko
ath_rate_sample.ko
wlan_acl.ko
wlan_ccmp.ko
wlan.ko
wlan_scan_ap.ko
wlan_scan_sta.ko
wlan_tkip.ko
wlan_wep.ko
wlan_xauth.ko
4. Installing Madwifi modules
We need to use the countrycode option (exm: Japan = 392) when loading the madwifi driver.
# lsmod
. . . . . . . . .
ath_pci 110628 0
ath_rate_sample 13056 1 ath_pci
wlan 199004 6 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal 189008 5 ath_pci,ath_rate_sample
. . . . . . . . .
5. To make this happen during boot, add the following to modprobe config file “/etc/modprobe.conf”.
6. Configuring device (athX) interface
- Operation mode = master/station/adhoc
- Channel = between 1 and 14
- ESSID = "TEST"
- Destroy madwifi device which detected automaticly
- Create new madwifi-ng driver
- ESSID , channel, ... setup
- Network IP, Netmask, ... setup
7. Display wireless network Interface configuration
Display network interface configuration
Display wireless network interface configuration
8. Some usefull commands to display wireless information
Socket 0:product info: "NEC AccessTechnica, Ltd.", "AtermWL54AG(PA-WL/54AG)", "1.0", " "manfid: 0x0010, 0x0012function: 6 (network)
# lspci
...........
05:02.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)06:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
No comments:
Post a Comment