#786: Madwifi does not work, for reasons I do not understand.
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: madwifi: driver | Version: trunk
Keywords: | Patch_attached: 0
-------------------------------------+--------------------------------------
{{{
kernel: branch wireless-2.6.
madwifi: from svn.
card: 00:0d.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
COMMAND: modprobe ath_pci autocreate=ap
dmesg:
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn r1696)
ath_rate_sample: 1.2 (svn r1696)
ath_pci: 0.9.4.5 (svn r1696)
PCI: setting IRQ 11 as level-triggered
PCI: Found IRQ 11 for device 0000:00:0d.0
PCI: Sharing IRQ 11 with 0000:01:00.0
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: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.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
couldn't load module 'wlan_scan_ap' (-38)
unable to load wlan_scan_ap
wifi0: Atheros 5212: mem=0xed000000, irq=11
[QUESTION: why can't it load wlan_scan_ap?]
ifconfig:
wifi0 Link encap:UNSPEC HWaddr 00-14-A5-04-C9-99-50-86-00-00-00-00-
00-00-00-00
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 txqueuelen:199
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Memory:f8900000-f8910000
ath0 Link encap:Ethernet HWaddr 00:14:A5:04:C9:99
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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
iwconfig:
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Master Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
COMMAND: ip link set ath0 up
iwconfig:
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Master Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:15 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
athstats:
6899 PHY errors
6899 CCK timing
Antenna profile:
[NOTE: these errors keep climbing at a rate of ~150/sec]
COMMAND: ip address add 192.168.2.1/24 broadcast + dev ath0
COMMAND: iwconfig ath0 essid foo channel 10 rate 54M
COMMAND: iwpriv ath0 mode 11g
ifconfig:
wifi0 Link encap:UNSPEC HWaddr 00-14-A5-04-C9-99-50-86-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 txqueuelen:199
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Memory:f8900000-f8910000
ath0 Link encap:Ethernet HWaddr 00:14:A5:04:C9:99
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fe04:c999/64 Scope:Link
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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
iwconfig:
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:"foo"
Mode:Master Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:15 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[QUESTION: shouldn't that say "802.1g"?]
athstats:
30478 PHY errors
30478 CCK timing
Antenna profile:
[NOTE: still climbing at the same rate]
COMMAND: iwlist ath0 scanning
ath0 No scan results
I then scan for the access point from my laptop: it does not show up.
However, ifconfig now shows some packets received by wifi0:
wifi0 Link encap:UNSPEC HWaddr 00-14-A5-04-C9-99-50-86-00-00-00-00-
00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:750 (750.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Memory:f8900000-f8910000
ath0 Link encap:Ethernet HWaddr 00:14:A5:04:C9:99
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fe04:c999/64 Scope:Link
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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
A few such packets come in every time I run "iwlist scan" on the (remote)
laptop.
dmesg is silent through all this.
This hardware configuration has worked in the past with ubuntu dapper's
madwifi-old.
This morning, I got the card working---with some 2.6.17 kernel and some
recent madwifi version, I do not know exactly---but I have never
reproduced that success, which only happened one time while I was invoking
all sorts of wireless-configuration commands.
}}}
--
Ticket URL: <http://madwifi.org/ticket/786>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets