I'm not having much luck with ath9k, but its new to me, so perhaps someone can help. It seems to not be detecting the wireless devices. I've been trying to figure out how to make the module spit out debug information...
base-files-ar71xx - 19-r15827 -
bmon - 2.1.0-1 -
bridge - 1.4-1 -
busybox - 1.11.3-6 -
bwm - 1.1.0-1 -
cutter - 1.03-1 -
dnsmasq - 2.47-3 -
dropbear - 0.52-2 -
ebtables - 2.0.8-2-2 -
empty-bgp - 0.6.15b-2 -
firewall - 1-3 -
hotplug2 - 0.9+r102-3 -
httpd-endless - 0.1-3 -
iftop - 0.17-1 -
ip-bgp - 2.6.25-1 -
iptables - 1.4.3.2-1 -
iptables-mod-conntrack - 1.4.3.2-1 -
iptables-mod-conntrack-extra - 1.4.3.2-1 -
iptables-mod-extra - 1.4.3.2-1 -
iptables-mod-filter - 1.4.3.2-1 -
iptables-mod-imq - 1.4.3.2-1 -
iptables-mod-ipopt - 1.4.3.2-1 -
iptables-mod-nat - 1.4.3.2-1 -
iptables-mod-nat-extra - 1.4.3.2-1 -
kernel - 2.6.28.10-ar71xx-1 -
kmod-ath - 2.6.28.10+2009-05-08-ar71xx-1 -
kmod-ath9k - 2.6.28.10+2009-05-08-ar71xx-1 -
kmod-crc-ccitt - 2.6.28.10-ar71xx-1 -
kmod-crypto-aes - 2.6.28.10-ar71xx-1 -
kmod-crypto-arc4 - 2.6.28.10-ar71xx-1 -
kmod-crypto-core - 2.6.28.10-ar71xx-1 -
kmod-crypto-sha1 - 2.6.28.10-ar71xx-1 -
kmod-ebtables - 2.6.28.10-ar71xx-1 -
kmod-gre - 2.6.28.10-ar71xx-1 -
kmod-input-core - 2.6.28.10-ar71xx-1 -
kmod-input-gpio-buttons - 2.6.28.10-ar71xx-1 -
kmod-input-polldev - 2.6.28.10-ar71xx-1 -
kmod-ipt-conntrack - 2.6.28.10-ar71xx-1 -
kmod-ipt-conntrack-extra - 2.6.28.10-ar71xx-1 -
kmod-ipt-core - 2.6.28.10-ar71xx-1 -
kmod-ipt-extra - 2.6.28.10-ar71xx-1 -
kmod-ipt-filter - 2.6.28.10-ar71xx-1 -
kmod-ipt-imq - 2.6.28.10-ar71xx-1 -
kmod-ipt-ipopt - 2.6.28.10-ar71xx-1 -
kmod-ipt-nat - 2.6.28.10-ar71xx-1 -
kmod-ipt-nat-extra - 2.6.28.10-ar71xx-1 -
kmod-ipt-nathelper - 2.6.28.10-ar71xx-1 -
kmod-ipt-nathelper-extra - 2.6.28.10-ar71xx-1 -
kmod-leds-gpio - 2.6.28.10-ar71xx-1 -
kmod-mac80211 - 2.6.28.10+2009-05-08-ar71xx-1 -
kmod-mppe - 2.6.28.10-ar71xx-1 -
kmod-ppp - 2.6.28.10-ar71xx-1 -
kmod-pppoe - 2.6.28.10-ar71xx-1 -
kmod-sched - 2.6.28.10-ar71xx-1 -
kmod-textsearch - 2.6.28.10-ar71xx-1 -
kmod-tun - 2.6.28.10-ar71xx-1 -
libc - 0.9.29-19 -
libgcc - 4.1.2-19 -
libiptc - 1.4.3.2-1 -
libltdl - 1.5.24-1 -
liblzo - 2.03-1 -
libncurses - 5.7-1 -
libopenssl - 0.9.8k-2 -
libpcap - 1.0.0-1 -
libpthread - 0.9.29-19 -
librrd1-bgp - 1.0.50-1 -
librt - 0.9.29-19 -
libuci - 0.7.5-1 -
libxtables - 1.4.3.2-1 -
microperl - 5.10.0-1 -
mtd - 8 -
openssl-util - 0.9.8k-2 -
openvpn - 2.1_rc15-1 -
opkg - 4564-3 -
ppp - 2.4.3-11 -
ppp-mod-pppoe - 2.4.3-11 -
pptp - 1.6.0-6 -
pptpd-bgp - 1.2.3-1 -
qos-scripts - 1.2.1-2 -
rrdcgi1-bgp - 1.0.50-1 -
rrdcollect-bgp - 0.2.3-3 -
rrdtool1-bgp - 1.0.50-1 -
ssmtp-bgp - 2.61-2 -
tc-bgp - 2.6.25-1 -
tcpdump - 3.9.8-1 -
uci - 0.7.5-1 -
uclibcxx - 0.2.2-1 -
udevtrigger - 106-1 -
vsftpd - 2.1.0-2 -
wget - 1.11.4-1 -
wireless-tools - 29-3 -
wol - 0.7.1-2 -
wput-bgp - 0.5-1 -
zlib - 1.2.3-5 -
dmesg
root@OpenWrt:/# dmesg
Linux version 2.6.28.10 (psycadmin@psycadmin-desktop) (gcc version 4.1.2) #1 Wed May 13 20:27:25 EDT 2009
prom: fw_arg0=00000002, fw_arg1=8006040c, fw_arg2=00000000, fw_arg3=00000000
MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
console [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7161 rev 2 (id:0xaa), CPU:680.000 MHz, AHB:170.000 MHz, DDR:340.000 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802a1d70, node_mem_map 81000000
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8128 pages, LIFO batch:0
Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29532k/32768k available (1984k kernel code, 3236k reserved, 334k data, 140k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
MIPS: machine is Linksys WRT400N
ar71xx: using random MAC address for eth0
ar71xx: using random MAC address for eth1
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
yaffs May 13 2009 20:25:05 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: connected to 4 PHYs
eth1: Atheros AG71xx at 0xba000000, irq 5
eth1: connected to PHY at 0:04 [uid=004dd042, driver=Generic PHY]
Atheros AR71xx SPI Controller driver version 0.2.2
m25p80 spi0.0: m25p64 (8192 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
Creating 9 MTD partitions on "spi0.0":
0x00000000-0x00030000 : "uboot"
0x00030000-0x00040000 : "env"
0x00040000-0x00180000 : "linux"
0x00180000-0x007b0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=4D0000, len=2E0000
0x004d0000-0x007b0000 : "rootfs_data"
0x007b0000-0x007c0000 : "nvram"
0x007c0000-0x007d0000 : "factory"
0x007d0000-0x007f0000 : "language"
0x007f0000-0x00800000 : "caldata"
0x00040000-0x007b0000 : "firmware"
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=25)
TCP vegas registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 140k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
ar71xx: pll_reg 0xb8050010: 0x1099
eth0: link up (100Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
ar71xx: pll_reg 0xb8050014: 0x1099
eth1: link up (100Mbps/Full duplex)
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP MPPE Compression module registered
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IMQ driver loaded successfully.
Hooking IMQ after NAT on PREROUTING.
Hooking IMQ before NAT on POSTROUTING.
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
Registered led device: wrt400n:green:status
Registered led device: wrt400n:amber:aoss
Registered led device: wrt400n:green:wlan
Registered led device: wrt400n:green:power
gpio-buttons driver version 0.1.1
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
ar71xx-wdt: enabling watchdog timer
other info:
root@OpenWrt:/# dmesg | grep "ath"
root@OpenWrt:/# logread | grep "ath"
root@OpenWrt:/# lsmod | grep "ath"
ath9k 262944 0
ath 6464 1 ath9k
mac80211 205648 1 ath9k
cfg80211 72288 3 ath9k,ath,mac80211
root@OpenWrt:/# ifconfig -a
br-lan Link encap:Ethernet HWaddr 12:9C:E1:21:C9:8E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:402 (402.0 B)
eth0 Link encap:Ethernet HWaddr 12:9C:E1:21:C9:8E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:55 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8623 (8.4 KiB) TX bytes:404 (404.0 B)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 42:9B:26:8A:21:33
inet addr:192.168.87.133 Bcast:192.168.87.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:5
RX bytes:872 (872.0 B) TX bytes:854 (854.0 B)
Interrupt:5
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16000 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:5
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 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:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)