[Madwifi-users] madwifi -- unable to bring up the wireless interface
Status: Beta
Brought to you by:
otaku
From: aneeskA <ane...@gm...> - 2008-02-20 11:44:24
|
Hi there, I am trying to use *madwifi Release 0.9.4* for *MIPS EL 32-bit* platform using *mipsel-linux-gcc* (GCC) 4.1.2 (ebs 20070215).I was able to successfully compile the driver. Also install them on my board. The modules I installed are :- $ *lsmod* Module Size Used by ath_pci 112640 0 ath_rate_sample 15488 0 ath_rate_onoe 7824 0 ath_rate_amrr 8752 0 ath_hal 239936 2 ath_pci,ath_rate_sample wlan_xauth 1984 0 wlan_wep 7616 0 wlan_tkip 14592 0 wlan_scan_sta 16000 0 wlan_scan_ap 6624 0 wlan_ccmp 10080 0 wlan_acl 5696 0 wlan 240928 11 ath_pci,ath_rate_sample,ath_rate_onoe,ath_rate_amrr,wlan_xauth,wlan_wep,wlan_tkip,wlan_scan_sta,wlan_scan_ap,wlan_ccmp,wlan_acl *dmesg* says :- wlan: 0.9.4 wlan: mac acl policy registered ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC) ath_rate_amrr: 0.1 (0.9.4) ath_rate_onoe: 1.0 (0.9.4) ath_rate_sample: 1.2 (0.9.4) ath_pci: 0.9.4 PCI: Enabling device 0000:00:00.0 (0000 -> 0002) PCI: Setting cache line size of device 0000:00:00.0 to 16 bytes wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 5.9 phy 4.3 radio 3.6 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=0xd0000000, irq=28 After this I tried the following steps which i found on MadWifi 'First Time User' HOWTO (http://madwifi.org/wiki/UserDocs/FirstTimeHowTo):- $ *wlanconfig ath0 destroy* $ *wlanconfig ath0 create wlandev wifi0 wlanmode sta* $ *iwconfig* Warning: Driver for device eth0 has been compiled with an ancient version of Wireless Extension, while this program support version 11 and later. Some things may be broken... eth0 `| ESSID:off/any Nickname:"" NWID:137C60 Mode:Unknown/bug Frequency:1.27702e+13 GHz Access Point: 00:00:06:00:00:00 Bit Rate=49.488 kb/s Sensitivity=2139219328/0 RTS thr=2139219328 B Fragment thr=2139219328 B Encryption key:<too big> Power Management:on lo no wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11b ESSID:"" Nickname:"" Mode:Managed Channel:0 Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/70 Signal level=0 dBm Noise level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 $ *ifconfig ath0 up* which results in :- wifi0: ath_chan_set: unable to reset channel 1 (2412 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 11 (2462 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 52 (5260 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 60 (5300 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 36 (5180 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 44 (5220 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 2 (2417 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 4 (2427 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 8 (2447 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 10 (2457 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 153 (5765 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 161 (5805 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 42 (5210 MHz) flags 0x150 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 58 (5290 MHz) flags 0x150 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 160 (5800 MHz) flags 0x150 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 48 (5240 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 153 (5765 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 6 (2437 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 6 (2437 MHz) flags 0xc0 (HAL status 0) wifi0: ath_chan_set: unable to reset channel 7 (2442 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 56 (5280 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 64 (5320 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 40 (5200 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 48 (5240 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 3 (2422 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 5 (2432 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 9 (2452 MHz) flags 0xc0 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 149 (5745 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 157 (5785 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 165 (5825 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 50 (5250 MHz) flags 0x150 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 152 (5760 MHz) flags 0x150 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 40 (5200 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 56 (5280 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) wifi0: ath_chan_set: unable to reset channel 161 (5805 MHz) flags 0x140 'Hardware didn't respond as expected' (HAL status 3) This error is being repeated. Do you have any idea whats wrong? I have posted a ticket based on this at http://madwifi.org/ticket/1794 -- anees |