Glam Prestige Journal

Bright entertainment trends with youth appeal.

I've just installed ubuntu 20.04 on an arm64 machine. To set the static IP address I searched the web and found . But my ubuntu server doesn't have /etc/netplan directory. So I figured out I should install netplan first by doing

apt-get install netplan.io 

Then I made file /etc/netplan/01-netcfg.yaml

network: version: 2 renderer: networkd ethernets: eth0: dhcp4: no addresses: - 129.254.132.23/24 gateway4: 129.254.132.1 nameservers: addresses: [8.8.8.8, 1.1.1.1]

And this is the result when I tried to apply the setting.

root@(none):/etc# netplan apply
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: stop
Running in chroot, ignoring request.
Running in chroot, ignoring request: start

(My another ubuntu 20.04 machine has the settings in /etc/netplan/01-network-manager-all.yaml. Should I use the same file name?)

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy