Autenticação freqüente de Wifi (Motivo: 6) em um Centrino Advanced-N 6230 [Rainbow Peak]

5

Por alguns dias, meu wifi está sendo interrompido a cada poucos minutos. Eu uso uma instalação Ubuntu 'baunilha' (ou seja, Unity, NetworkManager etc.). Depois de uma hora, a conexão é cortada completamente e o NetworkManager não consegue mais encontrar a rede. A opção "Ativar Wi-Fi" no menu NetworkManager me permite encontrar e conectar-se à rede novamente.

Este é um extrato de / var / log / syslog:

May 14 16:50:51 terminus kernel: [ 4208.006043] wlan0: deauthenticated from 00:24:fe:a3:98:f6 (Reason: 6)
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:fe:a3:98:f6 reason=6
May 14 16:50:51 terminus NetworkManager[868]: <warn> Connection disconnected (reason 6)
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: SME: Trying to authenticate with 00:24:fe:a3:98:f6 (SSID='FRITZ!Box Fon WLAN 7270' freq=2447 MHz)
May 14 16:50:51 terminus kernel: [ 4208.034507] cfg80211: Calling CRDA to update world regulatory domain
May 14 16:50:51 terminus kernel: [ 4208.035050] wlan0: authenticate with 00:24:fe:a3:98:f6
May 14 16:50:51 terminus kernel: [ 4208.042178] wlan0: send auth to 00:24:fe:a3:98:f6 (try 1/3)
May 14 16:50:51 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: completed -> authenticating
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: Trying to associate with 00:24:fe:a3:98:f6 (SSID='FRITZ!Box Fon WLAN 7270' freq=2447 MHz)
May 14 16:50:51 terminus kernel: [ 4208.042526] cfg80211: World regulatory domain updated:
May 14 16:50:51 terminus kernel: [ 4208.042533] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 14 16:50:51 terminus kernel: [ 4208.042539] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:50:51 terminus kernel: [ 4208.042543] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:50:51 terminus kernel: [ 4208.042547] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 14 16:50:51 terminus kernel: [ 4208.042550] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:50:51 terminus kernel: [ 4208.042554] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:50:51 terminus kernel: [ 4208.044622] wlan0: authenticated
May 14 16:50:51 terminus kernel: [ 4208.046291] wlan0: associate with 00:24:fe:a3:98:f6 (try 1/3)
May 14 16:50:51 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 14 16:50:51 terminus kernel: [ 4208.056055] wlan0: RX AssocResp from 00:24:fe:a3:98:f6 (capab=0x431 status=0 aid=1)
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: Associated with 00:24:fe:a3:98:f6
May 14 16:50:51 terminus kernel: [ 4208.065893] wlan0: associated
May 14 16:50:51 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: WPA: Key negotiation completed with 00:24:fe:a3:98:f6 [PTK=CCMP GTK=TKIP]
May 14 16:50:51 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:24:fe:a3:98:f6 completed [id=0 id_str=]
May 14 16:50:51 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
May 14 16:51:55 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-SCAN-STARTED 
May 14 16:52:27 terminus kernel: [ 4304.188238] wlan0: deauthenticated from 00:24:fe:a3:98:f6 (Reason: 6)
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:fe:a3:98:f6 reason=6
May 14 16:52:27 terminus NetworkManager[868]: <warn> Connection disconnected (reason 6)
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: SME: Trying to authenticate with 00:24:fe:a3:98:f6 (SSID='FRITZ!Box Fon WLAN 7270' freq=2447 MHz)
May 14 16:52:27 terminus kernel: [ 4304.215024] cfg80211: Calling CRDA to update world regulatory domain
May 14 16:52:27 terminus kernel: [ 4304.215540] wlan0: authenticate with 00:24:fe:a3:98:f6
May 14 16:52:27 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: completed -> authenticating
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: Trying to associate with 00:24:fe:a3:98:f6 (SSID='FRITZ!Box Fon WLAN 7270' freq=2447 MHz)
May 14 16:52:27 terminus kernel: [ 4304.219680] wlan0: send auth to 00:24:fe:a3:98:f6 (try 1/3)
May 14 16:52:27 terminus kernel: [ 4304.222003] wlan0: authenticated
May 14 16:52:27 terminus kernel: [ 4304.222790] wlan0: associate with 00:24:fe:a3:98:f6 (try 1/3)
May 14 16:52:27 terminus kernel: [ 4304.223063] cfg80211: World regulatory domain updated:
May 14 16:52:27 terminus kernel: [ 4304.223072] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 14 16:52:27 terminus kernel: [ 4304.223078] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:52:27 terminus kernel: [ 4304.223083] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:52:27 terminus kernel: [ 4304.223087] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 14 16:52:27 terminus kernel: [ 4304.223090] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:52:27 terminus kernel: [ 4304.223094] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 14 16:52:27 terminus kernel: [ 4304.226833] wlan0: RX AssocResp from 00:24:fe:a3:98:f6 (capab=0x431 status=0 aid=1)
May 14 16:52:27 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: Associated with 00:24:fe:a3:98:f6
May 14 16:52:27 terminus kernel: [ 4304.232953] wlan0: associated
May 14 16:52:27 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: WPA: Key negotiation completed with 00:24:fe:a3:98:f6 [PTK=CCMP GTK=TKIP]
May 14 16:52:27 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:24:fe:a3:98:f6 completed [id=0 id_str=]
May 14 16:52:27 terminus NetworkManager[868]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
May 14 16:53:55 terminus wpa_supplicant[907]: wlan0: CTRL-EVENT-SCAN-STARTED 
May 14 16:54:00 terminus wpa_supplicant[907]: nl80211: send_and_recv->nl_recvmsgs failed: -33
May 14 16:54:05 terminus wpa_supplicant[907]: wlan0: WPA: Group rekeying completed with 00:24:fe:a3:98:f6 [GTK=TKIP]

