Score:0

Ubuntu 20.04 Server Connect to your data in the cloud: No internet connection

sl flag
D.L

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 ?

Organic Marble avatar
us flag
Do you have a desktop installed on your server? How did you do that - specifics. You may not have installed everything needed to get "Online Accounts" working.
D.L avatar
sl flag
D.L
@OrganicMarble, yes, i do have a desktop installed. I followed the Oracle instruction when setting up the instance and selected the Ubuntu 20.04 version. What more am i supposed to do from this point or how can i fix it ? (if it is broken).
uz flag
Jos
Restarting the network manager can't do any harm: `sudo systemctl restart NetworkManager`.
D.L avatar
sl flag
D.L
@Jos, thanks, i tried that, (it was actually suggested in links 1 and 3). i also tried restarting the entire system twice `sudo reboot now` with other attempts. I believe that i am now looking for an expert to resolve this (assuming it is possible to).
uz flag
Jos
There is a page with debugging hints [here](https://wiki.gnome.org/Projects/GnomeOnlineAccounts/Debugging).
D.L avatar
sl flag
D.L
@Jos: Appreciated, i have tried a few of those, but i am new to linux (Ubuntu) and might create more damage to the Oracle server than good by guessing.
Score:0
ws flag

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.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.