Disable WiFi on Octoprint
edit /boot/config.txt and add this line to the top of the file
dtoverlay=pi3-disable-wifi
If you also want to disable bluetooth, add this line as well:
dtoverlay=pi3-disable-bt
https://github.com/guysoft/OctoPi/issues/481