Outras informações relevantes:

root@terminus:~# lshw -c network
  *-network               
       description: Wireless interface
       product: Centrino Advanced-N 6230 [Rainbow Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 34
       serial: 88:53:2e:42:0b:71
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-24-generic firmware=18.168.6.1 ip=192.168.3.22 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:52 memory:f1b00000-f1b01fff

root@terminus:~# lsmod 
Module                  Size  Used by
btrfs                 835954  0 
raid6_pq               97812  1 btrfs
xor                    21411  1 btrfs
ufs                    74890  0 
qnx4                   13317  0 
hfsplus               107516  0 
hfs                    54677  0 
minix                  36140  0 
ntfs                   97369  0 
msdos                  17332  0 
jfs                   181348  0 
xfs                   912173  0 
libcrc32c              12644  2 xfs,btrfs
ctr                    13049  1 
ccm                    17773  1 
nls_iso8859_1          12713  0 
snd_hda_codec_hdmi     46207  1 
snd_hda_codec_realtek    61438  1 
joydev                 17381  0 
intel_rapl             18773  0 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
kvm_intel             143060  0 
kvm                   451511  1 kvm_intel
dell_laptop            18168  0 
dcdbas                 14928  1 dell_laptop
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13259  0 
aesni_intel            55624  2 
uvcvideo               80885  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
gf128mul               14951  1 lrw
videobuf2_vmalloc      13216  1 uvcvideo
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
videobuf2_memops       13362  1 videobuf2_vmalloc
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
psmouse               102222  0 
videobuf2_core         40664  1 uvcvideo
serio_raw              13462  0 
videodev              134688  2 uvcvideo,videobuf2_core
rfcomm                 69160  8 
arc4                   12608  2 
bnep                   19624  2 
snd_hda_intel          52355  3 
iwldvm                232285  0 
snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
mac80211              626489  1 iwldvm
nouveau              1097199  1 
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
btusb                  32412  0 
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
bluetooth             395423  22 bnep,btusb,rfcomm
iwlwifi               169932  1 iwldvm
snd_rawmidi            30144  1 snd_seq_midi
i915                  783485  3 
dell_wmi               12761  0 
lpc_ich                21080  0 
sparse_keymap          13948  1 dell_wmi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
mxm_wmi                13021  1 nouveau
snd_timer              29482  2 snd_pcm,snd_seq
cfg80211              484040  3 iwlwifi,mac80211,iwldvm
ttm                    85115  1 nouveau
snd                    69238  17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
drm_kms_helper         52758  2 i915,nouveau
wmi                    19177  3 dell_wmi,mxm_wmi,nouveau
drm                   302817  7 ttm,i915,drm_kms_helper,nouveau
i2c_algo_bit           13413  2 i915,nouveau
soundcore              12680  1 snd
mei_me                 18627  0 
mei                    82274  1 mei_me
mac_hid                13205  0 
video                  19476  2 i915,nouveau
parport_pc             32701  0 
ppdev                  17671  0 
lp                     17759  0 
parport                42348  3 lp,ppdev,parport_pc
hid_generic            12548  0 
usbhid                 52616  0 
hid                   106148  2 hid_generic,usbhid
usb_storage            62209  0 
ahci                   25819  1 
r8169                  67581  0 
libahci                32168  1 ahci
mii                    13934  1 r8169

Eu acho que poderia ser um problema relacionado ao hardware, mas, tanto quanto eu sei, o problema não ocorre no Windows (8, 64 bits). No entanto, como a reconexão é tão rápida, posso ter perdido até agora.

Alguma ideia de qual poderia ser o problema? O que é "Razão 6" e o que pode causar isso? Como posso depurar ainda mais o problema?

Parece que problemas de rede desde o Trusty podem ser o mesmo problema. Eu apreciaria se alguém pudesse postar meu link lá, já que não tenho reputação suficiente para fazê-lo.

Eu desativei o modo-N sem fio adicionando 'opções iwlwifi 11n_disable = 1' a algum arquivo em /etc/modprobe.d/. Eu não tinha desconexões desde então!

    
por dassmann 14.05.2014 / 17:06

2 respostas

7

Eu tive problemas semelhantes e descobri que o seguinte ajudou (não resolveu) o meu problema:

Verifique qual agência reguladora seu aparelho está configurado para usar:

iw reg get

O meu padrão foi "00", que não está definido. Como eu estou nos EUA, eu corri

sudo iw reg set US

Esta configuração para meu wireless parece ter tornado o comportamento do meu dispositivo muito mais consistente, embora eu também esteja executando

no arquivo /etc/modprobe.d/iwlwifi.conf para desativar o protocolo 802.11n

options iwlwifi 11n_disable=1

e no arquivo /etc/sysctl.conf estou desabilitando os protocolos ipv6

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1 
net.ipv6.conf.lo.disable_ipv6 = 1 

e, finalmente, meu roteador sem fio foi configurado para não usar QOS / WWN

    
por Charles Green 24.05.2014 / 15:27
1

Para mim, ajudou a mudar o canal automático para consertar o canal no meu roteador wlan.

Também recebi mensagens de erro como wlan0: deauthenticated from aa:bb:cc:dd:ee:ff o tempo todo e descobri (com o comando wpa_cli ) que isso acontece depois que o roteador wlan altera seu canal. Portanto, eu uso agora um canal wlan fixo que resolve esse problema.

Você pode ver o canal usado atualmente usando wpa_cli . Ele mostra quando o canal está sendo alterado. Quando o canal wlan está mudando, você pode ver que a freqüência é diferente de antes.

Não se trata de encontrar nenhum canal wlan livre, mas quando o canal está sendo alterado, parece que há um problema com o wpa_supplicant e ele não funciona mais, mas está tentando se reconectar o tempo todo sem sucesso. Depois disso, você recebe um monte de wlan0: deauthenticated from aa:bb:cc:dd:ee:ff de mensagens (o endereço MAC será diferente). Portanto, a solução é usar a correção do canal wlan para qualquer canal que você desejar.

    
por user403237 29.04.2015 / 20:18