Underc0de

Foros Generales => Dudas y pedidos generales => Mensaje iniciado por: Tefo en Septiembre 03, 2017, 08:01:27 PM

Título: Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 03, 2017, 08:01:27 PM
Hola chicos, estoy teniendo problemas con la tarjeta de red TL-WN722n en Ubuntu 17.04, anteriormente usaba Kali y andaba lo mas bien pero quise poner Ubuntu para poder bajarme unicamente las herramientas que actualmente uso y todavía no pude hacer andar la tarjeta usb, aparece como desconectada. No se si es que faltan drivers o si alguna otra cosa está fallando porque la tarjeta la reconoce, pero si quiero conectarme a alguna red no ocurre nada.

Estuve buscando en foros de ubuntu y github pero no lo pude solucionar, espero que puedan ayudarme.
(https://k61.kn3.net/7/7/F/5/A/7/681.png)

Saludos
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: xyz en Septiembre 04, 2017, 12:37:17 AM
Hola @Tefo (https://underc0de.org/foro/index.php?action=profile;u=64029).

Consulto, por lo que la imagen muestra, estás conectado a una red inalámbrica; la misma brinda los parámetros (Ip / Máscara / Gateway) automáticamente ?

Si lanzas un ifconfig wlan0, brinda esos datos ?

Un saludo.
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 04, 2017, 01:29:51 AM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Hola @Tefo (https://underc0de.org/foro/index.php?action=profile;u=64029).

Consulto, por lo que la imagen muestra, estás conectado a una red inalámbrica; la misma brinda los parámetros (Ip / Máscara / Gateway) automáticamente ?

Si lanzas un ifconfig wlan0, brinda esos datos ?

Un saludo.

Perdon, me olvide de aclarar que la wlan0 es la tarjeta intel de la notebook y si tiro un ifconfig, tira esos datos. Por lo q pude deducir la w con nombre largo es la tarjeta usb q no estaria funcionando y por eso esta con ese nombre si no me equivoco.
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 04, 2017, 02:29:25 PM
Es un problema de drivers. Creo que todo el mundo tiene el mismo problema con esa tarjeta desde ubuntu.
La solución es instalar este driver: https://github.com/ebirbe/tlwn722n-linux-install

Saludos,
ANTRAX
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 04, 2017, 06:34:41 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Es un problema de drivers. Creo que todo el mundo tiene el mismo problema con esa tarjeta desde ubuntu.
La solución es instalar este driver: https://github.com/ebirbe/tlwn722n-linux-install

Saludos,
ANTRAX

Gracias!! @ANTRAX (https://underc0de.org/foro/index.php?action=profile;u=1), estuve leyendo el readme y para la versión que tengo de kernel (4.1) hay que directamente hacer un apt-get install firmware-atheros pero cuando meto ese comando la consola me devuelve lo siguiente:

root@tefopc:/home/tefo# apt-get install firmware-atheros
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete firmware-atheros

Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: xyz en Septiembre 04, 2017, 07:32:51 PM
Actualiza los repositorios apt-get update y luego busca que exista en los repositorios; apt-cache search atheros.

si hay candidatos, saldrán por pantalla los resultados, luego con apt-get install 'nombre de paquete candidato' lo instalas.

tambien puedes hacerlo desde el tarball directo, bajas el driver, lo compilas y verificas que todo este correcto.

un saludo.
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 05, 2017, 12:04:22 AM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Actualiza los repositorios apt-get update y luego busca que exista en los repositorios; apt-cache search atheros.

si hay candidatos, saldrán por pantalla los resultados, luego con apt-get install 'nombre de paquete candidato' lo instalas.

tambien puedes hacerlo desde el tarball directo, bajas el driver, lo compilas y verificas que todo este correcto.

un saludo.

Gracias por responder @xyz (https://underc0de.org/foro/index.php?action=profile;u=46963) pero no estoy pudiendo instalar el driver, me baje el que está en el GitHub que dejo @ANTRAX (https://underc0de.org/foro/index.php?action=profile;u=1) y realice una serie de pasos, pero obtuve estos errores:

root@tefopc:/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source# ./scripts/driver-select ath9k_htc atheros
Usage: ./scripts/driver-select [ <driver-name> | <driver-group-name> | restore ]
Supported 802.11 drivers:
ath5k
ath9k
ath9k_ap
ath9k_htc
carl9170
ath6kl
wil6210
b43
zd1211rw
rt2x00
wl1251
wl12xx
brcmsmac
brcmfmac

Supported Ethernet drivers:
atl1
atl2
atl1e
atl1c
alx
Supported DRM drivers:
i915

Supported group drivers:
atheros <  ath5k ath9k carl9170 zd1211rw ath6kl wil6210>
ath <  ath5k ath9k carl9170 ath6kl wil6210>
brcm80211 <  brcmsmac brcmfmac >
intel <  iwlwifi, iwlegacy >
rtl818x <  rtl8180 rtl8187 >
rtlwifi <  rtl8192ce >
ti <  wl1251 wl12xx (SPI and SDIO)>

Supported group drivers: Bluetooth & Ethernet:
atlxx <  atl1 atl2 atl1e alx>
bt <  Linux bluetooth drivers >

Supported group drivers: DRM:
drm <  i915>
Restoring compat-drivers:
restore: you can use this option to restore compat-drivers to the original state
root@tefopc:/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source# ./scripts/driver-select ath9k_htc
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/wireless/Makefile.bk
Backup exists: drivers/net/wireless/ath/Makefile.bk
Backup exists: net/wireless/Makefile.bk
Backup exists: drivers/ssb/Makefile.bk
Backup exists: drivers/bcma/Makefile.bk
Backup exists: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
root@tefopc:/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source# make
./scripts/gen-compat-autoconf.sh /home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source/.config /home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source/config.mk > include/linux/compat_autoconf.h
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
sed: character class syntax is [[:space:]], not [:space:]
make -C /lib/modules/4.10.0-33-generic/build M=/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source modules
make[1]: se entra en el directorio '/usr/src/linux-headers-4.10.0-33-generic'
/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source/config.mk:21: *** "ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though".  Alto.
Makefile:1524: fallo en las instrucciones para el objetivo '_module_/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source'
make[1]: *** [_module_/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:90: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2
root@tefopc:/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source# make install

make -C /lib/modules/4.10.0-33-generic/build M=/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source modules
make[1]: se entra en el directorio '/usr/src/linux-headers-4.10.0-33-generic'
/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source/config.mk:21: *** "ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though".  Alto.
Makefile:1524: fallo en las instrucciones para el objetivo '_module_/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source'
make[1]: *** [_module_/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:90: fallo en las instrucciones para el objetivo 'modules'
root@tefopc:/home/tefo/Descargas/tlwn722n-linux-install-master/compat-drivers-source#

Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 05, 2017, 10:10:00 AM
Probá con estos de acá entonces: https://github.com/mfruba/kernel/tree/master/drivers/TL-WN722N_v2.0-Ralink
Son los que usa Kali y en Kali si funciona

=================

EDIT:

Probá sino esto:

Código (bash) [Seleccionar]
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161_all.deb
sudo dpkg -i linux*.deb


Reiniciá y listo

Saludos,
ANTRAX
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 05, 2017, 11:11:24 AM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Probá con estos de acá entonces: https://github.com/mfruba/kernel/tree/master/drivers/TL-WN722N_v2.0-Ralink
Son los que usa Kali y en Kali si funciona

=================

EDIT:

Probá sino esto:

Código (bash) [Seleccionar]
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161_all.deb
sudo dpkg -i linux*.deb


Reiniciá y listo

Saludos,
ANTRAX

Probe primero con el 2do y descargo y se instalo todo bien, reinicie la PC y siguio sin funcionar, dsp probe con el primero bajandome el .tar.gz le hice cd a la carpeta dsp make y make install y no funciono.

Saludos
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: xyz en Septiembre 08, 2017, 09:19:19 PM
@Tefo (https://underc0de.org/foro/index.php?action=profile;u=64029), realizá lo siguiente para que identifiquemos que placa tenes:
En una consola lanza: lsusb
Brinda una salida similar a :

root@kali:~# lsusb
Bus 002 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@kali:~#


Donde el primer dispositivo es la placa de red que tengo conectada por usb e indica el firmware que necesita.

Similar debería ser la salida que brinda en tu consola.

Un saludo !
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 08, 2017, 10:39:16 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
@Tefo (https://underc0de.org/foro/index.php?action=profile;u=64029), realizá lo siguiente para que identifiquemos que placa tenes:
En una consola lanza: lsusb
Brinda una salida similar a :

root@kali:~# lsusb
Bus 002 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@kali:~#


Donde el primer dispositivo es la placa de red que tengo conectada por usb e indica el firmware que necesita.

Similar debería ser la salida que brinda en tu consola.

Un saludo !

Gracias @xyz!! esto me apareció

tefo@tefopc:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07dc Intel Corp.
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0c45:6712 Microdia
Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
tefo@tefopc:~$

Supongo que este es el driver que necesito Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

EDIT: Segui los pasos de este post

https://unix.stackexchange.com/questions/326462/how-do-i-install-atheros-ar9271-wifi-drivers-on-debian

Me tiro esto al finalizar el ultimo paso

apt-get update && apt-get install firmware-atheros

W: El repositorio «http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu zesty Release» no tiene un fichero de Publicación.
N: Los datos de un repositorio como este no se pueden autenticar y por tanto su uso es potencialmente peligroso.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
W: Error de GPG: http://cdn-fastly.deb.debian.org/debian jessie Release: Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
W: El repositorio «http://httpredir.debian.org/debian jessie Release» no está firmado.
N: Los datos de un repositorio como este no se pueden autenticar y por tanto su uso es potencialmente peligroso.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: Fallo al obtener http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/zesty/main/binary-i386/Packages  404  Not Found
E: No se han podido descargar algunos archivos de índice, se han omitido, o se han utilizado unos antiguos en su lugar.




Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: noxonsoftwares en Septiembre 09, 2017, 03:11:51 AM
Buenas buenas.....espero que esta sea la solución:

nano /etc/NetworkManager/NetworkManager

cambias para que quede igual la siguiente línea.

[device]
...
wifi.scan-rand-mac-address=0


y para finalizar


sudo systemctl restart network-manager



fuente:
https://askubuntu.com/questions/904698/tp-link-tl-wn722n-cant-connect-on-17-04[/code]
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Randomize en Septiembre 09, 2017, 01:36:04 PM
El adaptador tiene un tiempo y si no recuerdo mal de uno con el que solía hablar es el 8220N o algo así el compatible hasta con el tarro del colacao; los problemas los tienes por la 17.04, ponte mejor la última LTS que estará mejor optimizada.
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 09, 2017, 03:50:07 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Buenas buenas.....espero que esta sea la solución:

nano /etc/NetworkManager/NetworkManager

cambias para que quede igual la siguiente línea.

[device]
...
wifi.scan-rand-mac-address=0


y para finalizar


sudo systemctl restart network-manager



fuente:
https://askubuntu.com/questions/904698/tp-link-tl-wn722n-cant-connect-on-17-04[/code]

No funcionó  >:( sigue como desconectada

(https://k60.kn3.net/C/3/1/D/0/F/1A7.png)
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 24, 2017, 10:19:04 AM
Ya me esta matando tu placa xD
Debería haber funcionado con instalar el driver que te pasé ya que a varios le funcionó así.
Has probado por casualidad otra distro como para saber si el problema es Ubuntu?

Saludos,
ANTRAX
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 26, 2017, 12:42:09 AM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Ya me esta matando tu placa xD
Debería haber funcionado con instalar el driver que te pasé ya que a varios le funcionó así.
Has probado por casualidad otra distro como para saber si el problema es Ubuntu?

Saludos,
ANTRAX

Jajajaj, mm no por el momento solo probé con Ubuntu que no funcionó y Kali que si. Que otra distro podría probar que sea del estilo de Ubuntu ? @ANTRAX (https://underc0de.org/foro/index.php?action=profile;u=1)

Saludos
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 26, 2017, 05:59:25 PM
Kali ya sirve como sistema base.. quizas lo podes usar
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 27, 2017, 12:18:10 AM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Kali ya sirve como sistema base.. quizas lo podes usar

Claro, pero lo que decia era que otra distro vacia podria usar en caso de que tenga que emigrar. Probe Gnome 3 y anduvo barbaro, ni siquiera tuve que instalar drivers.

Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: 79137913 en Septiembre 27, 2017, 10:41:12 AM
HOLA!!!

Esto suele andar para la integrada de una placa intel para ubuntu. Pero he visto que hace magia XD.

Anda a /etc/modprobe.d/                       
Ahí crea un archivo de texto y pone esto adentro                       
options snd-hda-intel single_cmd=1
options snd-hda-intel probe_mask=1                       
Guarda y renombra a intel.conf                       
Reinicia                       
Respeta mayúsculas y minúsculas como escribí                       
Si eso no anda                       
Renombra el archivo anterior a lo mismo .old                       
y anda a esta carpeta /etc/modules.d/                       
crea un archivo de texto                       
con esto dentro                       
options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1                       
renombra a snd-hda-intel.conf                       
si sigue sin andar                       
reinicia                       
y si sigue sin andar                       
volve a poner intel.conf en el primer archivo                       
y reinicia                       
Si sigue sin andar                       
en ejecutar pone                       
sudo modprobe snd-hda-intel                       
y reinicia                       
si sigue sin andar                       
renombra los archivos que habias hecho a .old                       
y volve a ejecutar                       
sudo modprobe snd-hda-intel                       
y reinicia


GRACIAS POR LEER!!!
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 27, 2017, 01:25:11 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
HOLA!!!

Esto suele andar para la integrada de una placa intel para ubuntu. Pero he visto que hace magia XD.

Anda a /etc/modprobe.d/                       
Ahí crea un archivo de texto y pone esto adentro                       
options snd-hda-intel single_cmd=1
options snd-hda-intel probe_mask=1                       
Guarda y renombra a intel.conf                       
Reinicia                       
Respeta mayúsculas y minúsculas como escribí                       
Si eso no anda                       
Renombra el archivo anterior a lo mismo .old                       
y anda a esta carpeta /etc/modules.d/                       
crea un archivo de texto                       
con esto dentro                       
options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1                       
renombra a snd-hda-intel.conf                       
si sigue sin andar                       
reinicia                       
y si sigue sin andar                       
volve a poner intel.conf en el primer archivo                       
y reinicia                       
Si sigue sin andar                       
en ejecutar pone                       
sudo modprobe snd-hda-intel                       
y reinicia                       
si sigue sin andar                       
renombra los archivos que habias hecho a .old                       
y volve a ejecutar                       
sudo modprobe snd-hda-intel                       
y reinicia


GRACIAS POR LEER!!!

Gracias por responder @79137913 pero la integrada de Intel si funciona, la que no funciona es la TP-Link

Saludos
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 27, 2017, 01:54:06 PM
Creo saber por donde viene el problema.. Si te fijas en tu primer captura, dice Mode: Managed

Probá esto:

Código (bash) [Seleccionar]
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp


Dejalo así:

Código (bash) [Seleccionar]
$ sudo vi /etc/network/interfaces

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


Por último reiniciá el servicio:

Código (bash) [Seleccionar]
$sudo service network-manager restart




Otra posible solución:

Código (bash) [Seleccionar]
sudo apt-get install git dkms
git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms install 8188eu/1.0
sudo modprobe 8188eu





Otra..

Abrí y editá el archivo:

Código (bash) [Seleccionar]
nano /etc/NetworkManager/NetworkManager.conf

Agregale esto:

Código (text) [Seleccionar]
[device]
...
wifi.scan-rand-mac-address=0


Reiniciá el servicio:

Código (bash) [Seleccionar]
sudo systemctl restart network-manager




Este script en teoría también lo debería solucionar:

Código (bash) [Seleccionar]
wget http://fars-robotics.net/install-wifi -O /usr/bin/install-wifi && chmod +x /usr/bin/install-wifi
install-wifi





Espero que algo de esto te lo solucione!

Saludos,
ANTRAX
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 27, 2017, 02:53:54 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Creo saber por donde viene el problema.. Si te fijas en tu primer captura, dice Mode: Managed

Probá esto:

Código (bash) [Seleccionar]
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp


Dejalo así:

Código (bash) [Seleccionar]
$ sudo vi /etc/network/interfaces

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


Por último reiniciá el servicio:

Código (bash) [Seleccionar]
$sudo service network-manager restart




Otra posible solución:

Código (bash) [Seleccionar]
sudo apt-get install git dkms
git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms install 8188eu/1.0
sudo modprobe 8188eu





Otra..

Abrí y editá el archivo:

Código (bash) [Seleccionar]
nano /etc/NetworkManager/NetworkManager.conf

Agregale esto:

Código (text) [Seleccionar]
[device]
...
wifi.scan-rand-mac-address=0


Reiniciá el servicio:

Código (bash) [Seleccionar]
sudo systemctl restart network-manager




Este script en teoría también lo debería solucionar:

Código (bash) [Seleccionar]
wget http://fars-robotics.net/install-wifi -O /usr/bin/install-wifi && chmod +x /usr/bin/install-wifi
install-wifi





Espero que algo de esto te lo solucione!

Saludos,
ANTRAX

Gracias por ayudar @ANTRAX pero el problema no fue solucionado, las 2 primeras soluciones no funcionaron, cuando realice la 3ra edite el archivo como lo indicaste agregando:

[device]
...
wifi.scan-rand-mac-address=0

Pero no funcionó y cuando quise reiniciar el servicio me tiraba error por haber agregado eso, el error era:

Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.


Cuando saque lo que había agregado si me dejo reiniciar el servicio pero de todas maneras la tarjeta sin funcionar.

Por último probe el script y me devolvió esto en consola y tampoco funcionó:

install-wifi

*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update

*** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.10.0-35-generic+
Your current kernel build    = #39-Ubuntu

Checking for a wifi module to determine the driver to install.

Your wifi module is unrecognised.

**** Unable to identify your wifi module ****

The script only works for wifi modules using the rtl8188eu, rtl8192eu, rtl8812au, mt7601, mt7610 and mt7612 drivers.

Looking for your wifi module the script detected the following USB devices:-

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07dc Intel Corp.
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0c45:6712 Microdia
Bus 001 Device 005: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

If you are certain your module uses one of the drivers the script installs check the output of command
'lsusb' shows your wifi module. If lsusb shows your wifi module try running the script again. If the
script fails to detect your wifi module again the driver may need updating to add your module USB id.

If lsusb does not show your wifi module you will need to resolve that issue before the script can be
used to install the driver you need.

root@tefopc:/home/tefo# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07dc Intel Corp.
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0c45:6712 Microdia
Bus 001 Device 005: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Lo bueno es que por lo menos la detecta, no se si servirá de algo.

Saludos y gracias por la ayuda!
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: ANTRAX en Septiembre 27, 2017, 02:58:26 PM
Probá esto:

sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode master
sudo service network-manager restart
Título: Re:Problema con TL-WN722N Ubuntu
Publicado por: Tefo en Septiembre 27, 2017, 03:57:40 PM
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Probá esto:

sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode master
sudo service network-manager restart

Al ejecutar sudo iwconfig wlan0 mode master me devuelve lo siguiente:

root@tefopc:/home/tefo# sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.