# # Original File # ============= # http://www.Linux-Wireless.org/Install-HOWTO/Drivers/madwifi.Config-Howto.txt ( this file ) # http://www.Linux-Wireless.org/Install-HOWTO/wl.install.sh wireless install script # http://www.Linux-Wireless.org/Install-HOWTO/wl.config wireless config options # # # Multiband Atheros Driver for WiFi ( MADwifi ) # --------------------------------- # # # URLS # -------- # http://www.sourceforge.net/projects/madwifi # # http://www.mattfoster.clara.co.uk/madwifi-faq.htm # http://madwifiwiki.thewebhost.de/wiki/ # # # Get the Latest CVS versions ( creates a diretory tree "madwifi" ) # --------------------------- # cd /usr/local/src/ # # # # this tree is obsolete # # # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi # mv madwifi madwifi-20040524 # cd madwifi-20040524 ; make ; make install # ls -la /lib/modules/`uname -r`/net ( ath_hal.o ath_pci.o wlan.o ) # # # # ------------------------------ # # # # The Latest WPA from cvs is now obsolete as of 2004-0808 # # # # ------------------------------ # # cd /usr/local/src/ # # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -r WPA madwifi # # mv madwifi madwifi-20040806-wpa # # # # 11-Dec-03 amo Date-of-Birth # 17-May-04 amo Download latest madwifi drivers from CVS.SourceForge.net # 23-May-04 amo Update Comments # 30-May-04 amo Added cvs options for WPA version # 20-Jul-04 amo HEAD is obsoleted, use the WPA tree for both # 08-Aug-04 amo Use HEAD ( 20040808 ) ... WPA is now obsoleted as of 20040805 # # # # # Original Drivers # ---------------- # http://www.sourceforge.net/madwifi/ # http://sourceforge.net/projects/madwifi/ # # cd /usr/local/src # # ------------------------------------------ # # tar zxvfp madwifi-20030802.tgz # # -- has broken tag3 ( what channel its broadcasting on ) # # cd madwifi-2003080 # iwconfig ath0 mode auto -- fails # iwconfig ath0 mode ad-hoc -- fails # iwconfig ath0 key open -- works # iwlist scan -- works if "key open" # ping 192.168.1.12 works # # # ---------------------- # Get the Latest drivers # ---------------------- # use HEAD branch: # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi # # the WPA branch: # # head is now obsolete as of 20040805 # # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -r WPA madwifi # # # Compare the Differences # ----------------------- # diff madwifi-20040517 madwifi-20040523 # # # mv madwifi madwifi-20040517 # ln -s madwifi-20040517 madwifi # # mv madwifi madwifi-20040521 # ln -s madwifi-20040521 madwifi # mv madwifi madwifi-20040808 ln -s madwifi-20040808 madwifi # # # ------------------------------------------ # make # # rm -rf /lib/modules/2.4.26-ow1/net/ # make install # ls -la /lib/modules/2.4.26-ow1/net/ # depmod -a # # # Test and Install the wireless drivers # ------------------------------------- # insmod wlan/wlan.o # insmod ath_hal/ath_hal.o # Warning: loading ath_hal/ath_hal.o will taint the kernel: # non-GPL license - Proprietary # See http://www.tux.org/lkml/#export-tainted for information # about tainted modules # Module ath_hal loaded, with warnings # insmod driver/ath_pci.o # # # # Testing madwifi-20040517 # ------------------------ # ifconfig ath0 192.168.1.11 broadcast 192.168.1.255 netmask 255.255.255.0 up # # iwconfig ath0 mode auto -- fails # iwconfig ath0 mode ad-hoc -- fails # iwconfig ath0 key open -- fails # iwlist scan -- fails # ping 192.168.1.12 -- fails # # # Testing madwifi-20040521 # ------------------------ # ifconfig ath0 192.168.1.11 broadcast 192.168.1.255 netmask 255.255.255.0 up # # iwconfig ath0 mode auto -- fails # iwconfig ath0 mode ad-hoc -- works # iwconfig ath0 key open -- fails # iwlist scan -- works w/ key off # ping 192.168.1.12 -- works # # # # ------------------------------- # Now Configure the IP# and stuff # ------------------------------- # http://www.Linux-Wireless.org/Install-HowTo/NetGear.WG311.Install.sh.txt # # ===================================================================================== # # # lspci, the Atheros vendor id is 0x168c; e.g. # # 00:13.0 Ethernet controller: Unknown device 168c:0012 (rev 01) # # # The latest generation of universal a+b+g combo products use the 5212. # Atheros 5210 supports 11a only # Atheros 5211 supports both 11a and 11b # Atheros 5212 supports 11a, 11b, and 11g # # # Wireless tools cribsheet: # ------------------------ # iwlist ath0 scan list AP's the driver has scanned # iwconfig ath0 essid "foo" set the ssid to foo # iwpriv ath0 mode 1 lock operation to 11a only # iwpriv ath0 mode 2 lock operation to 11b only # iwpriv ath0 mode 3 lock operation to 11g only # iwpriv ath0 mode 0 autoselect from 11a/b/g (default) # # # # # # There are some debugging mechanisms for the curious/masochistic: # # # echo 1 > /proc/sys/net/ath/debug enable console msgs from the driver # echo 1 > /proc/net/wlan0/debug enable console msgs from the wlan module # echo hal > /proc/sys/net/ath/dump dump h/w register state to the console # # # # ------------------------------------------------------------------------ # Other HowTos # ------------ # http://www.Linux-Wireless.org/Install-HOWTO/WL/BASIC.Install.sh.txt # http://www.Linux-Wireless.org/Install-HOWTO/other-howto # http://www.Linux-Wireless.org/Install-HOWTO/other-config-files # # http://madwifiwiki.thewebhost.de/wiki/UserRecipies -- various distro # http://www.bussink.ch/Erik/nx7000/madwifi.htm # # http://www.linuxquestions.org/questions/showthread.php?s=&threadid=163192 # # # End of file