AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1397239
Accepted
Andrew Harlan
Andrew Harlan
Asked: 2022-03-13 08:44:56 +0800 CST2022-03-13 08:44:56 +0800 CST 2022-03-13 08:44:56 +0800 CST

A conexão Wi-Fi continua desconectando

  • 772

A conexão wifi que uso no meu laptop fica desconectando aleatoriamente e isso acontece muitas vezes durante o dia. Primeiro, o sinal do wifi começa a piscar e depois pede a senha do wifi, mesmo que já tenha sido salvo. Preciso desligar a rede sem fio, ligá-la novamente e conectar à rede sem fio novamente para reconectar.

Meu adaptador de rede é:

02:00.0 Network controller: Intel Corporation Wireless 3160 (rev cb)

Não acho que seja um problema relacionado ao hardware, pois não estava acontecendo quando eu estava usando o Windows e também não é um problema de roteador, pois outros dispositivos conectados à rede estão ok.

Eu tenho o Ubuntu 20.04.4 LTS instalado e não há drivers adicionais disponíveis. Existe alguma solução que você possa me oferecer?

Os comandos iwlwifi estão aqui: https://pastebin.ubuntu.com/p/tjwzKRXZ6F/

$ uname -a
Linux SATELLITE-Radius-14-L40W-C-102 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ sudo lshw -class network
*-network                 
       description: Wireless interface
       product: Wireless 3160
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: cb
       serial: b4:6d:83:ff:02:8f
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.13.0-37-generic firmware=17.3216344376.0 3160-17.ucode ip=192.168.1.242 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:49 memory:b1100000-b1101fff

$ lspci -knn | grep Net -A2
02:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev cb)
    Subsystem: Intel Corporation Dual Band Wireless AC 3160 [8086:8170]
    Kernel driver in use: iwlwifi

$ls -al /etc/pm/config.d/
ls: cannot access '/etc/pm/config.d/': No such file or directory
$ ls -al /etc/modprobe.d/
total 56
drwxr-xr-x   2 root root  4096 Şub  7 12:50 .
drwxr-xr-x 130 root root 12288 Mar 23 12:34 ..
-rw-r--r--   1 root root  2507 Tem 31  2015 alsa-base.conf
-rw-r--r--   1 root root   154 Şub 16  2020 amd64-microcode-blacklist.conf
-rw-r--r--   1 root root   325 Mar 12  2020 blacklist-ath_pci.conf
-rw-r--r--   1 root root  1518 Mar 12  2020 blacklist.conf
-rw-r--r--   1 root root   210 Mar 12  2020 blacklist-firewire.conf
-rw-r--r--   1 root root   677 Mar 12  2020 blacklist-framebuffer.conf
-rw-r--r--   1 root root   156 Tem 31  2015 blacklist-modem.conf
lrwxrwxrwx   1 root root    41 Şub  7 12:28 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r--   1 root root   583 Mar 12  2020 blacklist-rare-network.conf
-rw-r--r--   1 root root   154 Haz 10  2020 intel-microcode-blacklist.conf
-rw-r--r--   1 root root   347 Mar 12  2020 iwlwifi.conf
$ sudo iwlist freq
lo        no frequency information.

wlp2s0    32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.462 GHz (Channel 11)

$ iwlist scan | egrep -i 'ssid|quality'
lo        Interface doesn't support scanning.

                    Quality=70/70  Signal level=-36 dBm  
                    ESSID:"ardic"
$ sudo iwconfig
lo        no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"ardic"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 60:31:97:F0:0D:4D   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:137   Missed beacon:0

$ inxi -Fxz
System:
  Kernel: 5.13.0-37-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.4 LTS (Focal Fossa) 
Machine:
  Type: Laptop System: TOSHIBA product: SATELLITE Radius 14 L40W-C-102 
  v: PSLZAE-00R00STE serial: <filter> 
  Mobo: FF40 model: 06A0 v: 2.0 serial: <filter> UEFI: INSYDE v: 5.00 
  date: 07/01/2015 
Battery:
  ID-1: BAT0 charge: 13.1 Wh condition: 22.7/46.3 Wh (49%) 
  model: TKBSS G71C000JV110 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i3-5005U bits: 64 type: MT MCP 
  arch: Broadwell rev: 4 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 15999 
  Speed: 883 MHz min/max: 500/1900 MHz Core speeds (MHz): 1: 1026 2: 969 
  3: 800 4: 927 
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Toshiba driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.13 driver: i915 resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Toshiba driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 
  Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Toshiba 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.13.0-37-generic 
