an easy way to disable/enable wifi

F
florent posted Jul 20 '22, 16:00:

Hi,
Is there an easy way to disable/enable the wifi without needing a hdmi cable and keyboard.
The Wifi is messing with my guitar's wireless receiver, I'd like to disable it but I also want to be able to enable it if I need to edit my samples.
Accessing the micro sd card with a mac or a linux computer to disable or enable the wifi would be great.
Even better, I would like to have a switch connected to a gpio to enable/disable wifi

F
florent posted Jul 22 '22, 13:42:

Well I found a way to do it :
I inserted the micro SD card on a linux computer, remount in read and write and edit the /boot/config.txt and added :
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
and I can comment this section if I want the wifi back.

...

  (not published)
  I want to post as guest
 

Post