I searched and did not see a post referencing this.
It would be very nice to "down" WiFI when an Ethernet cable is plugged in and recognized by the network. Most of my Hotspots are Pi3 or 4's and I have 2 connections active for each.
jb N4NQY
Disable WiFI when Ethernet Active
Re: Disable WiFI when Ethernet Active
Thanks. No disrespect, but I have similar code but was suggesting that the image come with it baked in.
jb N4NQY
jb N4NQY
Re: Disable WiFI when Ethernet Active
Curious: I implemented the code sequence suggested above but it's still broadcasting a wifi connection even though it connects to my ethernet. The "wlan0" connection is indeed down, but there's a "wlan0_ap" connection that's still outstanding. Should it also be shut down?
Re: Disable WiFI when Ethernet Active
So, that means the code sequence you provided doesn't actually shut off wifi access - it only shuts down the one named AP (wlan0), leaving two connections still showing: one for the ethernet and one for wlan0_ap.