Network:
  Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel port: 3040 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 111.79 GiB used: 14.19 GiB (12.7%) 
  ID-1: /dev/sda vendor: Gigabyte model: GP-GSTFS31120GNTD size: 111.79 GiB 
  temp: 33 C 
Partition:
  ID-1: / size: 109.04 GiB used: 14.18 GiB (13.0%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 54.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 235 Uptime: 7h 36m Memory: 7.68 GiB used: 2.14 GiB (27.9%) 
  Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: bash v: 5.0.17 
  inxi: 3.0.38 

$ nmcli device wifi list
IN-USE  BSSID              SSID                       MODE   CHAN  RATE        >
*       60:31:97:F0:0D:4D  ardic                      Infra  11    130 Mbit/s  >
        00:31:92:66:37:60  TurkTelekom_TP3760_2.4GHz  Infra  8     270 Mbit/s  >
        00:31:92:66:37:61  TurkTelekom_TP3760_5GHz    Infra  36    270 Mbit/s  >
        74:DA:88:22:03:20  TP-Link_0320               Infra  2     130 Mbit/s  >
        8C:DE:F9:0E:2B:48  TP-Link_0320_plus          Infra  2     130 Mbit/s  >
        8C:15:C7:E9:98:24  VodafoneNet-D7VDST         Infra  11    270 Mbit/s  >

  $ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 04f2:b446 Chicony Electronics Co., Ltd TOSHIBA Web Camera - HD
Bus 002 Device 003: ID 04f3:20d3 Elan Microelectronics Corp. Touchscreen
Bus 002 Device 002: ID 048d:8350 Integrated Technology Express, Inc. ITE Device(8350)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
     Active: active (running) since Tue 2022-03-29 10:17:38 +03; 9min ago
       Docs: man:bluetoothd(8)
   Main PID: 920 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9356)
     Memory: 1.5M
     CGroup: /system.slice/bluetooth.service
             └─920 /usr/lib/bluetooth/bluetoothd

Mar 29 10:17:38 SATELLITE-Radius-14-L40W-C-102 systemd[1]: Starting Bluetooth s>
Mar 29 10:17:38 SATELLITE-Radius-14-L40W-C-102 bluetoothd[920]: Bluetooth daemo>
Mar 29 10:17:38 SATELLITE-Radius-14-L40W-C-102 systemd[1]: Started Bluetooth se>
Mar 29 10:17:38 SATELLITE-Radius-14-L40W-C-102 bluetoothd[920]: Starting SDP se>
Mar 29 10:17:38 SATELLITE-Radius-14-L40W-C-102 bluetoothd[920]: Bluetooth manag>
networking
  • 5 5 respostas
  • 1177 Views

