Atheros AR5212 em debian etch

De MochilaWiki
Ir para navegaçãoIr para pesquisar

em lspci:

00:09.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

se acaso você tem internet na máquina, acrescente em seu sources.list

deb-src http://ftp.br.debian.org/debian stable main non-free contrib
  • baixe os pacotes:
# apt-get install module-assistant debhelper build-essential wireless-tools madwifi-tools madwifi-source

se acaso não tem internet pegue os pacotes que não se encontram no cd 1 aqui madwifi-tool madwifi-source

  • instale o pacote:
dpkg -i madwifi-tools_0.9.2+dfsg-1_i386.debmadwifi-source_0.9.2+r1842.20061207-2_all.deb
  • compilando:
# m-a prepare
# m-a a-i madwifi
  • carregado módulo:
# modprobe ath_pci
  • subindo uma rede wifi com wep aberta em dhcp:
# ifconfig ath0 up
# iwconfig ath0 essid "juffure"
# iwconfig ath0 enc "s:kunt4k1nt3" open
# dhclient ath0

ou normal:

# iwconfig ath0 essid "juffure"
# iwconfig ath0 key "kunt4k1nt3"
# dhclient ath0

e pronto!

em /etc/network/interfaces

auto ath0
iface ath0 inet dhcp
pre-up /sbin/iwconfig ath0 essid "TRENDnet"enc "s:20087" open

wpa em atheros

# apt-get install wpasupplicant
# wpa_passphrase minharede minhapassprase > /etc/wpa_supplicant.conf
# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf -d -D madwifi

referências: