On Wed, Feb 12, 2020 at 10:29:36PM +0100, [email protected] wrote:
> Is there a way to configure two wired connections. One for my home
> network (assigned-mac-address=permanent) and one for all other wired
> connections (assigned-mac-address=random) in a manner at which
> networkmanager autodetects if the wired connection is at my home
> network?

Hi Jaap,

Set one of connections as connection.autoconect=True, let's say
`other wired connections` is auto connect.

Then add a script in /etc/NetworkManager/dispatcher.d
to probe the network, if noticed(for example by checking connected
device, like dock, keyboard, mouse) its home, use `nmcli c up home`
to switch network connection.

>
> -- 
>
> Jaap van Wingerde
> e-mail: [email protected]

-- 
Gris Ge

Attachment: signature.asc
Description: PGP signature

_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to