Problemas no WLAN Thinkpad T460p

0

Às vezes, minha WLAN funciona, às vezes não mostra nenhuma rede (embora haja muitas; posso ver com meu telefone). A reinicialização ajuda. Eu tenho um chip Intel Wireless 8260 . Eu uso o driver proprietário, pois não usá-lo não funcionou.

Qual é o problema e como posso corrigi-lo?

Saída de depuração

Chip é reconhecido:

$ sudo lshw -C network                    
  *-network               
       description: Wireless interface
       product: Wireless 8260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 3a
       serial: 44:85:00:74:18:41
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-21-generic firmware=16.242414.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:128 memory:f2100000-f2101fff
  *-network
       description: Ethernet interface
       product: Ethernet Connection (2) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 31
       serial: 50:7b:9d:e2:0c:93
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.8-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:125 memory:f2200000-f221ffff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: enxe20c6546aca7
       serial: e2:0c:65:46:ac:a7
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.112 link=yes multicast=yes

O driver parece estar carregado:

$ lsmod | grep wifi
iwlwifi               200704  1 iwlmvm
cfg80211              565248  3 iwlwifi,mac80211,iwlmvm

O iwconfig também mostra isso. Não está desabilitado pelas teclas de função, como Tx-Power=0 dBm e não Tx-Power=off :

$ sudo iwconfig
enxe20c6546aca7  no wireless extensions.

enp0s31f6  no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

Dmesg quando não funcionou:

dmesg | grep -e iwl -e wlp
[    4.033651] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-19.ucode failed with error -2
[    4.033666] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-18.ucode failed with error -2
[    4.033804] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-17.ucode failed with error -2
[    4.056273] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    4.098668] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    4.098977] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.099898] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.100833] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.246808] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.247687] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[    4.510635] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    4.510968] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.511344] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.512637] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.651268] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.652059] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.652926] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.739438] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready

dmesg quando funcionou:

$ dmesg | grep -e iwl -e wlp
[    4.002403] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-19.ucode failed with error -2
[    4.002418] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-18.ucode failed with error -2
[    4.003545] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-17.ucode failed with error -2
[    4.019494] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    4.068569] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    4.068879] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.069859] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.072034] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.218682] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.219874] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[    4.620410] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    4.620953] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.621328] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.621998] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.760365] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.760788] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.761451] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.852426] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    5.174281] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   20.399706] wlp3s0: authenticate with 00:1f:3f:10:85:c7
[   20.408384] wlp3s0: send auth to 00:1f:3f:10:85:c7 (try 1/3)
[   20.415065] wlp3s0: authenticated
[   20.417192] wlp3s0: associate with 00:1f:3f:10:85:c7 (try 1/3)
[   20.428684] wlp3s0: RX AssocResp from 00:1f:3f:10:85:c7 (capab=0x411 status=0 aid=3)
[   20.430381] wlp3s0: associated
[   20.430426] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
    
por Martin Thoma 06.05.2016 / 21:29

2 respostas

2

Embora a resposta do chili555 seja muito boa, e irá remover esses erros desagradáveis, você também pode tentar isto:

sudo systemctl restart network-manager.service

Se isso funcionar, você pode criar um script para automatizá-lo.

Abra um terminal e digite o seguinte:

sudo nano /etc/systemd/system/wifi-resume.service Agora cole o script lá com um clique direito. Saia com CTRL + X e pressione Y para salvar. Agora, para ativá-lo: sudo systemctl enable wifi-resume.service

Script:

#/etc/systemd/system/wifi-resume.service
#sudo systemctl enable wifi-resume.service
[Unit]
Description=Restart networkmanager at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target

Espero que isso ajude. Funciona no meu laptop. (Intel 7265)

    
por Joakim Koed 07.05.2016 / 01:49
3

Seu driver carrega o firmware -16 quando arquivos de firmware posteriores forem liberados e estiverem disponíveis. Com uma conexão de internet ativa, abra um terminal e faça:

sudo apt-get update
sudo apt-get install git
git clone https://github.com/OpenELEC/iwlwifi-firmware.git
cd iwlwifi-firmware
sudo cp iwlwifi-8000C*  /lib/firmware

Reinicie e diga-nos se existe alguma melhoria.

    
por chili555 06.05.2016 / 23:47