Wifi não funciona depois do currículo

1

Eu tenho problema meu wifi não funciona depois do currículo.

Eu já tentei muita solução no Google.

O que eu tenho atualmente:

cat /etc/pm/sleep.d/wakenet.sh

#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
pkill -f wpa_supplicant
;;
*)
;;
esac
exit $?

cat /etc/pm/config.d/config

SUSPEND_MODULES="ath10k_pci"

Registo de erros após o resumo:

 ath10k_pci 0000:04:00.0: Refused to change power state, currently in D3
[   52.941724] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034400: -110
[   52.952859] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034404: -110
[   52.963313] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x00034410: -110
[   52.973762] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034410: -110
[   52.984213] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x0003444c: -110
[   52.994663] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x0003444c: -110
[   53.005114] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x00034408: -110
[   53.015563] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0x00000000 at 0x0003440c: -110
[   53.026037] ath10k_pci 0000:04:00.0: failed to wake target for read32 at 0x00034450: -110
[   53.036495] ath10k_pci 0000:04:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034450: -110
[   54.332051] ath10k_pci 0000:04:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   57.467798] ath10k_pci 0000:04:00.0: failed to read device register, device is gone
[   57.467809] ath10k_pci 0000:04:00.0: failed to reset chip: -5
[   57.478781] ath10k_pci: probe of 0000:04:00.0 failed with error -5

uname -a

Linux sahal 4.4.0-18-generic #34~14.04.1-Ubuntu SMP Thu Apr 7 18:31:54 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Eu realmente preciso de ajuda agora. Obrigada!

    
por Caal Saal VI 17.04.2016 / 16:09

1 resposta

0

Eu usei Owais Lone 's responder a uma pergunta semelhante para ativar o retorno automático de wifi após a suspensão para o meu laptop (um Dell Precisão) em 16.04 LTS.

Como o Owais, criei /etc/pm/sleep.d/10_resume_wifi:

#!/bin/sh

case "${1}" in
    resume|thaw)
      nmcli radio wifi off && nmcli radio wifi on;;
esac

seguido por um sudo chmod +x /etc/pm/sleep.d/10_resume_wifi .

Caso você esteja se perguntando sobre o ponto-e-vírgula duplo ou o parêntese solitário próximo como eu, consulte link - é assim que funciona a sintaxe do caso.

    
por ScottH 25.05.2016 / 01:35