[Contexto]
Eu estou instalando um Debian no meu novo computador: uname -a
is Linux myname 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
.
Eu estou tentando usar meu wifi, lspci
dá 02:00.0 Network controller: Intel Corporation Centrino Wireless-N 135 (rev c4)
. O pacote não-livre iwlwifi
está instalado e iwlwifi-135-6.ucode
está em /lib/firmware
. Minha versão é 18.168.6.1, como link
O gerenciador de rede consegue ver as redes por alguns segundos, tentar se conectar, desconectar e tentar se conectar novamente ... Aqui estão os resumos de dmesg
:
[ 244.217533] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 245.222313] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 246.226945] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 247.231622] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 248.236492] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 249.240733] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 250.245314] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 251.249968] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 252.254369] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[tentativas]
Se eu digitar sudo modprobe -r iwlwifi
;sudo modprobe -a iwlwifi
, eu recebo (no dmesg):
...
[ 1613.133381] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1613.764081] wlan0: authenticate with 42:42:42:42:42:42 (try 1) //it's not 42:42:42:42:42:42...
[ 1613.766123] wlan0: authenticated
[ 1613.768241] wlan0: associate with 42:42:42:42:42:42 (try 1)
[ 1613.777522] wlan0: RX ReassocResp from 42:42:42:42:42:42 (capab=0x411 status=0 aid=2)
[ 1613.777532] wlan0: associated
[ 1613.784776] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1613.909236] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1614.913201] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1615.917653] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1615.917758] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917765] iwlwifi 0000:02:00.0: Error sending REPLY_RXON_ASSOC: enqueue_hcmd failed: -5
[ 1615.917775] iwlwifi 0000:02:00.0: Error setting RXON_ASSOC (-5)
[ 1615.917908] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917916] iwlwifi 0000:02:00.0: Error sending REPLY_QOS_PARAM: enqueue_hcmd failed: -5
[ 1615.917923] iwlwifi 0000:02:00.0: Failed to update QoS
[ 1615.917932] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917937] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917943] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.917958] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917964] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917971] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.917980] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917987] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917994] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.918003] wlan0: deauthenticating from 42:42:42:42:42:42 by local choice (reason=3)
[ 1615.927619] iwlwifi 0000:02:00.0: Attempting to modify non-existing station 0
[ 1615.927645] iwlwifi 0000:02:00.0: iwl_send_add_sta - error in the CMD response -5
[ 1615.927656] ieee80211 phy0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
[ 1615.947571] iwlwifi 0000:02:00.0: Attempting to modify non-existing station 0
[ 1615.947584] iwlwifi 0000:02:00.0: iwl_send_add_sta - error in the CMD response -5
[ 1615.947589] ieee80211 phy0: failed to remove key (0, 42:42:42:42:42:42) from hardware (-5)
[ 1615.947653] iwlwifi 0000:02:00.0: REPLY_REMOVE_STA failed
[ 1615.947656] iwlwifi 0000:02:00.0: Error removing station 42:42:42:42:42:42
[ 1615.964802] cfg80211: Calling CRDA to update world regulatory domain
[ 1616.001528] cfg80211: World regulatory domain updated:
[ 1616.001537] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1616.001545] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.001552] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1616.001557] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1616.001563] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.001569] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.002254] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[ 1616.009919] iwlwifi 0000:02:00.0: Radio type=0x0-0x0-0x0
[ 1616.153051] ADDRCONF(NETDEV_UP): wlan0: link is not ready
...(repeating many times)
Como o problema parece vir do rfkill, eu tentei coisas como sudo rfkill unblock all
. No entanto, sempre que eu digito sudo rfkill list all
, recebo:
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Parece que os switches de hardware estão bem ... Eu também monitorizei os eventos do rfkill ( sudo rfkill event
), e aqui está o que eu consegui:
1400772407.995946: idx 3 type 1 op 2 soft 0 hard 0
1400772410.003509: idx 3 type 1 op 2 soft 0 hard 1
1400772410.004361: idx 3 type 1 op 2 soft 0 hard 0
1400772412.012073: idx 3 type 1 op 2 soft 0 hard 1
1400772412.013314: idx 3 type 1 op 2 soft 0 hard 0
A comutação de rfkill só acontece quando tentativas de conexão são realizadas.
Pode ser um problema relacionado ao modo avião, mas a luz do meu computador está desligada. Tentei pressionar fn + f11 para ligá-lo e a luz nunca acendeu ... Não consigo ver nenhum interruptor mecânico ou fn + .. relacionado ao wifi no meu computador. As pessoas que enfrentam problemas relacionados ao modo avião parecem resolver isso inicializando o Ubuntu 10.10 ... Instalar um debian squeeze ou um Ubuntu resolveria esse problema?
[pergunta]
Aqui estão minhas perguntas:
-
parece um problema de hardware? Um lança-chamas é a ferramenta certa para resolver esse problema?
-
Como faço para encontrar o que está bloqueando o rfkill de tempos em tempos? O firmware pode ser a origem deste problema?
-
o que você tentaria? O que eu posso tentar?
Qualquer conselho seria útil!