Skip to content

missing netplan config (eth0 cant connect on bionic) #169

@fczuardi

Description

@fczuardi

I have just flashed a rock64 with the bionic minimal 0.6.33 and after booting there is no network on eth0. Pinging 8.8.8.8 will error with Network is unreachable

Then I went to check the file at /etc/network/interfaces and the contents were:

# ifupdown has been replaced by netplan(5) on this system.  See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
#    sudo apt install ifupdown

And then I looked into the /etc/netplan and it was empty.

So, apparently Ubuntu is migrating to this https://netplan.io/ thing, and indeed, creating a /etc/netplan/config.yaml file with the contents of that website brought the network up on the next reboot:

network:
  version: 2
  renderer: NetworkManager

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions