Re: Configure a connection for a gsm with dynamic ttyACMx



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 ?

Regards,
Jean-Christian




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