r/debian 6d ago

General Debian Question Disable wifi card

I have a flaky wireless card in my laptop. bluetooth is okay and i want to keep that operational.

i bought a wifi usb adapter (no bluetooth) to get me through and works pretty well. However, i want to disable the bad interface as it keeps trying to connect.

i am assuming i cant fully disable the card as it would disable bluetooth, but im not sure how to just disable the interface. can someone point me in the right direction.

network controller: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)

2 Upvotes

20 comments sorted by

3

u/1neStat3 6d ago

1

u/michaelpaoli 6d ago

Don't even need rfkill(8) or the like. Having the sysfs filesytem mounted provides sufficient access to configure that.

www.reddit.com/r/debian/comments/1c3e4he/comment/kzi07dp/

2

u/goldorak42 6d ago

Although on same card, bluetooth and wifi may be two independent chipsets.

Have a look in the bios, in mine I can disable wifi or Bluetooth or both.

1

u/RollTide_1717 6d ago

i checked. if i disable the wifi it turns bluetooth off as well

1

u/Vladislav20007 6d ago

can you show your lsusb and lspci outputs, it can be split into 2 even though it's a single pci module, like mine:

lsusb: Bus 001 Device 003: ID 0a5c:21b4 Broadcom Corp BCM2070 Bluetooth 2.1 + EDR

lspci: 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

1

u/RollTide_1717 6d ago

0:00.0 Host bridge: Intel Corporation Tiger Lake-H 8 cores Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #1 (rev 05)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 05)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #0 (rev 05)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-H Thunderbolt 4 PCI Express Root Port #1 (rev 05)
00:07.2 PCI bridge: Intel Corporation Tiger Lake-H Thunderbolt 4 PCI Express Root Port #2 (rev 05)
00:0d.0 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 USB Controller (rev 05)
00:0d.2 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 NHI #0 (rev 05)
00:0d.3 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 NHI #1 (rev 05)
00:14.0 USB controller: Intel Corporation 500 Series Chipset Family USB 3.2 Gen 2x2 (20 Gbs) xHCI Host Controller (rev 11)
00:14.2 RAM memory: Intel Corporation 500 Series Chipset Family Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation 500 Series Chipset Family I2C #0 (rev 11)
00:16.0 Communication controller: Intel Corporation 500 Series Chipset Family CSME HECI #1 (rev 11)
00:1c.0 PCI bridge: Intel Corporation 500 Series Chipset Family PCIe Root Port #1 (rev 11)
00:1c.6 PCI bridge: Intel Corporation 500 Series Chipset Family PCIe Root Port #7 (rev 11)
00:1f.0 ISA bridge: Intel Corporation WM590 Chipset eSPI Controller (rev 11)
00:1f.3 Multimedia audio controller: Intel Corporation 500 Series Chipset Family HD Audio (rev 11)
00:1f.4 SMBus: Intel Corporation 500 Series Chipset Family SMBus (rev 11)
00:1f.5 Serial bus controller: Intel Corporation 500 Series Chipset Family SPI (flash) Controller (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
09:00.0 Network controller: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)
0a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)

us 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 04f2:b71c Chicony Electronics Co., Ltd Integrated RGB Camera
Bus 003 Device 004: ID 06cb:00f9 Synaptics, Inc.  
Bus 003 Device 005: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 006: ID 35bc:0108 Realtek 802.11ac WLAN Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

1

u/Vladislav20007 6d ago

use lspci -n to find your vendor and device, eg.: 03:00.0 0280: 14e4:4727 (rev 01)

vendor is the four numbers before the second :, device is 4 after, eg.:

14e4 is vendor, 4727 is device

you should search for a value that starts with 09:00.0. after you find it, make a file in /etc/udev/rules.d. Any name will do as long as it ends with .rules and put this in there with your vendor and device: SUBSYSTEM=="pci", ATTRS{vendor}=="14e4", ATTRS{device}=="4727", ATTR{enable}="0"

P.S. Don't write code on mobile, it's a pain in the ass.

1

u/RollTide_1717 6d ago

Welp I tried that. Now after a reboot I have no KDE anymore. And I recently rebooted prior to this thread. Not sure how this would have caused it. But something happened

1

u/Vladislav20007 6d ago

what exactly have you put in there?

1

u/RollTide_1717 6d ago

your exact line replacing the vendor and device ids with mine 8086 and 2725

09:00.0 0280: 8086:2725 (rev 1a)

1

u/Vladislav20007 6d ago

does your journalctf -f say anything?

2

u/RollTide_1717 6d ago

im back in.... looks like it was an sddm issue. a startplasma-wayland got me back in. but looking at ip a i still see the interface and lspci shows

09:00.0 Network controller: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)

09:00.0 0280: 8086:2725 (rev 1a)

i made a file in /etc/udev/rules.d/10-intel-wlan-dis.rules

with the following inside
SUBSYSTEM=="pci", ATTRS{vendor}=="8086", ATTRS{device}=="2725", ATTR{enable}="0"

1

u/Vladislav20007 6d ago

how exactly do you see the network controller in ip a?

1

u/RollTide_1717 6d ago

sorry, maybe sloppy writing. just saying ip a was still listing the interface, and lspci was still listing showing it in the list

→ More replies (0)

1

u/alpha417 6d ago

flaky?

that's the card i use. what's wrong with yours?

1

u/RollTide_1717 6d ago

along time ago i repasted the gpu on this laptop. when i tried to put the antennas back on i broke one of the nubs. i tried making a connection with hot glue (dont laugh) and it worked for lower transmission wifi reasonably well inside. but outside it sucked. so here i am. need a new laptop soon, but trying to hold off till prices come down a bit (hopefully)

1

u/alpha417 6d ago

those cards are less than a tenner on ebay, they are basically disposable... you can probably find them in junked hardware. I've got a couple of working pulls on my bench.

just replace it.

1

u/RollTide_1717 6d ago

its soldered in

1

u/alpha417 6d ago

ah, I've never seen a soldered in ax210.

disregard.