User Tools

Site Tools


ubuntu:networking:change_netplan_renderer_from_networkd_to_networkmanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:networking:change_netplan_renderer_from_networkd_to_networkmanager [2020/12/22 01:51] – created peterubuntu:networking:change_netplan_renderer_from_networkd_to_networkmanager [2020/12/22 02:01] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - Networking - Change netplan renderer from networkd to NetworkManager ====== 
- 
-**[[https://netplan.io/|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: 
- 
-  - Open the Terminal window app 
-  - Backup current config file using the cp command. 
-  - Type the following command to edit your netplan config file 
-  - Set renderer to NetworkManager 
-  - Save and close the file 
-  - Reboot the system 
- 
----- 
- 
-===== Make a backup ===== 
- 
-<code bash> 
-cp /etc/netplan/01-netcfg.yaml /backup/netplan/ 
-</code> 
- 
----- 
- 
-Edit /etc/netplan/01-network-manager-all.yaml 
- 
-<file 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 
-</file>       
- 
-<WRAP info> 
-**NOTE:**  Notice that **networkd** is commented out with the hash in front. 
- 
-Also notice that the renderer is set to **NetworkManager**. 
- 
-</WRAP> 
- 
----- 
- 
-===== Apply the update ===== 
- 
-<code bash> 
-sudo netplan apply 
-</code> 
- 
- 
  
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