connection missing in gui when created using nmcli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I create a new connection using nmcli the entry is missing in Network settings but exists in the popup. Also the name used to create the connection is not displayed. (see screenshots attached)
The commands used to create the connection are basically:
VPN_
VPN_
VPN_
VPN_
nmcli con add type vpn ifname -- con-name "\"$VPN_NAME\"" vpn-type openvpn
nmcli con mod "\"$VPN_NAME\"" connection.
nmcli con mod "\"$VPN_NAME\"" connection.
nmcli con mod "\"$VPN_NAME\"" vpn.data "port = 1195, proto-tcp = yes, ca = $VPN_CA, password-flags = 1, connection-type = password, remote = $VPN_REMOTE, username = $VPN_USERNAME"
nmcli con mod "\"$VPN_NAME\"" +ipv4.routes "192.168.50.0/24 0.0.0.0"
nmcli con mod "\"$VPN_NAME\"" +ipv4.routes "192.168.51.0/24 0.0.0.0"
nmcli con mod "\"$VPN_NAME\"" ipv4.never-default yes
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: network-
ProcVersionSign
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 4 19:40:41 2017
InstallationDate: Installed on 2017-10-03 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
SourcePackage: network-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: wayland-session |