Conexão wifi perdida desde que eu conectei o cabo ethernet

0

Eu tive problemas no meu escritório usando wifi. A coisa é, a rede wifi é totalmente separada da LAN do escritório, e eu tenho que estar em wifi se eu quiser usar protocolos como o ssh ou git.
Eu configurei o roteador wifi para ter um arrendamento DHCP permanente no meu cartão Atheros (usando o driver ath9k) e mudei a criptografia de senha para WPA2 (estava usando o wep antes ... uma vergonha). Também mudou para o canal 9, porque a área está saturada com os emissores ch.11,6,7 ....

Tudo funcionou bem até que eu conectei o cabo ethernet novamente. Agora o gerenciador de rede (no Natty 11.04) cospe tudo isso no meu syslog:

Oct  3 16:24:05 x wpa_supplicant[883]: Trying to associate with {box bssid} (SSID='xxxxx' freq=2452 MHz)
Oct  3 16:24:05 x NetworkManager[782]: <info> (wlan0): supplicant connection state:  scanning -> associating
Oct  3 16:24:05 x kernel: [ 9792.310325] wlan0: authenticate with {box bssid} (try 1)
Oct  3 16:24:05 x kernel: [ 9792.319767] wlan0: authenticated
Oct  3 16:24:05 x kernel: [ 9792.319802] wlan0: associate with {box bssid} (try 1)
Oct  3 16:24:05 x wpa_supplicant[883]: Associated with {box bssid}
Oct  3 16:24:05 x NetworkManager[782]: <info> (wlan0): supplicant connection state:  associating -> associated
Oct  3 16:24:05 x kernel: [ 9792.343240] wlan0: RX AssocResp from {box bssid} (capab=0x411 status=0 aid=1)
Oct  3 16:24:05 x kernel: [ 9792.343246] wlan0: associated
Oct  3 16:24:08 x kernel: [ 9795.442339] wlan0: deauthenticated from {box bssid} (Reason: 2)
Oct  3 16:24:08 x wpa_supplicant[883]: CTRL-EVENT-DISCONNECTED bssid={box bssid} reason=0
Oct  3 16:24:08 x NetworkManager[782]: <info> (wlan0): supplicant connection state:  associated -> disconnected
Oct  3 16:24:08 x kernel: [ 9795.507836] cfg80211: All devices are disconnected, going to restore regulatory settings
Oct  3 16:24:08 x kernel: [ 9795.507843] cfg80211: Restoring regulatory settings
Oct  3 16:24:08 x kernel: [ 9795.507847] cfg80211: Calling CRDA to update world regulatory domain
Oct  3 16:24:08 x kernel: [ 9795.512836] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain 
Oct  3 16:24:08 x kernel: [ 9795.512843] cfg80211: World regulatory domain updated:
Oct  3 16:24:08 x kernel: [ 9795.512845] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct  3 16:24:08 x kernel: [ 9795.512849] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct  3 16:24:08 x kernel: [ 9795.512852] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct  3 16:24:08 x kernel: [ 9795.512855] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct  3 16:24:08 x kernel: [ 9795.512858] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct  3 16:24:08 x kernel: [ 9795.512860] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct  3 16:24:08 x NetworkManager[782]: <info> (wlan0): supplicant connection state:  disconnected -> scanning

... e isso continua, tentando se reconectar. Parece que a autenticação falha, mas eu não entendo porque desde que funcionou antes de eu ligar o cabo. Alguma idéia?

EDITAR: Arrendamento permanente dhcp reprimido, funciona novamente. Ainda está interessado na causa ?!

    
por m_x 03.10.2011 / 16:51

1 resposta

1

Tente isso em uma janela do Terminal:

sudo ifconfig wlan0 down
sudo dhclient -r wlan0
sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid "YOUR ESSID"
sudo iwconfig wlan0 mode Managed
sudo dhclient wlan0
    
por MiJyn 03.10.2011 / 19:02