Installing Ubuntu 20.04 LTS on a Raspberry Pi 4 (including Wifi)

This is a generic tutorial on how to install Ubuntu 20.04 LTS on a Raspberry Pi 4 including hooking it up to Wifi.

To give some context: the reason I wanted to set up the device is to run Gravio on it. Gravio is the IoT platform by Asteria Corporation, Japan. The vision of Gravio is to become an “Operating System for the Physical Space” by enabling everybody to create applications without any programming or software engineering knowledge.

Installing Ubuntu 20.04 LTS 64 bit on Raspberry Pi 4 (including setting up WiFi)

In order to get Gravio on the Raspberry Pi 4, we need to start with installing the 64 bit Ubuntu:

  1. Download the latest ARM 64 bit image from
version: 2
renderer: networkd
dhcp4: true
dhcp6: true
"<your network ESSID>":
password: "<your wifi password>"

7. Run sudo netplan try and accept the configuration

8. You should now be connected to the internet


  • Install net-tools by entering the command sudo apt install net-tools (you may have to reboot before doing so). This allows you to find out the IP address using the command ip -a or ifconfig so you can log in from another computer using SSH.
Raspberry Pi 4 and Gravio Dongle/Aqara Sensors

Installing Gravio HubKit on the Raspberry Pi4

Now, that you’re up and running with Ubuntu 20.04 LTS, it’s time to install Gravio:

  1. Log into your Raspberry Pi and download the latest arm64 bit Gravio HubKit deb file:

Now, reboot your Raspberry Pi and once it’s back, you will be able to connect to it using Gravio Studio.

Installing Gravio Studio on your PC/Mac and Creating a Gravio Account

Gravio Studio (Mac OS app, Windows app) is a free desktop app that is needed to configure the platform and put your IoT applications together. You can also subscribe to the sensor rental plan inside those apps if you like to rent hardware sensors.

After you have downloaded the application and started it, you will see a registration screen:

Sign up with your details and you will receive an e-mail with a code:

Now click on the + sign on the top right to add your Raspberry Edge node:

Now you can start configuring your node and build your applications.

Ordering Sensors

If you like to order sensors, you need a subscription. Please check availability in your country before you order sensors.

The sensors are rented on a monthly basis. You can stop the subscription at any time, in which case you will have to send the sensors back.

Upgrading to order sensors

Choose your subscription and follow your Operating System’s instructions on how to subscribe:

Once you are subscribed, you can visit and use the login button at the top right to log in and visit the ordering page:

Once ordered, Asteria will ship the sensors and the USB dongle to you, ready to connect.

For more information, have a look at or join the Gravio Slack Channel

Note: If you have a RPI4 with 4GB ram, you may run into the issue of the USB ports not working. To fix this, access your SD card on your computer and add the line


to the file


It will limit the memory usage to 3GB but at least USB will work. This is supposed to be a temporary fix until Ubuntu fixes the kernel.

Technology. Design. User Experience. IoT. Switzerland ~ London ~ Hong Kong

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store