Deactivate 5GHz Wi-Fi

Spread the love

I have been having trouble with my wireless network card, both on Windows and Ubuntu, but in the case of Ubuntu my problem boils down to this: the laptop connects to the Wi-Fi just fine, authenticating properly and everything, but then doesn’t connect to the internet and doesn’t even have ping.

After a few hours of working with tech support, we managed to figure out that for some reason the network card doesn’t send anything on 5GHz frequencies. It can receive frames and claims to send them, but a packet sniffer never sees them. Oddly enough, it seems that 2.4GHz networks work just fine. Most of the access points at my university and my dorm are hybrid, but they enforce a 5GHz preference to fit as many people as possible in.

I’m going to send my computer in for repairs soon, but until then I need a quick fix. I want to, if possible, deactivate the 5GHz capabilities of my network card so that it only broadcasts configuration for 2.4GHz and defaults to it so that I am connected to networks I can actually use. I don’t mind losing the ability to connect to 5GHz-only networks, and I’m probably going to overhaul my entire setup, but until then, my question is this:

How do I disable my wireless card’s 5GHz capabilities so that it only connects through 2.4GHz frequencies?

Some (hopefully useful) command dumps:

[email protected]:~$ sudo lshw -class network
description: Wireless interface
product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: [email protected]:02:00.0
logical name: wlp2s0
version: 00
serial: b0:c0:90:ac:5c:8d
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ae driverversion=4.4.0-57-generic firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:130 ioport:d000(size=256) memory:df200000-df203fff
description: Ethernet interface

[email protected]:~$ lspci | grep ‘Network|Ethernet|Wireless’
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)

[email protected]:~$ modinfo iwlwifi | grep parm
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm: nvm_file:NVM file name (charp)
parm: d0i3_disable:disable d0i3 functionality (default: Y) (bool)
parm: lar_disable:disable LAR functionality (default: N) (bool)
parm: uapsd_disable:disable U-APSD functionality (default: Y) (bool)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 – 5, default: 1) (int)
parm: fw_monitor:firmware monitor – to debug FW (default: false – needs lots of memory) (bool)

[email protected]:~$ modinfo rtl8821ae | grep parm
parm: swenc:Set to 1 for software crypto (default 0)
parm: ips:Set to 0 to not use link power save (default 1)
parm: swlps:Set to 1 to use SW control power save (default 0)
parm: fwlps:Set to 1 to use FW control power save (default 1)
parm: msi:Set to 1 to use MSI interrupts mode (default 1)
parm: debug:Set debug level (0-5) (default 0) (int)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
parm: int_clear:Set to 0 to disable interrupt clear before set (default 1)

Thanks in advance!

X ITM Cloud News


Leave a Reply

Next Post

Ubuntu doesn't load grub

Fri Sep 11 , 2020
Spread the love          Yesterday, I installed Ubuntu 20.04 and it worked normally. But today, it is not booting. When I open the bios menu, there is an option for ubuntu but selecting it loads the dell system checker. Bios pretends that I have no ubuntu installed. I had previously installed Lubuntu […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware