0

I have a new Ubuntu 20.04 server instance set up on Oracle.

The following all works:

  • can connect to web (firefox).
  • can ping a website (google.com).
  • have working script that runs API with exchange.
  • i can access google drive and download files (from web page).

So i believe there is a working connection.

However, when i try to connect to google drive via "online accounts" in "settings" i see that there is No internet connection - connect to set up new online accounts.

This is the exact screenshot:

enter image description here

I have been trying for 3 days now without success.

I have followed these posts:

None have been successful. And I am now totally stuck for what I can do.

So my question is, how can i get the internet connection working ?

darren
  • 101

1 Answers1

1

I had the same exact problem running Ubuntu 22.04 in UTM on a Macbook Pro with the M2 Max processor.

Like you, I tried this answer and it didn't quite do it for me.

It asks you to replace what's in your netplan yaml file. After that failed, I reverted back to the original file, and then followed the advice here.

Specifically:

edit your netplan yaml file created by the installer and just add the line renderer: NetworkManager

Here is what my /etc/netplan/00-installer-config.yaml looks like now:

# This is the network config written by 'subiquity'
network:
  ethernets:
    enp0s1:
      dhcp4: true
  version: 2
  renderer: NetworkManager

I just added that last line, as a sibling element to ethernets and version.

Then I ran:

sudo netplan generate
sudo netplan apply

Working internet connection in "Online Accounts"

I hope this helps people struggling to get Ubuntu to run in a virtual machine on Apple silicon.