Deactivate wifi permanently

I have installed Freedombox on a raspberry pi4. I have disabled the wifi interface via plinth, but it keeps reactivating itself. I now have tried clicking on the trash icon next to it. Is that sufficient to deactivate wifi permanently? I don’t want it to be ever on again.

If you black list the kernel module then the device will not be activated at all.

I have the same issue on my Pi4. We might need to open a Salsa issue for this.

I think that network manager starts setting up that device because there is no static configuration in etc/network/interfaces. You could do a device configuration there as well, but the Wi-Fi would still be somewhat configured to not be used.

What is the underlying issue? Not being a pi owner why would you choose no Wi-Fi?

What can you do with it in Cockpit today? Maybe you could effect the change you need in there.

I don’t want any wifi on my local network, I use ethernet cables.

I have a wifi routeur (WNDR-3800 running libreCMC) but it is a separate network and mostly not used.

I was wondering if this was a pi thing. See if you can blacklist the Wi-Fi kernel module from cockpit, then you will not have a Wi-Fi device until you manually load the module.

Debian wiki has an entry for this.

Look at the fake install where you direct the kernel to /bin/true.

The kernel detects the hardware and wants to load the module to support that, but you configure it to use true which does nothing successfully then the hardware device never becomes accessible for the os and won’t be used or usable. It just won’t be there unless you go looking for it with lspci