Hey there,
I was using Madwifi drivers for some months (thanks to the devs !), and it
was working like a charm.
I'm trying to switch to ath5k driver, now in the kernel, but it's not
working, perhaps because of a bad configuration?
I'm on a Debian Lenny, with the 2.6.24 standard kernel :
# uname -a
Linux 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686 GNU/Linux
My Wifi chip information :
# lspci -vv
[...]
05:01.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC
(rev 01)
Subsystem: Atheros Communications Inc. Device 2052
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: ath5k_pci
Kernel modules: ath5k
Kernel drivers seems to be loaded :
# lsmod
[...]
ath5k 89860 0
mac80211 114380 1 ath5k
cfg80211 13480 1 mac80211
[...]
Dmesg output when I load module ath5k :
# dmesg
[...]
ath5k_pci 0000:05:01.0: registered as 'phy0'
phy0: Selected rate control algorithm 'simple'
ath5k phy0: Atheros AR5213A chip found (MAC: 0x78, PHY: 0x45)
ath5k phy0: RF2112A 2GHz radio found (0x56)
There's no output when I "ifup wlan0".
My ifconfig output :
# ifconfig
[...]
wlan0 Link encap:Ethernet HWaddr 00:c0:a8:d3:14:28
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wmaster0 Link encap:UNSPEC HWaddr
00-C0-A8-D3-14-28-6C-6F-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
And iwconfig output :
# iwconfig
[...]
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
And, my configuration files :
# cat /etc/network/interfaces
[...]
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface clapiers_combaz inet dhcp
# cat /etc/wpa_supplicant/wpa_supplicant.conf
update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="AP-XXX"
psk="mypsk"
id_str="clapiers_combaz"
}
network={
key_mgmt=NONE
}
But, it doesn't work and I can't scan...
# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
# iwlist wlan0 ap
wlan0 Interface doesn't have a list of Peers/Access-Points
I don't know how to debug more... Please help ! :)
Regards,
--
Pierre Réveillon
_______________________________________________
ath5k-users mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-users