On Tue, Aug 28, 2018 at 8:09 PM Gabriel Ramirez <gabriello.rami...@gmail.com> wrote:
> 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 > If you're lucky there's sometimes an option in laptop BIOSes to turn off WiFi if the wired connection has link. Not sure if a NUC would have that, but it might be worth a look. Thomas > > 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@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > 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@lists.fedoraproject.org >
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org