Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: xkiz ™ en 11 Mayo 2016, 15:06 pm



Título: Instalar drivers wifi[tarjeta TP Link)
Publicado por: xkiz ™ en 11 Mayo 2016, 15:06 pm
hola hace un par de dias encontre una tarjeta TP Link  TL-WN951N y pense en ponersela a mi PC, googlie como instalar los drivers, pero hasta ahora lo unico que logre es romper algo y un error en algun lado y el sistema no iniciaba mas, tuve que iniciar en recovery mode y hacer un fsck y "arreglar", como 50 errorsitos que reinstalar linux-headers o essential o algo asi que decia en un tut que habia que reinstalar hizo.
como no quiero hacer mas c*g*d*s, pregunto de donde puedo sacar los drivers y como es el proceso de instalacion y configuracion, porque les pregunte a los de TP-Link y ellos no dan soporte a Linux, solo a Windows.

Sistema: elementary Freya 0.3.2 x64 (ubuntu 14.04)
kernel: 3.16.0-57
wifi card: TP Link WN951N

lspci:

Código:
$ lspci -nnk | grep -iA2 net; uname -a; modinfo iwlwifi | grep 3165; ls /lib/firmware | grep iwlwifi-7265D
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
    Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
    Kernel driver in use: r8169
03:06.0 Network controller [0280]: Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] [168c:0023] (rev 01)
    Subsystem: Qualcomm Atheros Device [168c:2071]
03:0e.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
Linux elementaryOS 3.16.0-57-generic #77~14.04.1-Ubuntu SMP Thu Dec 17 23:20:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
iwlwifi-7265D-10.ucode
iwlwifi-7265D-12.ucode
iwlwifi-7265D-13.ucode
iwlwifi-7265D-16.ucode


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: MinusFour en 11 Mayo 2016, 18:29 pm
Dice ahi que está usando AR5416, no es de intel, el driver que necesitas es ath9k no iwlwifi.

Código
  1. lsmod | grep ath9k

Para ver si está cargado:

Código
  1. ls -R /lib/modules | grep ath9k

Para revisar si lo tienes instalado.


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: xkiz ™ en 12 Mayo 2016, 11:14 am
ayer, habia desconectado la placa de la PC, despues cuando mi la respuesta, la volvi a conectar, al iniciar el sistema, tiro un par de mensajes raros "bock -xxxx / error" algo asi, pero el sistema inicio, y la placa andaba todo perfecto, recien al iniciar el sistema, esos mensajes que me habia tirado anteriormente, no aparecieron y el sistema inicio normalmente, solo que ahora no puedo conectarme a mi wifi que ayer si pude.

aca estan los Output :

Código:
lsmod | grep ath9k
ath9k                 141379  0
ath9k_common           25638  1 ath9k
ath9k_hw              446521  2 ath9k_common,ath9k
ath                    29006  3 ath9k_common,ath9k,ath9k_hw
mac80211              652777  1 ath9k
cfg80211              498458  5 wl,ath,ath9k_common,ath9k,mac80211


Código:
ls -R /lib/modules | grep ath9k
ath9k
/lib/modules/3.16.0-50-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-51-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-52-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-53-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-55-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-56-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko
ath9k
/lib/modules/3.16.0-57-generic/kernel/drivers/net/wireless/ath/ath9k:
ath9k_common.ko
ath9k_htc.ko
ath9k_hw.ko
ath9k.ko



Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: MinusFour en 12 Mayo 2016, 16:58 pm
Pues está cargado :/, ese driver debería funcionar, lo que significa que tienes un problema de configuración.


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: xkiz ™ en 12 Mayo 2016, 17:24 pm
que tendria que editar?


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: MinusFour en 12 Mayo 2016, 17:32 pm
que tendria que editar?

Pues depende de lo que estes utilizando para conectarte. ¿Usas NetworkManager? Honestamente no se que utilize Freya.

¿Aparece la interface?

Código
  1. ip address ## o sino
  2. ifconfig -a


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: xkiz ™ en 12 Mayo 2016, 17:41 pm
en la lista de procesos esta NetworkManager como root

Código:
$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:1f:d0:d8:a0:ca brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.3/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::21f:d0ff:fed8:a0ca/64 scope link
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether f4:ec:38:e5:1f:de brd ff:ff:ff:ff:ff:ff


Código:
$ ifconfig -a
eth0      Link encap:Ethernet  direcciónHW 00:1f:d0:d8:a0:ca 
          Direc. inet:192.168.0.3  Difus.:192.168.0.255  Másc:255.255.255.0
          Dirección inet6: fe80::21f:d0ff:fed8:a0ca/64 Alcance:Enlace
          ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST  MTU:1500  Métrica:1
          Paquetes RX:773392 errores:0 perdidos:0 overruns:0 frame:0
          Paquetes TX:459420 errores:0 perdidos:0 overruns:0 carrier:0
          colisiones:0 long.colaTX:1000
          Bytes RX:1070172012 (1.0 GB)  TX bytes:36033134 (36.0 MB)

lo        Link encap:Bucle local 
          Direc. inet:127.0.0.1  Másc:255.0.0.0
          Dirección inet6: ::1/128 Alcance:Anfitrión
          ACTIVO BUCLE FUNCIONANDO  MTU:65536  Métrica:1
          Paquetes RX:20161 errores:0 perdidos:0 overruns:0 frame:0
          Paquetes TX:20161 errores:0 perdidos:0 overruns:0 carrier:0
          colisiones:0 long.colaTX:0
          Bytes RX:7572657 (7.5 MB)  TX bytes:7572657 (7.5 MB)

wlan0     Link encap:Ethernet  direcciónHW f4:ec:38:e5:1f:de 
          DIFUSIÓN MULTICAST  MTU:1500  Métrica:1
          Paquetes RX:0 errores:0 perdidos:0 overruns:0 frame:0
          Paquetes TX:0 errores:0 perdidos:0 overruns:0 carrier:0
          colisiones:0 long.colaTX:1000
          Bytes RX:0 (0.0 B)  TX bytes:0 (0.0 B)



Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: MinusFour en 12 Mayo 2016, 18:16 pm
Debe haber una aplicación en Freya que maneje un GUI de Network Manager. No necesitas usar una terminal pero puedes hacerlo atraves de nmcli:

https://docs.fedoraproject.org/en-US/Fedora/20/html/Networking_Guide/sec-Connecting_to_a_Network_Using_nmcli.html


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: xkiz ™ en 13 Mayo 2016, 00:08 am
(http://s32.postimg.org/5xr7g0ldt/Sin_nombre.jpg) (http://postimg.org/image/5xr7g0ldt/)


Título: Re: Instalar drivers wifi[tarjeta TP Link)
Publicado por: MinusFour en 13 Mayo 2016, 18:54 pm
(http://s32.postimg.org/5xr7g0ldt/Sin_nombre.jpg) (http://postimg.org/image/5xr7g0ldt/)

¿Esto quiere decir que funcoina?