Wifi is slow and unstable on ubuntu 20.04 dual boot (DELL XPS-L502X)

I am using a Dell XPS l502x laptop dual booted with Windows 10 and Ubuntu 20.04. The internet speed on Windows is fast and stable while it is very slow and unstable while I use Ubuntu, it keeps on dropping. The signal strength is also much weaker when I boot into Ubuntu while it works perfectly in Windows with same conditions.

The output of lspci -nnk | grep -A2 0280:

03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34)
    Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN [8086:5325]
    Kernel driver in use: iwlwifi

The output of dmesg | grep iwl:

 [   17.896470] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[   17.974380] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   18.938665] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   18.938672] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   18.938677] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   18.938684] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Wireless-N 1030 BGN, REV=0xB0
[   18.975229] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   20.747957] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[   35.230165] iwlwifi 0000:03:00.0: Radio type=0x2-0x2-0x1
[   35.326450] iwlwifi 0000:03:00.0: Radio type=0x2-0x2-0x1

The output of sudo lshw -C network:

 description: Wireless interface
       product: Centrino Wireless-N 1030 [Rainbow Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 34
       serial: bc:77:37:28:9f:5b
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-31-generic firmware=18.168.6.1 ip=192.168.0.104 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:39 memory:f1b00000-f1b01fff
  *-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:06:00.0
       logical name: enp6s0
       version: 06
       serial: 14:fe:b5:9c:fc:0d
       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 firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII
       resources: irq:17 ioport:2000(size=256) memory:f1804000-f1804fff memory:f1800000-f1803fff

I hope this information is enough to help me sort this out, Please let me know if any other information is needed regarding this issue.

3
задан 4 June 2020 в 07:11

1 ответ

Я наконец-то решил эту проблему после просмотра и пробования нескольких потоков в различных блогах.

Проблема: Мой маршрутизатор старый и не поддерживает протокол 802.11n, что приводило к замедлению работы Интернета только в Ubuntu, поскольку по умолчанию он использовался.

Решение: Чтобы принудительно отключить протокол 802.11:

Шаг 1: Откройте iwlwifi.conf с помощью nano или любого другого текстового редактора.

sudo nano /etc/modprobe.d/iwlwifi.conf

Шаг 2: Добавьте строку для принудительного отключения протокола 802.11n

options iwlwifi 11n_disable=1

Шаг 3: Сохраните и перезагрузите ваш компьютер.

ПРИМЕЧАНИЕ. Изменения не вступят в силу, пока вы не перезагрузите компьютер.

Если вы хотите отменить изменения, удалите добавленную строку и перезагрузите.

Это решило мою проблему и если у вашего ПК такая же проблема, я уверен, что она решит и вашу.

4
ответ дан 19 June 2020 в 21:36

Другие вопросы по тегам:

Похожие вопросы: