Alright I got this far:
I ran lspci -v and got this:
but I am not sure which module I need to remove.
I also ran lsusb -v because my wireless card is a USB device. I am not sure if that information is useful or not, but here it is.
(It was too long to post here, so here is a link to paste bin)
here is the contents of /etc/network/interfaces
There was not a directory called run in /etc/network. This is all that I have
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
Could my problem be that that directory doesn't exist? Or am I just looking in the wrong place? Also, which kernel module do I need to remove, and from where do I get the ath9k_htc module?
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces
Thanks for your help!
EDIT: I posted this before I saw your edit, so I did exactly what you said and this is the result:
root@bt:~# modprobe -rf ath9k
root@bt:~# modprobe -rf ath9k_htc
root@bt:~# rfkill unblock all
root@bt:~# modprobe ath9k
root@bt:~# modprobe ath9k_htc
root@bt:~# /etc/init.d/wicd stop
* Stopping Network connection manager wicd [ OK ]
root@bt:~# /etc/init.d/networking stop
* Deconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 1221
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/94:de:80:21:35:ce
Sending on LPF/eth0/94:de:80:21:35:ce
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.48.254 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
[ OK ]
root@bt:~# /etc/init.d/wicd start
* Starting Network connection manager wicd [ OK ]
root@bt:~# /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start networking
root@bt:~# start networking
start: Job is already running: networking
lo no wireless extensions.
eth0 no wireless extensions.
root@bt:~# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
root@bt:~# ifconfig wlan1 up
wlan1: ERROR while getting interface flags: No such device