martes, 16 de agosto de 2011

Linux: Targetes Wifi Atheros a Debian

Fins fa poc funcionaven amb un mòdul que es deia madwifi. Ara utilizarem o bé el mòdul ath5k o el ath9k depenent de la nostra targeta Atheros:

Nota: Si per alguna raó a l'arrancar WICD-GTK o qualsevol altre frontend del WICD (havent instal·lat i arrancat wicd prèviament) a la finestra principal no ens apareixen les xarxes wifi no ens desesperem. Comprovem els punts 1,2,3,4,5,6 i si així i tot continua sense sortir ens assegurem que al WICD tenim posat el mòdul de Wifi que utilitza la tarja (en aquest cas wlan0). Això es mira a al WICD-GTK:

Nota2: Si a l'intentar-nos connectar a una xarxa Wifi, el WICD-GTK se'ns queda aturat a "Validando autentificación" ho solventarem fent 2 coses:

a) Instal·lant el paquet wicd-curses (apt-get install wicd-curses)
b) Borrant el Network-Manager del KDE (apt-get remove --purge network-manager*)

Ara REINICIEM el PC i hauriem de poder connectar-nos a la xarxa Wifi que desitgem.

Preferences / General Settings / Wireless Interface:

(Hi haurem de tenir com ja he dit wlan0).

ath5k
:

Conté els controladors per a les targes de xarxa inalàmbriques Atheros chipsets AR5xxx:

– PCI: 10B7:0013 3Com Corporation AR5212 802.11abg NIC (3CRDAG675)

– PCI: 168C:0007 Atheros Communications Inc. AR5000 802.11a Wireless Adapter

– PCI: 168C:0011 Atheros Communications Inc. AR5210 802.11a NIC

– PCI: 168C:0012 Atheros Communications Inc. AR5211 802.11ab NIC

– PCI: 168C:0013 Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter

– PCI: 168C:0014 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:0015 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:0016 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:0017 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:0018 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:0019 Atheros Communications Inc. (Device name unknown)

– PCI: 168C:001A Atheros Communications Inc. AR2413 802.11bg NIC

– PCI: 168C:001B Atheros Communications Inc. AR5413 802.11abg NIC

– PCI: 168C:001C Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express)

– PCI: 168C:001D Atheros Communications Inc. AR5007G Wireless Network Adapter

– PCI: 168C:0207 Atheros Communications Inc. AR5210

– PCI: 168C:1014 Atheros Communications Inc. AR5212 802.11abg NIC

– PCI: A727:0013 3Com Corporation 3CRPAG175 Wireless PC Card

ath9k:

Conté els controladors per a les targes de xarxa inalàmbriques Atheros 802.11n.

PCI: 168C:0023 Atheros Communications Inc. AR5008 Wireless Network Adapter

PCI: 168C:0024 Atheros Communications Inc. AR5008 Wireless Network Adapter

PCI: 168C:0027 Atheros Communications Inc. AR9160 802.11abgn Wireless PCI Adapter

PCI: 168C:0029 Atheros Communications Inc. AR922X Wireless Network Adapter

PCI: 168C:002A Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express)

PCI: 168C:002B Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express)

PCI: 168C:002C Atheros Communications Inc. AR2427 Wireless Network Adapter (PCI-Express)

PCI: 168C:002D Atheros Communications Inc. AR9287 Wireless Network Adapter

PCI: 168C:002E Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express)

Així doncs com a ROOT:

1. aptitude update
2. aptitude upgrade
3. aptitude install wireless-tools
4. modprobe ath5k o modprobe ath9k (depenent de la targeta que tinguem).
5. iwconfig (verifiquem que tinguem l'interfície de la targeta).
6. ifconfig wlan0 up (aixequem l'interfície).

Ara en principi ja tenim el driver de la targeta Atheros configurat. Jo utilitzo el programa WICD per a conectar-me.

Als repositoris de la Debian hi ha diverses versions o frontends.

xddddxddd@debian:~$ apt-cache search wicd
python-wicd - wired and wireless network manager - Python module
wicd - wired and wireless network manager - metapackage
wicd-cli - wired and wireless network manager - scriptable cli client
wicd-curses - wired and wireless network manager - Curses client
wicd-daemon - wired and wireless network manager - daemon
wicd-gtk - wired and wireless network manager - GTK+ client
wicd-kde - Wired and wireless network manager - KDE client

Ara ja estem llestos per a connectar-nos via Wifi :D


PD: També hi ha un mòdul anomenat zd1211rw

El mòdul zd1211rw conté els controladors per als chipsets ZyDAS ZD1211, ZD1211B i Atheros AR5007UG USB 802.11g.

Nota: El chipset ZyDAS ZD1211B fou adquirida per Atheros i reanomenada com a "AR5007UG Atheros", també coneguts com AR2524 / AR5524. Els dispositius chipsets que portin aquests noms també són suportats per aquest mòdul.

USB: 0053:5301 Planex GW-US54ZGL 802.11bg

USB: 0105:145F Trust International B.V. NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211]

USB: 0411:00DA MelCo., Inc. WLI-U2-KG54L 802.11bg [ZyDAS ZD1211B]

USB: 0471:1236 Philips (or NXP) SNU5600 802.11bg

USB: 0471:1237 Philips (or NXP) TalkTalk SNU5630NS/05 802.11bg

USB: 050D:705C Belkin Components F5D7050 Wireless G Adapter v4000 [Zydas ZD1211B]

USB: 054C:0257 Sony Corp. IFU-WLM2 USB Wireless LAN Module (Wireless Mode)

USB: 0586:3401 ZyXEL Communications Corp. ZyAIR G-220 802.11bg

USB: 0586:3402 ZyXEL Communications Corp. ZyAIR G-220F 802.11bg

USB: 0586:3407 ZyXEL Communications Corp. G-200 v2 802.11bg

USB: 0586:3409 ZyXEL Communications Corp. AG-225H 802.11bg

USB: 0586:340A ZyXEL Communications Corp. M-202 802.11bg

USB: 0586:340F ZyXEL Communications Corp. G-220 v2 802.11bg

USB: 0586:3410 ZyXEL Communications Corp. ZyAIR G-202 802.11bg

Les instruccions per a aquest mòdul són EXACTAMENT iguals que per als altres 2 però carregant el mòdul zd1211rw amb un modprobe zd1211rw.

No hay comentarios: