TSU2.
I understand. Many of my “users” do not have the advantage of your knowledge.
In such situations, I ask myself “what would a reasonable person who does not have my inside knowledge expect the behaviour to be?”.
If I have two possibilities to connect to the network, I expect you to choose the “best” one. What you choose, I can maybe disagree with but choose one. Not both!
What I would want is that if you see a cable, use it. If you don’t and there is wifi, use that. If I then give you a cable, disable the wifi and use the cable. This is what I get when I “manually” do it via ifupd.
Network Manager has flaws.
Consider that I used the dispatcher script linked to by Deano. I am not a typical user so I am OK with putting my fingers in the pie. Other users are not.
The dispatcher script that I used courtesy of Deano does not give the required behaviour I think is reasonable. I found this on further testing.
If the last state of the box was that a cable connection was in use but I now boot the box without the cable, Network Manager insists on having a cable present. It shows an angry red cross on top of a cable connection icon and it marks its “Enable Wireless” button greyed out. Pressed, it tells me that the wireless is disabled by hardware.
My wifi on/off switch is on and glowing with a blue light. Am I confused? **** straight I am. What you tell me doesn’t fit what I see. Even if I turn the switch off and on again, the story doesn’t change.
“rfkill list” shows me that the wifi is “up”. Why does Network Manager insist that it is off? BUG. Network Manager is clearly unable to determine the current state.
If I issue an “rfkill unblock wifi” (to a wifi that rfkill list tells me has no block). Network Manager wakes up and marks its “Enable Wireless” button. If I click it, the wireless interface is brought up. So right there, I lose the “seamless, just works” argument.
In a past life, I engaged with some of the Apple folks. They have a point and we should listen!
The dialogue surely has to start with "What do I see with the hardware? Does Network Manager keep some file somewhere that it defines as the known universe?
Drop it!
Look at what is there in front of you and follow something like " Is the cable in? Yes, bring it up and use it. No? is there a wifi? Yes, bring it up. No? Oh bugger! no networking right now."
Deano gave me a link to get on the mailing list of the NM group. It told me my email was blocked. Hmmm. I have no idea why so I sent a msg to the admin.