Disabling
-
2. Looking up Card Name
First, identify your Built-in Adapter Name
So first, possibly disable the Plugged-in USB Wifi Dongle.
Then simply play:ifconfig | grep wl
The grep Command refine the output List showing only the Entries matching the Keyword.
-
3. Discovering Wireless Driver
Now to find out the Wireless Kernel Module in use
Run:readlink /sys/class/net/wlan0/device/driver
Possibly replace “wlan0” with the identifier found in the former step.
-
4. Disabling Wifi Adapter
Finally, to Turn Off Wireless Interface
Unload the Kernel Module with:sudo modprobe -r [MYMOD]
Replace with the current one in the above Command.
So for instance:sudo modprobe -r wl
Finally, to make the change permanent then Blacklist it editing:
sudo nano /etc/modprobe.d/blacklist.conf
And appending the blacklisted Network Interface Module like:
blacklist wl
Ctrl+x to Save & Exit from nano Editor.
Contents