Page 1 of 1
Disable WiFI when Ethernet Active
Posted: Mon Feb 17, 2020 11:51 pm
by N4NQY
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
Re: Disable WiFI when Ethernet Active
Posted: Sun Feb 23, 2020 4:05 am
by N4NQY
Thanks. No disrespect, but I have similar code but was suggesting that the image come with it baked in.
jb N4NQY
Re: Disable WiFI when Ethernet Active
Posted: Sun Feb 23, 2020 7:27 pm
by KN2TOD
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
Posted: Mon Feb 24, 2020 11:10 am
by KN2TOD
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.