Permanently disable wlan0 on raspberrypi running ubuntu 20
Ubuntu 20 seems to manage networking devices differently. All instructions on disabling wlan0 are tailored to Ubuntu 19 and earlier. I tried blacklisting 'wlan0' in modprobe.d, didn't work.
Following the same principle and dogma (everything changes, "panta rhei") as in the previous comment, please do the following on a raspberry pi 4, having Ubuntu 20.04 LTS.
Add these two lines in the file /boot/firmware/usercfg.txt and never edit the "config.txt".
dtoverlay=disable-wifi
dtoverlay=disable-bt
Figured it out! Edit /boot/firmware/usercfg.txt. add in
dtoverlay=disable-wifi
.save and reboot