1

I imported L2TP/IPsec VPN connection configuration file from Ubuntu mate 20.04 /etc/NetworkManager/system-connections/ to Ubuntu server 20.04 Next, on the Ubuntu server 20.04 PC, I check the nmcli connection "sudo nmcli con" in response I get an "empty field" How to solve this problem? enter image description here

epx
  • 31
  • 5

1 Answers1

1

Problem solved. I switched to Network-Manager in Netplan.

Since 17.10 Ubuntu Server, the Netplan utility has been used to manage the network configuration.

So, create this file:

/etc/netplan/00-enable-network-manager.yaml

And put this content and save:

network:
  version: 2
  renderer: NetworkManager

Then disable the default configuration:

cd /etc/netplan
sudo mv 00-installer-config.yaml 00-installer-config.yaml.bak

It may need a restart of the NetworkManager service or maybe a reboot.

IMPORTANT: before doing so, be sure that you have physical access to the server, since it may be not reachable after this change.

Valerio Bozz
  • 229
  • 2
  • 11
epx
  • 31
  • 5