Summary:
- I have performed an upgrade to R5A30.1
- The old wireless card does not associate anymore
- A new wireless card compatible with madwifi has trouble associating, and when it does, traffic doesn't seem to go anywhere
- The same hardware setup works flawlessly under a stock Knoppix 4.02 live CD
Log:
- Machine has been running under R4V4 for a while. Figured it was time for an upgrade
- Did an upgrade to preserve /myth partition, but config files from backup caused many-o messes. So I renamed the backup file so that the upgrade wouldn't find it. Re-installed (with upgrade option).
- Can't get the wireless card to work. It worked for months under R4V4, after cutomization to get it going (ndiswrapper, etc...)
- Tried getting it to work for a while (ndiswrapper, acx100), then figured it was maybe caused by the switch to 2.6 kernel.
- Changed the card to a Netgeat WG311T, said to be supported by Madwifi (atheros chipset)
- Downloaded, installed, configured latest madwifi drivers
Current situation:
- The card will "sometimes" associate properly (with an AP that is about 3 feet away). When it does, reported connection speed is lousy.
- I have noticed that bringing up eth0 will trigger ath0 to associate about 5 seconds later. I don't understand at all why that is.
- I then bring eth0 down and try to ping the gateway with ath0, but it can't connect.
- Everything *seems* to be working fine. Logs look ok, config looks ok, etc.
- The same hardware setup in the same spot works flawlessly under a stock Knoppix 4.02 live CD. The card associates right away, connection speed is 54M, connectivity is here.
- I just can't figure it out. It annoys me. I need help.
My questions:
- Is this a kernel problem? Is the kernel somehow misconfigured (explaining the weird behaviour). I have tried rebuilding it from the sources included, but no luck. Are there some secret config options that need to be enabled?
- Is someone actually running a WLAN with Atheros chipset under R5A30.1?
- What should I do next, short of starting from scratch with a Sarge netinstall CD?
Log file and such:
Code:
iwconfig:
=========
ath0 IEEE 802.11g ESSID:"baybridge"
Mode:Managed Frequency:2.412 GHz Access Point: 00:C0:49:53:00:CC
Bit Rate:54 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=61/94 Signal level=-34 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
ifconfig:
=========
ath0 Link encap:Ethernet HWaddr 00:0F:B5:86:E1:82
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b5ff:fe86:e182/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:13563 (13.2 KiB) TX bytes:1204 (1.1 KiB)
Interrupt:11 Memory:d4e60000-d4e70000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2915 (2.8 KiB) TX bytes:2915 (2.8 KiB)
route -n:
=========
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ath0
ping gateway:
=============
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable
From 192.168.1.2 icmp_seq=5 Destination Host Unreachable
From 192.168.1.2 icmp_seq=6 Destination Host Unreachable
From 192.168.1.2 icmp_seq=7 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7022ms
lsmod | grep ath:
=================
ath_pci 70300 0
ath_rate_sample 15624 1 ath_pci
wlan 129052 3 ath_pci,ath_rate_sample
ath_hal 148688 3 ath_pci,ath_rate_sample
cat /var/log/messages | grep ath (removed duplicates):
======================================================
Jan 13 17:18:12 mythtv kernel: ath_hal: module license 'Proprietary' taints kernel.
Jan 13 17:18:12 mythtv kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
Jan 13 17:18:12 mythtv kernel: ath_rate_sample: 1.2
Jan 13 17:18:12 mythtv kernel: ath_pci: 0.9.6.0 (EXPERIMENTAL)
Jan 13 17:18:13 mythtv kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 13 17:18:13 mythtv kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 13 17:18:13 mythtv kernel: ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 13 17:18:13 mythtv kernel: ath0: H/W encryption support: WEP AES AES_CCM TKIP
Jan 13 17:18:13 mythtv kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 1 for WME_AC_BE traffic
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 0 for WME_AC_BK traffic
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 2 for WME_AC_VI traffic
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 3 for WME_AC_VO traffic
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 8 for CAB traffic
Jan 13 17:18:13 mythtv kernel: ath0: Use hw queue 9 for beacons
Jan 13 17:18:13 mythtv kernel: ath0: Atheros 5212: mem=0x42000000, irq=11