Minha conexão do ubuntu é tão lenta, mas a conexão do telefone está bem no wifi

1

Eu fiz um teste de velocidade para o meu Ubuntu e a conexão wi-fi é capaz de velocidades de até 55 mbps, mas geralmente, ele fica a menos de 1 Mbps. Meu telefone que está no mesmo wifi tem velocidades de cerca de 50 mbps. Eu tentei desabilitar o ipv6, não fez diferença, então eu habilitei. Tentei forçar desabilitar o protocolo 802.11n com

sudo rmmod iwlwif

mas recebo este erro:     rmmod: ERRO: O módulo iwlwif não está atualmente carregado

Então eu estou supondo que o 802.11n já esteja desativado? meu cartão sem fio é

  sudo lshw -c network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 10
       serial: d0:17:c2:1c:83:10
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:16 ioport:d000(size=256) memory:dfb04000-dfb04fff memory:dfb00000-dfb03fff
  *-network
       description: Wireless interface
       product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 00
       serial: b0:c0:90:68:76:0b
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=4.13.0-37-generic firmware=N/A ip=192.168.50.100 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 ioport:c000(size=256) memory:dfa00000-dfa03fff

Tenha em mente que, em casa, meu internet wi-fi funciona bem depois de horas de encontrar os drivers corretos para a minha placa wireless realtek. Mas no trabalho, mal está funcionando. Eu peguei os drivers desta página

Cartão Wifi Realtek RTL8723be não está funcionando corretamente

mas em vez de puxar do rtlwifi_new eu retirei do rtlwifi_new-master. Ele me deu erros quando eu puxei de rtlwifi_new

cd Desktop
cd rtlwifi_new-master
make
sudo make install
sudo modprobe -rv rtl8821ae
sudo modprobe -v rtl8821ae ant_sel=2
sudo ip link set wlp3s0 up
sudo iw dev wlp3s0 scan
echo "options rtl8821ae ant_sel=2" | sudo tee /etc/modprobe.d/50-rtl8821ae.conf

Agora eu vou tentar ant_sel = 1 ou X para ver se isso faz diferença.

Muito obrigado pela ajuda !!

    
por he liu 23.03.2018 / 17:35

1 resposta

1

Vamos tentar outra versão mais recente do driver:

cd rtlwifi_new-master
sudo make uninstall
sudo modprobe -r rtl8821ae
cd ..
sudo rm -rf rtlwifi_new-master
git clone -b extended https://github.com/lwfinger/rtlwifi_new
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8821ae

Alguma melhoria?

EDITAR : Na sua análise, vemos:

Cell 03 - Address: xx
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-40 dBm  
                    Encryption key:on
                    ESSID:"sdcwireless WiFi"
                    <snip>
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    <snip>
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK

O ideal é que adoremos ver essas alterações:

First, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.

Além disso, gostaríamos que o SSID fosse renomeado para um sem espaço no nome, como sdcwireless_WiFi.

Normalmente, os drivers do Linux são incomodados pelo TKIP; assim, é bastante inseguro: link

TKIP itself is no longer considered secure, and was deprecated in the 2012 revision of the 802.11 standard.

Esperamos que você consiga convencer a empresa a proteger a rede.

Também vemos, no seu log de mensagens:

[ 3313.007137] _rtl_pci_interrupt: 417 callbacks suppressed
[ 3318.009871] _rtl_pci_interrupt: 1732 callbacks suppressed
[ 3323.014813] _rtl_pci_interrupt: 2015 callbacks suppressed
[ 3328.018509] _rtl_pci_interrupt: 2167 callbacks suppressed

Vamos tentar um parâmetro de driver para ver se isso ajuda:

sudo modprobe -r rtl8821ae
sudo modprobe rtl8821ae int_clear=0

Se isso ajudar, vamos torná-lo permanente.

    
por chili555 26.03.2018 / 18:24