User Tools

Site Tools


ubuntu:networking:change_netplan_renderer_from_networkd_to_networkmanager

This is an old revision of the document!


Ubuntu - Networking - Change netplan renderer from networkd to NetworkManager

Netplan is a utility for easily configuring networking on a Linux-based system.

It supports both networkd and NetworkManager.

  • networkd is part of Systemd. In other word systemd-networkd used to manage network connections using Systemd.
  • NetworkManager is a GUI tool for configuring networking options.

The steps are:

  1. Open the Terminal window app
  2. Backup current config file using the cp command.
  3. Type the following command to edit your netplan config file
  4. Set renderer to NetworkManager
  5. Save and close the file
  6. Reboot the system

Make a backup

cp /etc/netplan/01-netcfg.yaml /backup/netplan/

Edit /etc/netplan/01-network-manager-all.yaml

/etc/netplan/01-network-manager-all.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  #renderer: networkd
  renderer: NetworkManager  
  ethernets:
    enp3s0:
      dhcp4: yes

NOTE: Notice that networkd is commented out with the hash in front.

Also notice that the renderer is set to NetworkManager.


Apply the update

sudo netplan apply
ubuntu/networking/change_netplan_renderer_from_networkd_to_networkmanager.1608601888.txt.gz ยท Last modified: 2020/12/22 01:51 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki