how to install atheros 982x wireless card debian

in the first time i want to mentioned that a very useful site to do that is:
http://wiki.debian.org/ath9k
i will write here all the commands i have used:

# vim /etc/apt/sources.list

and then choose "i"(without slashes) from keyboard to edit the file
copy and paste in that file: "deb http://www.backports.org/debian lenny-backports main" without slashes, then press "ESC" and ":" plus wq and enter to save changes and quit.
# aptitude update
# aptitude -t lenny-backports install debian-backports-keyring
# aptitude update
# aptitude -t lenny-backports install linux-image-2.6.30-bpo.1-$(uname -r | sed 's,.*-,,g') wireless-tools
$ su
# modprobe ath9k
# iwconfig
# ifconfig wlan0 up
# aptitude update && aptitude install wireless-tools

then:
# iwconfig wlan0 essid "TRENDnet"
# iwconfig wlan0 mode ad-hoc
# iwconfig wlan0 mode Managed
# iwconfig wlan0 channel 6
# dhclient3 wlan0

where TRENDnet is the name of my wireless router, and others settings within him.
that's all fox!
for further assistance contact me at: undertakerme@yahoo.com

Comments