I installed Ubuntu 20.04 some days ago. Most things work very fine.
But if I am connected via LAN, I get the warning again and again that WiFi can't connect.
This does not make sense.
If I have LAN, then I don't need WiFi.
Of course I can disable it by hand, but an automation which works be default would be fine.
What can I do to solve this?
from manpage of Ubuntu for
nmcli-examples
https://manpages.ubuntu.com/manpages/focal/man7/nmcli-examples.7.html Example 14. there is a script to make Ethernet and Wi-Fi mutually exclusiveMake the new script executable:
chmod a+rx /etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh