This question already has an answer here:

How do I delete my wifi driver or something else to permanently disable wifi?

I do not want to blacklist, or use security I want it deleted. I want to KEEP my wired networking.

Thanks

THIS IS NOT A DUPLICATE AS I WANT TO DELETE NOT DISABLE

share|improve this question

marked as duplicate by Sylvain Pineau, Eric Carvalho, chili555, Kaz Wolfe, Eliah Kagan Apr 2 '15 at 6:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
This is not a duplicate as I do not want it to be disabled in bios. I want to delete the driver. – user27815 Apr 2 '15 at 13:26
    
There are no drivers in Ubuntu, only modules in the kernel... To disable a module, black-list it as in one of the answers. The duplicate is to disable the wireless entirely... – Fabby Apr 2 '15 at 16:48
    
It must be possible to delete the module in the kernel? – user27815 Apr 3 '15 at 20:19

I would disable it in BIOS if possible or remove the wifi card from the computer

share|improve this answer
    
I can not remove the wireless and I dont want it to be disabled, I want it to be deleted so that is can not be re-enabled. . – user27815 Apr 2 '15 at 13:27

I believe the best method is to blacklist the driver because if you need to use it in the future you simply unblacklist it and you are back online.

Run this command and it will tell you the driver your device is using:

lspci -nnk | grep -iA2 net   

then run:

echo "blacklist driver name" | sudo tee -a /etc/modprobe.d/blacklist.conf

You put your devices driver name in the command were driver name is now. To unblacklist the driver run:

 sudo sed 's/blacklist driver name//' -i /etc/modprobe.d/blacklist.conf

please note that your driver name will not have any spaces in it.

share|improve this answer
    
As I said I do not want to blacklist. I want to delete it so that it can not be undone. – user27815 Apr 2 '15 at 13:29

You didn't tell anything about your hardware, but both my Dell and Lenovo laptops have a physical switch to enable/disable wifi :) That would be the easiest way.

share|improve this answer
    
I can not remove the wifi and there is no hardware switch. – user27815 Apr 2 '15 at 13:29

On my HP laptop (granted, it's a business laptop and I don't think a lot of consumer laptops have the second option I'm about to tell you about) I can disable wifi with a hardware switch and even remove the wifi module through a hatch in the bottom of the laptop just like the hard drive and ram can be removed or changed.

Usually wifi also can be disabled in the bios settings, so look for this if you can't physically remove any module. If you disable wifi in the bios settings, the OS and any software running on the OS can't do anything about it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.