# # Original File # ------------- # http://www.Linux-Sec.net/Wireless/Install-HowTo/madwifi.txt # http://www.Linux-Sec.net/Wireless/Install-HowTo/Commands.txt ( this file ) # http://www.Linux-Sec.net/Wireless/Install-HowTo/NetGear.WG311.Install.RedHat.txt # # # 20-Apr-04 amo Sepaarate out the commands # # # # Key Sizes # ---------- # http://www.iss.net/wireless/WLAN_FAQ.php # 5 char - 40 bit # 6 char - 48 bit # # # MadWifi Driver ( Atheros ) # -------------- # http://madwifi.sourceforge.net # # # MadWifi FAQ # ----------- # http://www.mattfoster.clara.co.uk/madwifi-faq.htm # -- order dependent -- # iwconfig ath0 key XXXXXXXXXX # iwconfig ath0 ap XX:XX:XX:XX:XX:XX # iwconfig ath0 channel X # iwconfig ath0 essid foobar # iwconfig ath0 rate XXMB # # # NetGear WG311 Drivers # --------------------- # - http://kbserver.netgear.com/products/WG311.asp # - Netgear WG311 uses madwifi drivers # - Netgear WG311 could be using prism54 driver too ( or maybe not prism ?? ) # # http://www.larsen-b.com/archives/000103.html # http://toys.lerdorf.com/archives/13_80211g_PCI_card_options.html # Netgear WG311 uses the Intersil Prism GT chipset ( or maybe not prism ?? ) # # http://madwifiwiki.thewebhost.de/wiki/NetgearWG311 # http://dag.wieers.com/packages/kernel-module-madwifi - crazy list of modules # # # Config Options # --------------- # http://www.sodan.ecc.u-tokyo.ac.jp/~okayama/memo/atheros.shtml # http://www.atre.t.u-tokyo.ac.jp/seminars/mech_enshu/wirelesslan.html # # http://www.wlanfr.net/forum.php?op=mess&pid=1336 # iwconfig ath0 mode ad-hoc # # http://www.sistemistiindipendenti.org/pdf/wireless_dlink.pdf # # http://mtlin.org/blog/archives/000021.html # 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) # # 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 # # # # # Manually Install the MadWifi Wireless Drivers # ------------------------------------- # insmod /lib/modules/`uname -r`/net/wlan.o # insmod /lib/modules/`uname -r`/net/ath_hal.o # insmod /lib/modules/`uname -r`/net/ath_pci.o # # # Configure the Connection # ------------------------ # iwlist ath0 scan # # ifconfig ath0 up # # iwconfig ath0 key XXXXXXXXXX # # iwconfig ath0 ap MAC-Address # # iwconfig ath0 mode ad-hoc < ad-hoc | managed > # iwconfig ath0 channel 1 < 1 -11 > # iwconfig ath0 essid your_essid_here # iwconfig ath0 rate 54MB # ifconfig ath0 192.168.11.11 # # # # iwconfig Options # ---------------- # iwconfig ath0 mode ad-hoc channel 10 rate 54M auto essid special-ID # < ad-hoc | managed > # # # insmod $HAL # ------------- # 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 $PCI # -------------- # ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps # ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps # ath0: 802.11 address: 00:09:5b:89:48:97 # # # dmesg # -------------- # wlan: 0.7.1.1 BETA (Sam Leffler ) # ath_hal: module license 'Proprietary' taints kernel. # ath_hal: 0.9.5.3 BETA (Sam Leffler ) # ath_pci: 0.8.3.2 BETA (Sam Leffler ) # ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps # ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps # ath0: 802.11 address: 00:09:5b:89:48:97 # ath0: Atheros 5212: mem=0xff8f0000, irq=21 # # # iwconfig # -------- # lo no wireless extensions. # eth0 no wireless extensions. # ath0 no wireless extensions. # # # iwconfig Errors # ----------------- # # Error for wireless request "Set Mode" (8B06) : # SET failed on device ath0 ; Invalid argument. # ath0 no private ioctls. # # Error for wireless request "Set Encode" (8B2A) : # SET failed on device ath0 ; Invalid argument. # # # End of file