Hello,

I recently bought a wifi card with an atheros AR5212 chipset.  I am currently
trying to make it work with my ultra5 sun station.  However it is impossible
to scan (iwlist scan) or to use wpa_supplicant.  For information this is the
version of my machine, OS...
| cpu: TI UltraSparc IIi (Sabre)
| OS: Linux 2.6.24-rc6-mm1 sparc64 / Debian testing
| wpa_supplicant: wpa_supplicant v0.6.0
| iwconfig:  Wireless-Tools version 29
| ath5k: version  0.1.1 (modinfo information)

The following output is produced when I try to scan:
| [1109] > rmmod ath5k ; rmmod mac80211 ; modprobe ath5k ; ifconfig wlan0 up
| [1110] > iwlist wlan0 scan
| wlan0     No scan results
and dmesg produce the followigng ouput:
| [ 8205.807057] ath5k_pci 0000:02:03.0: registered as 'phy7'
| [ 8205.905955] phy7: Selected rate control algorithm 'simple'
| [ 8205.910232] ath5k phy7: Atheros AR5213A chip found (MAC: 0x79, PHY: 0x45)
| [ 8205.910581] ath5k phy7: RF2112A 2GHz radio found (0x56)
| [ 8206.164118] ADDRCONF(NETDEV_UP): wlan0: link is not ready

The following output is produced when I try to use wpa_supplicant:
| [1114] > rmmod ath5k ; rmmod mac80211 ; modprobe ath5k ; ifconfig wlan0 up
| [1115] > wpa_supplicant -d madwifi -iwlan0 -c wpa_supplicant.conf
| Initializing interface 'wlan0' conf 'wpa_supplicant.conf' driver 'default'
| ctrl_interface 'N/A' bridge 'N/A'
| Configuration file 'wpa_supplicant.conf' -> '/root/wpa_supplicant.conf'
| Reading configuration file '/root/wpa_supplicant.conf'
| Priority group 0
| id=0 ssid='wifi_kochon'
| Initializing interface (2) 'wlan0'
| EAPOL: SUPP_PAE entering state DISCONNECTED
| EAPOL: KEY_RX entering state NO_KEY_RECEIVE
| EAPOL: SUPP_BE entering state INITIALIZE
| EAP: EAP entering state DISABLED
| EAPOL: External notification - portEnabled=0
| EAPOL: External notification - portValid=0
| SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
| capabilities: key_mgmt 0xf enc 0xf
| WEXT: Operstate: linkmode=1, operstate=5
| Own MAC address: 00:19:5b:67:78:96
| wpa_driver_wext_set_wpa
| wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
| wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
| wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
| wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
| wpa_driver_wext_set_countermeasures
| ioctl[SIOCSIWAUTH]: Operation not supported
| WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
| RSN: flushing PMKID list in the driver
| Setting scan request: 0 sec 100000 usec
| Added interface wlan0
| RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
| Wireless event: cmd=0x8b06 len=12
| State: DISCONNECTED -> SCANNING
| Starting AP scan (specific SSID)
| Scan SSID - hexdump_ascii(len=11):
| 77 69 66 69 5f 6b 6f 63 68 6f 6e                  wifi_kochon
| Trying to get current scan results first without requesting a new
| scan to speed up initial association
| Received 0 bytes of scan results (0 BSSes)
| Scan results: 0
| Selecting BSS from priority group 0
| Try to find WPA-enabled AP
| Try to find non-WPA AP
| No suitable AP found.
| Setting scan request: 0 sec 0 usec
| Starting AP scan (broadcast SSID)
| RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
| Wireless event: cmd=0x8b19 len=16
| Received 0 bytes of scan results (0 BSSes)
| Scan results: 0
and dmesg produce the followigng ouput:
[ 8409.415436] ath5k_pci 0000:02:03.0: registered as 'phy9'
| [ 8409.514520] phy9: Selected rate control algorithm 'simple'
| [ 8409.518805] ath5k phy9: Atheros AR5213A chip found (MAC: 0x79, PHY: 0x45)
| [ 8409.519159] ath5k phy9: RF2112A 2GHz radio found (0x56)
| [ 8409.772567] ADDRCONF(NETDEV_UP): wlan0: link is not ready
I obtain the same result with the following wpa_supplicant driver: wext and
bsd.  For information I use WPA (TKIP + AES) encryption and my wpa_supplicant
configuration file is:
| network={
|     ssid="wifi_kochon"
|     scan_ssid=1
|     key_mgmt=WPA-PSK
|     psk="XXX""
| }

Thanks,
cedric.

-- 
Cedric KOCH-HOFER
Tel: +33 (0) 4 76 57 43 93
Fax: +33 (0) 4 76 47 38 14
E-mail: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to