On Tue, 2015-05-26 at 15:51 +0200, Jean-Christian de Rivaz wrote: > Le 26. 05. 15 08:34, Thomas Haller a écrit : > > On Tue, 2015-05-26 at 00:37 +0200, Jean-Christian de Rivaz wrote: > > but > > NetworkManager only allow to configure a connection for a fixed device. > > this is not correct. > > > > Just leave "connection.interface-name" unspecified, for example via: > > > > $ nmcli connection modify NAME connection.interface-name "" > > > > > > and check it with > > > > $ nmcli connection show NAME > > > > > > Thanks Thomas for this trick. > > I have redacted this /etc/NetworkManager/system-connections/gsm1 file: > -------------------------------------------------------------------- > [connection] > id=gsm1 > uuid=f5e7b733-beea-4fcb-b213-b2dfcbd61073 > type=gsm > timestamp=1432623762 > > [gsm] > number=*99# > apn=<redacted> > > [ipv6] > method=auto > > [ipv4] > method=auto > -------------------------------------------------------------------- > And it work as expected after a 'nmcli connection reload'. > > For my curiosity, where this is documented ?
The meanings of the properties are documented in man nm-settings On recent NM versions there is also man nm-settings-keyfile (which has some further details when you edit the config-file directly). You ~can~ edit the files by hand, followed by nmcli connection reload or nmcli connection load /etc/NetworkManager/system-connections/gsm1 alternatively, you can use nmcli. See also `man nmcli` and `man nmcli-examples`. Thomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list