5 respostas

  • Voted
  1. Best Answer
    sancho.s ReinstateMonicaCellio
    2022-03-29T02:45:36+08:002022-03-29T02:45:36+08:00

    EDITAR :

    De acordo com o pastebin, a configuração atual do driver inclui:

    bt_coex_active=enable
    power_save=enable
    power_level=1
    

    então eu diria que vale a pena tentar a opção 1 abaixo.


    De acordo com as especificações , seu Intel® Dual Band Wireless-AC 3160 possui bandas WiFi de 2,4 GHz, 5 GHz e Bluetooth versão 4.0. É bastante frequente ver interferências entre WiFi e Bluetooth em adaptadores integrados. Uma solução teria dificuldade variada, dependendo das opções de configuração do driver.

    Estou listando abaixo algumas respostas que postei sobre isso. Lá você pode encontrar links úteis. Quanto ao seu caso particular, são necessárias mais informações para restringir as opções. Por um lado, fornecerei uma lista de comandos para obter informações relacionadas do seu sistema. OTOH, fornecerei uma lista de opções que você pode tentar, supondo que você tenha o driver iwlwifi (também este ).

    Informações para postar

    Por favor, poste as seguintes informações

    1. Saída dos comandos abaixo. Por favor, copie e cole literalmente, em seu terminal, os comandos listados. Em seguida, copie e cole literalmente, aqui, os comandos inseridos e a saída obtida. Adicione também qualquer comportamento que você possa observar que valha a pena notar. Insira seus resultados como texto formatado corretamente, não como capturas de tela. Se necessário para uma saída muito longa, você pode usar pastebin.

       $ uname -a
       $ sudo lshw -class network
       $ lspci -knn | grep Net -A2
       $ ls -al /etc/pm/config.d/
       $ ls -al /etc/modprobe.d/
       $ sudo iwlist freq
       $ iwlist scan | egrep -i 'ssid|quality'
       $ sudo iwconfig
       $ inxi -Fxz
       $ nmcli device wifi list
       $ lsusb
       $ systemctl status bluetooth
       $ hcitool dev
       $ hciconfig -a
      
       $ modinfo iwlwifi
       $ sudo lsmod | grep iwlwifi
       $ cat /etc/modprobe.d/iwlwifi.conf
       $ grep [[:alnum:]] /sys/module/iwlwifi/parameters/*
      

      A última série de comandos pressupõe que você tenha driver iwlwifi. Substitua-o por qualquer driver que você tenha.

    2. Marca/modelo do seu computador

    Coisas para tentar

    Poste o comportamento/saída resultante. Supondo que você tenha driver iwlwifi, tente:

    1. Usando as opções do driver ( parms): sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N power_save=0 power_level=5". Se isso não funcionar, você pode adicionar 11n_disable=1, disable_11ac=1, disable_11ax=1. Reinício. Observe que, na documentação, não está claro se o número mais alto (5) fornece a potência máxima ou a economia máxima de energia, então você também pode tentar a outra extremidade ( power_level=1). Para verificar o nível de energia, usar o PC com bateria e em execução powertoppode ajudar.
    2. Desativando o bluetooth . Você pode fazer isso via CLI com systemctl stop bluetooth, via GUI com Configurações -> Bluetooth -> Mova o controle deslizante no canto superior direito ou talvez via configuração do BIOS. Reinício.
    3. Desativando a banda de 5GHz no roteador.
    4. Se o problema ocorrer em uma rede específica, essa pode ser sua solução, mas verifique a guia Detalhes . Eu sei que isso acontece sem o seu Ubuntu dormir, mas ainda pode se aplicar. E pode ser a solução mesmo que aconteça mais amplamente, embora seja menos provável neste caso.
    5. Mude o canal com iw wlp2s0 set channel <no.>.

    Algumas respostas relacionadas

    1. Adaptador Bluetooth retardando a conexão Wi-Fi no Ubuntu 18.04.1
    2. Wifi fica mais lento quando o fone de ouvido Bluetooth está conectado no Ubuntu 20.04
    3. Wifi e Bluetooth não funcionam simultaneamente
    4. Killer Wi-Fi 6 AX1650i WiFi conexões lentas no kernel 5.11
    5. Erros no make defconfig-ath10k .. Wifi lento com qualcomm Atheros QCA9377
    6. Receptor bluetooth Atheros cai periodicamente, Dell Inspiron 15
    7. Bluetooth não funciona no Ubuntu no laptop HP - 15-di2000tu
    • 1
  2. Utkarsh Chandra Srivastava
    2022-03-26T20:44:51+08:002022-03-26T20:44:51+08:00

    Talvez problema de gerenciamento de energia? alterar o valor wifi.powersave para 2

    sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
    #edit this line change from whatever to 2
    wifi.powersave=2 
    

    Se isso não funcionar tente passar este parâmetro no grub

    sudo nano /etc/default/grub 
    
    # Edit the following line and add pcie_aspm=off
    
    GRUB_CMDLINE_LINUX_DEFAULT="splash pcie_aspm=off"
    
    sudo update-grub
    
    • 0
  3. WinEunuuchs2Unix
    2022-03-29T14:40:24+08:002022-03-29T14:40:24+08:00

    Algumas coisas que você pode olhar. No meu /etc/NetworkManager/conf.d/default-wifi-powersave-on.confcontém:

    [connection]
    #wifi.powersave = 3
    # Slow sleep fix: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1670041
    wifi.powersave = 2
    

    Como você já está usando 2, pode tentar 3.

    A Intel faz drivers WiFi para Linux:

    insira a descrição da imagem aqui

    • 0
  4. QRP
    2022-03-31T11:48:09+08:002022-03-31T11:48:09+08:00

    Eu tive esse mesmo problema há cerca de um ano e encontrei uma solução em Configurações> Energia> Suspender e botão liga / desliga> Suspensão automática. Defina On Battery Power para OFF. Agora eu nunca perco meu wifi. Não tenho ideia de por que isso funciona, e se fosse explicado para mim, tenho certeza de que não entenderia.

    Ubuntu 20.04.4 LTS

    • 0
  5. 6reg
    2022-07-14T12:55:53+08:002022-07-14T12:55:53+08:00

    Meu problema acabou sendo o extensor wifi muito perto do laptop. Afastei-o alguns metros e corrigiu o problema.

    • 0

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve