Can My Laptop WiFi Card be Turned Off

Months ago I was having a problem with my WiFi/Bluetooth card ..... with the help of Aravisian I installed a WiFi/Bluetooth dongle and it has been working just fine ..... however since I reinstalled Zorin 16 Pro several days ago it had remained off until I reinstalled the procedure to turn it back on yesterday .... I've noticed that sometimes my laptop card will kick in and my dongle will quit and visa versa .....

I can tell this as the light on the dongle will start blinking showing it is working but when it stays off my internet doesn't shut down so the laptop card must be working part time ....

Another thing is that my Logitech K380 operates with Bluetooth ..... I believe in the past I mistakenly said it was WiFi ..... and will occasionally drop out and I have to restart it ....

For the longest time .... like 3 months ..... my WiFi dongle had been working flawlessly until like I said I reinstalled Zorin .....

Can and should the laptop card be turned off and is it advisable to do so ???? ..... if so how to do it ?????

When you turn off wifi in the os, it should power down after a few minutes (depending on the battery config) but will not completely turn off unless you disable the use of that device.

1 Like

How can I disable the WiFi card and just have my WiFi Dongle enabled ???? ....

To disable your wireless card, blacklist its driver. From a terminal:

sudo -i echo "blacklist driver-name" >> /etc/modprobe.d/blacklist.conf modprobe -r driver-name exit

2 Likes

Where do I find the drivers name ????? .....

I found out this on Ubuntu Q & A ..... when I typed it into the terminal I get this .....

Do I copy the whole thing and past it into the command you gave me or just part of it ????? .....

sudo lshw -C network

I found this ...... driver=rtl88x2bu .....

So I would copy and paste rt188x2bu and put it into the command ....

sudo -i echo "blacklist rtl88x2bu" >> /etc/modprobe.d/blacklist.conf modprobe -r driver-name exit ...... is that with or without the quotes ???? ......

Now just so I'm clear this will shut down my laptop on board WiFi/Bluetooth card ..... leaving my WiFi dongle to operate without interference ????? ..... will this effect my Windows 10 operation or will my laptop card still work on Windows ..... I think it probably will as we are only "Blacklisting" it on Zorin .....

Next question if something goes south how to I reverse the blacklisted laptop card ?????

Would it be better for me to go back to Windows 10 and just disable the driver there ..... this dongle is supposed to work with Windows 10 also and it did if I remember correctly ....

Can you please show the output of sudo lshw -C network?

Just remove it from blacklist

An easier way though, may be for you to edit your /etc/network/interfaces file. Default, it should be blank.
In terminal, run ifconfig
Find your Wifi Card (Built in). On mine it is wlp5s0.
Whatever your is, replace mine from the example below with yours.
My example:
iface wlp5s0 inet manual
Yours may look like ``iface wlan0 inet manualor something else. Just use whatever was shown in yourifconfig`.

In your /etc/network/interfaces file, paste in your iface wlp5s0 inet manual with the wlp5s0 replaced with what you saw in ifconfig.

mike@mike-ROG-Strix-G731GT-G731GT:~$ sudo lshw -C network
[sudo] password for mike:
*-network
description: Wireless interface
product: Wireless-AC 9560 [Jefferson Peak]
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
logical name: wlo1
version: 10
serial: a0:51:0b:d0:10:6f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-52-generic firmware=46.4d093a30.0 9000-pu-b0-jf-b0- ip=192.168.1.141 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:a441c000-a441ffff
*-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:03:00.0
logical name: eno2
version: 15
serial: 04:d4:c4:77:ba:81
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-52-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:1.4
logical name: wlx90de802d8168
serial: 90:de:80:2d:81:68
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl88x2bu driverversion=5.15.0-52-generic multicast=yes wireless=unassociated
mike@mike-ROG-Strix-G731GT-G731GT:~$

mike@mike-ROG-Strix-G731GT-G731GT:~$ ifconfig
eno2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 04:d4:c4:77:ba:81 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 4470 bytes 410614 (410.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4470 bytes 410614 (410.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

nordlynx: flags=81<UP,POINTOPOINT,RUNNING> mtu 1420
inet 10.5.0.2 netmask 255.255.255.255 destination 10.5.0.2
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 1136614 bytes 1462733776 (1.4 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 353698 bytes 135240404 (135.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.141 netmask 255.255.255.0 broadcast 192.168.1.255
ether a0:51:0b:d0:10:6f txqueuelen 1000 (Ethernet)
RX packets 1144615 bytes 1511394243 (1.5 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 358204 bytes 160493273 (160.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlx90de802d8168: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 90:de:80:2d:81:68 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

mike@mike-ROG-Strix-G731GT-G731GT:~$

mike@mike-ROG-Strix-G731GT-G731GT:~$ /etc/network/interfaces
bash: /etc/network/interfaces: No such file or directory
mike@mike-ROG-Strix-G731GT-G731GT:~$

Then yours would be:
iface wlo1 inet manual

You need to specify an editor if calling a text file in terminal.

sudo nano /etc/network/interfaces

Or, you can do it with GUI

sudo -i

nemo

Tap the up arrow on the toolbar twice... Then double click /etc > then network and then open interfaces with your text editor. Don't forget to save after pasting in the content.

You can unload the module:

sudo modprobe -r rtl88x2bu

To blacklist, if you still need to:

sudo echo "blacklist rtw88_8822bu" > /etc/modprobe.d/rtw8822bu.conf

1 Like

Thank you sir .... take a break I'll tackle this a little later .... need some time to digest this and some other things I have started ..... plus it is time for my cookies & milk before my nap .... getting old can be fun .... :innocent: :grin:

Well I'm still here ..... is this correct ....

Now all I have to do is save it and exit ..... nothing else to do and now my WiFi card will be disabled ?????

Yes... Hopefully...

1 Like

Well I tried the photo I posted above and it sure did shut down my WiFi card but it also killed my internet .... so thankfully I made a copy of the commands above and was able to go back in and delete ..... iface wlo1 inet manual ..... cause I could get back to the board ....

So what did I do wrong .... my WiFi dongle is blinking every so often but not like it used to do when it was working before .....

Oh well ..... gone shut down and take a nap .... maybe it needs to rest .... I know I do .... :roll_eyes: :grin:

After that happened, did you try connecting using your Wifi Dongle?

1 Like

Yes .... it was already plugged in before I shut down my card .... I restarted the laptop and plugged and unplugged the dongle several times ... the dongle keeps blinking so I can't really tell if the card is working or the dongle is working .....

I think setting it to manual means you must enter network settings and manually connect that first time. Once you set it, it then remains that way instead of the system Auto-Detecting the built in wifi card.

Well...
You can try

sudo modprobe -r rtl88x2bu

next...