Network preference is not sticking after reboot in ASL3

I WAS at a point where I WAS confident in deploying my new ASL3 configured node running on an RPI5 until last night I noticed that my router was reporting the node being in a different static IP I had assigned the node to be in. I assigned it a static ip using the ethernet port. I don’t want it using wifi whatsoever.

Apparently, even tho I have disabled wlan0 via cockpi, Networking>wlan0>toggled the swith to disable, it gets reenabled after boot up and the damn thing connects to the wifi!!!

How do I completely disable wifi?

Thanks again troops!

You can actually disable wifi at the kernel/driver level by using overlays on the rpi. This is what I do.
Use a text editor to open the file /boot/firmware/config.txt. Note that to edit this file you have to have superuser privileges, so use root or sudo to open the file.
Then add this line into the file

dtoverlay=disable-wifi

Save and exit the text editor, then reboot the device. After doing this you should only see eth0 in the interfaces list on cockpit. If you run ifconfig it should only show eth0 and lo.

There are other ways of disabling it as well, but if you never plan on using the wifi I think this is the way to go.