Not to bring an old thread back to life, but just wanted to say thanks to wieman01 & the many others in this thread. After much hair pulling, I'm up and running in Ubuntu 13.04 using WPA2!
One question though - I've only updated the /etc/network/interfaces file, and when I boot up, wireless is automatically connected (not complaining ). Throughout the thread I've seen mentions to a configuration in order to have the wireless connect at boot. Is there something that has changed over the releases to make this automatically happen, or have I done something unknowingly to make this happen?
Should anyone be interested, I've included my configurations below. Note: I uninstalled network manager after struggling for many days. I found that I wasn't finding my network name in the iwlist scan results. Once I removed network manager, my network name popped up. No idea if it is relevant, but just thought I'd throw it out there. I also tried running the 'wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd' command with no success. Would be interested if anyone could fill me in on why this command doesn't work, but simply configuring the /etc/network/interfaces file does.
# lspci -nnvv
02:0a.0 Network controller : Atheros Communications Inc. AR922X Wireless Network Adapter [168c:0029] (rev 01)
Subsystem: D-Link System Inc DWA-552 802.11n Xtreme N Desktop Adapter (rev A2) [1186:3a7a]
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at cfee0000 (32-bit, non-prefetchable) [size=64K]
Capabilities:  Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ath9k
# lshw -C network
*-network description: Wireless interface
product: AR922X Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: a
bus info: pci@0000:02:0a.0
logical name: wlan0
width: 32 bits
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.8.0-29-generic firmware=N/A ip=192.168.0.50 latency=168 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:18 memory:cfee0000-cfeeffff
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
iface wlan0 inet static
dns-nameservers 126.96.36.199 192.168.0.1