After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780323 - 'nmcli con add' requires incorrect options for GSM connections
'nmcli con add' requires incorrect options for GSM connections
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: nmcli
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-03-20 18:45 UTC by Dan Williams
Modified: 2020-11-12 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Williams 2017-03-20 18:45:28 UTC
$ nmcli con add type gsm con-name "My WWAN" gsm.apn epc.tmobile.com
Error: 'ifname' argument is required.

Requiring an ifname doesn't make sense for WWAN at all, since the interface names will often change, even more than network interfaces.  Can we exclude certain connection types from OPTION_REQD for ifname?

$ nmcli --ask con add type gsm con-name "My WWAN" gsm.apn epc.tmobile.com
Interface name [*]: 
There are 2 optional settings for GSM mobile broadband connection.
Do you want to provide them? (yes/no) [yes] n
There are 2 optional settings for IPv4 protocol.
Do you want to provide them? (yes/no) [yes] n
There are 2 optional settings for IPv6 protocol.
Do you want to provide them? (yes/no) [yes] n
There are 4 optional settings for Proxy.
Do you want to provide them? (yes/no) [yes] n
Error: Failed to add 'My WWAN' connection: proxy: unknown setting name

This is also odd; we probably shouldn't fail creating a connection just because some proxy stuff couldn't be handled, that perhaps the user doesn't want.
Comment 1 André Klapper 2020-11-12 14:33:09 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).