Akrai
29 June 2020 12:49
30
@Akrai
Amazing, that is indeed a great setup, would you like to copy he instructions to tutorials? DietPi Community Forum - Welcome to the DietPi OS Community Forum
I’m still thinking if we should implement it with ifplugd as well or go with an own implementation so that ifplugd is not occupied and can still be used for other purpose. But its great to have a working solution.
Done
I wanted to use my raspberry 4 connected with ethernet and sometimes bring it to the tv where there is no ethernet cable and i have to use WLAN. In order to do it reliably and automatically, emulating what you get in desktop computers like a laptop, which disconnects to wifi when connected to ethernet and connects to wifi when there is no ethernet connected, i used ifplugd. Also, using this method you can have both interfaces with the same static ip, which may or may not work but it is up to you…
I don’t want to try and enable the wifi monitor for reconnecting yet, is it safe in this setup? does the monitor keeps running when ethernet is connected, for example?