SUMMARY *** Should Network Manager prefer wired over Wi-Fi? *** STEPS TO REPRODUCE 1. Plug in Ethernet Cable, Boot Computer with known Wi-Fi 2. Hover over the Network Manager wired icon in my tray OBSERVED RESULT It says that I am connected to BOTH: - Wired Ethernet: Connected to Wired connection 1 - Wi-FI: Connected to <ssid> Double-checking, I go to System Settings > Connections, and see both Wired Ethernet and Wi-Fi show connected there also. EXPECTED RESULT I would have expected the wired connection to take precedence, but maybe this is working as designed? SOFTWARE/OS VERSIONS Operating System: Kubuntu 23.04 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.6 Kernel Version: 5.19.0-21-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX Graphics Manufacturer: Apple Inc. Product Name: MacBookPro14,3 System Version: 1.0
In the #kubuntu IRC channel, I was told that this is the expected behavior. So it is clearly not a bug. Could it be a wishlist instead to prefer wired over Wi-Fi?
>It says that I am connected to BOTH: That is expected. You can have multiple subnets, different IPs and all sorts of combinations. >. Could it be a wishlist instead to prefer wired over Wi-Fi? We don't know there's an issue to fix yet. I imagine NetworkManager does something sane. "route" in a terminal will show you which interface it prefers for "default". If that's not the expected one, we can look at what options NetworkManager provides that we can surface. Note you do have the "autoconnect-priority" available in the settings, though I suspect that's not entirely relevant here.
$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 100 0 0 enx00e04c682192 default _gateway 0.0.0.0 UG 600 0 0 wlp3s0 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx00e04c682192 192.168.68.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00e04c682192 192.168.68.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
Informative Reddit Discussion: https://www.reddit.com/r/kde/comments/120lb1a/why_does_kde_network_manager_connects_to_both_my/
Bulk transfer as requested in T17796