How to Completely Disable Unused Connections?

I am using zorin OS 15.3 lite. I am having two network connections one is external network adapter and another is the inbuilt one. Since the inbuilt one is causing problems I have been using the external network adapter and I want to disable the unused network connection so that it won't show up while I click the network icon.


I want to disable the intel PRP/Wireless 3945ABG and I am using the MediaTek 802.11nWLAN

While I was using windows there was a option to disable it but I can't find it here.

Any idea?

Run

sudo ls -l /etc/NetworkManager/system-connections/

Check if intel PRP/Wireless 3945ABG is listed.
If so, run

sudo rm /etc/NetworkManager/system-connections/ (Name of intel PRP/Wireless 3945ABG as shown from the terminal output above)

1 Like

Thanks for the response, while I run the command

sudo ls -l /etc/NetworkManager/system-connections/

I get the following

total 28
-rw------- 1 root root 352 Sep 27 20:49 'Infinix Smart 2'
-rw------- 1 root root 379 Sep 26 13:56 'Infinix SMART 4 Plus'
-rw------- 1 root root 433 Sep 27 19:53 'Infinix SMART 4 Plus 1'
-rw------- 1 root root 363 Oct 6 18:18 JioFi2_EF4032
-rw------- 1 root root 342 Oct 4 21:52 MV48698437
-rw------- 1 root root 340 Oct 9 15:41 'vivo 1804'
-rw------- 1 root root 357 Oct 6 07:11 'Yuvanshyam 1'

These are the network connections I have used but It is not showing network adapter

1 Like

Sorry, I misunderstood.

You can blacklist the onboard wifi:

lspci

Find your onboard wifi adapter:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
03:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)

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

add blacklist (Your Wifi Adapter) to it. It may look like blacklist 3945ABG

ctrl+x to exit, y key to say yes to save, then the enter key to save as current configuration.
Reboot and test.

If it does not work, may need to adjust the intel wireless name on the blacklist. Since I do not use that card, I am not sure what the proper name should be.

2 Likes

Thanks,

2 Likes