Re: NetworkManager, Avahi, WiFi v Wired priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/27/2018 02:31 PM, Chris Murphy wrote:
Hi,

Summary: What I want is, for a Fedora 28 Server (Intel NUC) to always
prefer using wired connection if available, and fallback on wifi; not
just for outgoing connections but also when I do 'ssh
chris@f28s.local'. There is one AP/router that serves both wired and
wireless connections and both server and workstation.

Hi,

maybe turn off wifi when wired is up using script from:

https://wiki.archlinux.org/index.php/NetworkManager#Mounting_of_NFS_shares

regards,

Gabriel
Out of the box this doesn't happen. So first questions are: should it
work out of the box? can it be made to work? and if so what do I need
to modify to make it work as described?


What I've learned so far:

1.
nmclic c show <connection uuid>

connection.autoconnect-priority should be higher on the preferred connection.

https://developer.gnome.org/NetworkManager/stable/nm-settings.html

So I've picked a value of 1 for wired and 0 for wifi. That should mean
if I make an outgoing connection, it should always prefer wired. And
yet 'netstat -natp' shows this is not true, sometimes it's using the
wired path sometimes the wireless path, and I can't tell what the
pattern is. If any.

2.
If I 'scp <fileonworkstation> chris@f28s.local:/tmp' I more often than
not get clearly wifi speeds (and a connection check confirms it's
using the wifi ip), but sometimes it's wired. Again, I can't figure
out the pattern.

3.
If I disconnect the wired connection, yes everything is
deterministically wifi haha. But if I connect wired back in, the first
X connections (or maybe it's Y time) are always only wifi and not
wired. If I restart avahi manually, it becomes wired.

Sooooo that means avahi might be playing a role here, it has no way of
defining preferred connection though that I can tell. But I don't know
anything about multicast and whether it can specify more than one
address for a host name, and with preference based on the
NetworkManager connection priority?

Thanks,

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux