How to view config on Ubuntu
Ensure you have a text editor like nano
installed. If not sure, enter sudo apt update && sudo apt install nano
For ubuntu systems, the network config is stored in a file located in /etc/netplan
Execute the following commands
cd /etc/netplan
ls
- There must be a file similar to
00-installer-config.yaml
- Open that file using
nano 00-installer-config.yaml
You can set static IP Addresses here, or you can leave it as it is for dhcp.