Problema con TL-WN722N Ubuntu

Iniciado por Tefo, Septiembre 03, 2017, 08:01:27 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Septiembre 27, 2017, 01:54:06 PM #20 Ultima modificación: Septiembre 27, 2017, 02:01:21 PM por ANTRAX
Creo saber por donde viene el problema.. Si te fijas en tu primer captura, dice Mode: Managed

Probá esto:

Código: bash
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp


Dejalo así:

Código: bash
$ sudo vi /etc/network/interfaces

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


Por último reiniciá el servicio:

Código: bash
$sudo service network-manager restart





Otra posible solución:

Código: bash
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
nano /etc/NetworkManager/NetworkManager.conf


Agregale esto:

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


Reiniciá el servicio:

Código: bash
sudo systemctl restart network-manager





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

Código: bash
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


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
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp


Dejalo así:

Código: bash
$ sudo vi /etc/network/interfaces

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


Por último reiniciá el servicio:

Código: bash
$sudo service network-manager restart





Otra posible solución:

Código: bash
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
nano /etc/NetworkManager/NetworkManager.conf


Agregale esto:

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


Reiniciá el servicio:

Código: bash
sudo systemctl restart network-manager





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

Código: bash
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:

Código: php
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ó:

Código: php
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!

Probá esto:

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


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:

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