Hello,
I am currently running pihole just fine via wifi on a raspberry zero w (no lan by default), I decided to switch to a lan connection, and figured the easiest way to do this is to use an adapter (usb -> ethernet).
So my setup is headless and I ssh into it,
ifconfig gives me wlan0, lo and eth0, I ran sudo ifconfig eth0 up
to turn eth connection on
and then tried the naive approach and ran sudo ifconfig wlan0 down
, whicht then killed my ssh.
The pi was only available after restarting it, which I guess turned wlan0 back on.
So I guess there is more to do to switch the connection type successfully but I could not find any information about it.
If you have any suggestions, thanks in advance!