Eu tive um problema semelhante antes, eu recomendaria instalar o wicd network manager, instruções para instalação podem ser encontradas aqui
Frequentemente tenho problemas para me conectar ao meu Wi-Fi a partir do meu laptop e do meu computador desktop. Ambas as máquinas rodam com o Ubuntu 14.04.
Às vezes, não consigo me conectar ao Wi-Fi e a única solução parece ser reiniciar o roteador. Nem a reinicialização nem o reinício do gerenciador de rede ajudaram. Eu também encontrei uma solução que sugeria fazer sudo pkill -f wpa_supplicant
, que eu já achava que teria resolvido o problema, mas não, aconteceu de novo.
O problema sempre ocorre após uma inicialização ou após o despertar da suspensão. Depois que eu reinicio o roteador, ele geralmente é resolvido (embora às vezes uma reinicialização da máquina também possa ser necessária posteriormente) e a conexão permanece estável. Esse problema não ocorre em outros dispositivos, usando Windows, Mac OS ou Android.
Aqui estão os registros de uma tentativa de conexão em /var/log/syslog
:
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Auto-activating connection 'Bastians WLAN'.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) starting connection 'Bastians WLAN'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> NetworkManager state is now CONNECTING
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0/wireless): access point 'Bastians WLAN' has security, but secrets are required.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0/wireless): connection 'Bastians WLAN' has security, and secrets exist. No new secrets needed.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: added 'ssid' value 'Bastians WLAN'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: added 'scan_ssid' value '1'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: added 'auth_alg' value 'OPEN'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: added 'psk' value '<omitted>'
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> Config: set interface ap_scan to 1
Apr 16 21:30:42 Karl2 NetworkManager[811]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Apr 16 21:31:07 Karl2 NetworkManager[811]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> (wlan0): device state change: config -> failed (reason 'SSID not found') [50 120 53]
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> NetworkManager state is now DISCONNECTED
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> Marking connection 'Bastians WLAN' invalid.
Apr 16 21:31:07 Karl2 NetworkManager[811]: <warn> Activation (wlan0) failed for connection 'Bastians WLAN'
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> (wlan0): deactivating device (reason 'none') [0]
Apr 16 21:31:07 Karl2 NetworkManager[811]: <info> (wlan0): supplicant interface state: scanning -> disconnected
Apr 16 21:31:07 Karl2 NetworkManager[811]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Eu tive um problema semelhante antes, eu recomendaria instalar o wicd network manager, instruções para instalação podem ser encontradas aqui