Questions tagged [raspberrypi]
A very-small, single-board computer. Use this tag only for questions about interoperability between Raspberry Pi and Ubuntu; general questions about Raspberry Pi belong on raspberrypi.stackexchange.com.
1,195
questions
86
votes
12
answers
233k
views
How can I burn a Raspberry Pi image to SD card from Ubuntu?
I'm sure this must be fairly simple but can't find it here.
How does one go from having a blank SD card to having an SD card that boots a Raspi?
77
votes
3
answers
218k
views
How to cross compile for ARM?
How do I set up GCC for cross compiling for the ARM processor? The host would be on x86_64 ( AMD64 - Ubuntu 12.04 ) and the target would be ARM (Raspberry Pi as well as Pandaboard - will do separate ...
64
votes
6
answers
93k
views
Can a Raspberry Pi run Ubuntu?
I was thinking about buying a Raspberry Pi, and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out ...
62
votes
2
answers
45k
views
Does Ubuntu work on a Raspberry Pi Zero v1?
A new super-cheap version of the Raspberry Pi was recently announced. I'd like to stuff these all over my house doing cool nonsense.
My question is, will I be able to use Ubuntu on them?
51
votes
4
answers
53k
views
apt update throws signature error in Ubuntu 20.04 container on arm
I am trying to build Raspberry Pi docker images but I am always having the same error, similar to this one, this one and this one.
While running the command apt update as root in a arm32v7/ubuntu:20....
37
votes
2
answers
75k
views
How do I remove an incomplete or broken snap installation of nextcloud on a Raspberry Pi?
First the caveat: I understand that this question involves Mate and a Raspberry Pi so if you consider it outside the realm of this forum just ignore it. But on the chance that it may be helpful or ...
30
votes
2
answers
189k
views
Ubuntu server default password using Raspberry Pi image?
I've just installed Ubuntu Server on my Raspberry Pi 2 B and the download page says that the default username and password are both "ubuntu", but the system says that the password is incorrect. What's ...
24
votes
3
answers
89k
views
Files in /etc/network/interfaces.d ignored, but not /etc/network/interfaces itself
For Ubuntu 16.04 LTS (GNU/Linux 3.10.96-113 armv7l)
When I have the following, my static configuration is ignored:
/etc/network/interfaces
source-directory /etc/network/interfaces.d
/etc/network/...
23
votes
7
answers
110k
views
How do I use an .img.xz file or get an .img file from it?
I have a file with an xz extension, ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz. How do you get the .img out of it?
My goal is to flash the file on an SD card. I want to use www.etcher.io I ...
21
votes
5
answers
91k
views
How to use onboard wifi on Raspberry Pi 3 with Ubuntu Server 16.04?
I have a Raspberry Pi 3 and I need to run Ubuntu on it. I put the 16.04 server image for the Raspberry Pi 3 from https://wiki.ubuntu.com/ARM/RaspberryPi on a microSD card and it boots fine, and works ...
17
votes
3
answers
38k
views
How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server with 'netplan'?
How to setup of Raspberry Pi 3 B+ onboard WiFi for Ubuntu Server 18.04? In particular, with netplan?
Existing answers, such as "How to use onboard wifi on Raspberry Pi 3 with Ubuntu Server 16.04?", ...
17
votes
1
answer
29k
views
"Failed to check for processor microcode upgrades" at the end of apt-get. How can I fix this?
I am using Ubuntu 21.04 Server on Raspberry Pi 4 (4GB RAM)
When I use apt to install a package, I get some messages at the end that I don't remember getting on my PC:
Processing triggers for man-db (2....
16
votes
3
answers
5k
views
Is there a way for MaaS to Commission a Raspberry Pi 3B?
I have a small lab (literally) of 3 RBP-3B units with SATA and SD drives attached running Ubuntu 16.04 LTS. I have installed software on them to create a Ceph cluster but its tricky and pretty ...
15
votes
1
answer
7k
views
What is Snapcraft?
I've been trying snappy Ubuntu core on a Raspberry Pi 2 device, and I've heard I can use Snapcraft to do development on it. Now I hear that snaps are available on the desktop and server for Ubuntu 16....
15
votes
3
answers
26k
views
How to install Ubuntu on the Raspberry Pi 3?
What's the best way to install Ubuntu on a Raspberry Pi 3? I'm finding a few inconsistent links and guides.
I first found this page, and I installed the ubuntu-16.04-preinstalled-server-armhf+raspi3....
14
votes
2
answers
6k
views
How to install Snappy Ubuntu Core without a keyboard
I bought a raspberry pi 3 to use as a server, and only after getting part way through the Ubuntu Core installation instructions did I realise that I actually don't own a USB keyboard... (we're a ...
13
votes
5
answers
53k
views
Can you install Ubuntu on the Raspberry Pi 4
I was wondering if you could install Ubuntu on the RPi 4 because on Ubuntu's official guide, it said it's only available for the 2 and 3. Would the edition for the Raspberry Pi 3 work on the RPi 4?
12
votes
10
answers
19k
views
Raspberry Pi 4 Ubuntu 19.10 cannot enable cgroup memory at boostrap
On a Raspberry Pi 4, on a vanilla downloaded 19.10 image of Ubuntu 19 arm64, I failed trying to enable cgroup memory, needed for Kubernetes.
I created (because I don't understand well the real one, I ...
12
votes
4
answers
50k
views
Remote Desktop - RDP blank screen and aborts after disconnect
Attention: I scrolled through a lot of questions and didn't find an answer, please don't mark this as duplicate! A similar question is already here, but sadly it didn't receive any answers.
I'm ...
12
votes
1
answer
19k
views
GPIO on raspberry pi
I am running ubuntu on a raspberry pi and I cannot figure out how to activate the GPIO pins. I am trying to activate a python script with a button press.
Here is my script:
import RPi.GPIO as GPIO
...
11
votes
2
answers
26k
views
Changing the DNS servers Ubuntu Server 20.04 - Arm64 (Raspi)
I am running Ubuntu server 20.04 on a Raspberry Pi 4 and I am having difficulty updating the DNS entry in resolv.conf. resolv.conf points to the nameserver 127.0.0.53; however, I disabled the systemd-...
11
votes
4
answers
18k
views
LUKS Disk Encryption on Raspberry Pi 4 and Ubuntu Desktop 20.10
Using the pre-installed Ubuntu Desktop 20.10 disk image for the Raspberry Pi 4 (64-bit ARM), you do not get an option to encrypt the disk using LUKS when you install the system, as you do with the x86 ...
10
votes
1
answer
16k
views
"ffi.h: No such file or directory" while trying to install docker-compose on Raspberry Pi
I'm trying to install docker-compose on Ubuntu 20.04 (ARM Rasberry PI 4).
But when I follow official guide on Docker Documentation, I can't use standard route as there is no version on GitHub for ...
10
votes
3
answers
19k
views
How to connect wifi network from raspberry pi 2 (snappy)
I've set up new raspberry pi 2 with snappy core.
And I couldn't find how to connect wifi network from snappy terminal.
My wifi dongle working correctly but there is no iwconfig in snappy core.
Wlist ...
9
votes
4
answers
15k
views
Installing Steam on Raspberry Pi 4
I am having trouble opening the Steam client after I have already installed it. I am using a Raspberry Pi 4 running Ubuntu 20.10 64-bit. I have installed Steam directly from their website. When I try ...
9
votes
5
answers
18k
views
Why can't Ubuntu access my Raspberry Pi across LAN?
Okay, I recently got a Raspberry Pi, and I got it connected to my Wi-Fi - I enabled the SSH and installed Hiawatha, and I could access it just fine from my Desktop, which was running Puppy Linux at ...
8
votes
3
answers
3k
views
Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version
How can I find what chip I have (what version of raspberry pi) with Ubuntu 18.04 server for arm64? What file can I check or what command can I run? /proc/cpuinfo does not have useful information, just ...
8
votes
4
answers
3k
views
Raspberry: "do-release-upgrade" thinks 'Jammy Jellyfish' is still in development
I wish to upgrade my Raspberry to Jammy Jellyfish. It was released yesterday and announced in news.
But on my machine it still shows that's beta release!
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
...
8
votes
8
answers
40k
views
How to enable exFAT for Ubuntu 20.04
Today I installed a fresh copy of Ubuntu 20.04 (GNU/Linux 5.4.0-1008-raspi aarch64) on my Raspberry PI, and I know that exFAT should be supported by the 5.4 kernel, but whenever I try to mount an ...
8
votes
1
answer
1k
views
Pi 4 B does not use its dot local address
My Pi 4 B is not using the .local address I have set it up to use. I would like to connect my Pi across the network using its .local address (such as pie.local). I am really just interested in ...
8
votes
2
answers
11k
views
RPI4 Ubuntu 19.10 64bit Temperature Monitoring
I am wondering if there is a way to view the CPU temperature of the RPI4 when running Ubuntu server 19.10 64-bit. I have tried using the lm-sensors package however it seems that the CPU is not yet ...
8
votes
2
answers
7k
views
Networking - Shared to other Computers - How to find a client's IP address?
The hardware is like this:
Laptop with internet access via WiFi. The router is practically inaccessible.
Headless Banana/Raspberry/Your-Favorite-Flavor Pi that needs an SD image and some additional ...
8
votes
1
answer
3k
views
Can I use Ubuntu One on the Raspberry Pi?
I am an Ubuntu One user on multiple platforms and want to know if there is a way I can use Ubuntu One with my Raspberry Pi?
8
votes
3
answers
14k
views
Raspberry Pi: Filesystem writes files, but after reboot the old data is back
Okay this is a really weird problem occurring on two raspberry pi systems with their respective 8GB SD memory cards:
Simple example:
When I write files to the disk, it looks like the files are ...
8
votes
3
answers
14k
views
How to cross-compile programs for the Raspberry Pi with gcc?
I am fond of using gcc to compile small little C and C++ programs on my main computer. However, I also have a Raspberry Pi, and, being a 700-MHz single-core computer, I would prefer to not have to do ...
8
votes
2
answers
129k
views
Service isc-dhcp-server fails to start
I'm currently working on a project of making an highly secured router with my RaspberryPi to navigate anonymously on the net. Yet, I'm not able to correctly configurate the daemon to finalise the wifi ...
8
votes
1
answer
7k
views
How to run a Pi camera on Raspberry Pi 4 running Ubuntu focal?
I am trying to launch my Pi camera, but keep failing every time.
I have tried to execute the commands raspistill, raspivid and picamera, but they don't seem to work.
Previously, I added start_x=1 to ...
7
votes
1
answer
2k
views
How to submit a bug report to Ubuntu about Raspberry Pi5 fan speed? [closed]
Fan speed control does not work on Ubuntu 23.10 due to they are using an old bcm2712-rpi-5-b.dtb file.
That updated file is present in the raspberry repo
https://github.com/raspberrypi/firmware/blob/...
7
votes
1
answer
17k
views
Headless Ubuntu MATE Raspberry Pi 3 Install?
I'm trying to use my fresh Ubuntu MATE 16.04 Raspberry Pi 3 without a display or keyboard. So I created an empty file called ssh in /boot directory. But still I'm getting a ssh connection refused ...
7
votes
1
answer
8k
views
What is the purpose of cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1
I am trying to setup a kubernetes cluster on a raspberry pi cluster using Ubuntu 20.04.3. In many online guides available, one of the steps is mentioned as follows:
Edit the /boot/firmware/cmdline.txt ...
7
votes
1
answer
4k
views
Run nmcli as unprivileged user
I wrote a Python program to switch WiFi connections via the Network Manager dbus interface, which (I believe) is basically equivalent to the nmcli command-line tool. The script (and nmcli) work ...
6
votes
1
answer
2k
views
Why are some commands like "apt" missing on Raspberry Pi 3 Model B with Ubuntu Core 20?
I have Ubuntu Core 20 installed on a Raspberry Pi 3 Model B, but the commands that I am trying keep failing. Commands that I have tried: locate, apt, apt-get, dpkg, lsb_release, and more, but they all ...
6
votes
3
answers
24k
views
Connect raspberry pi 4 with ubuntu server to wifi
I have a Raspberry Pi 4.
As I do not have a screen and keyboard available, I connect it through an Ethernet cable.
I want the Raspberry Pi to be connected to the Wi-Fi and not via Ethernet.
I tried to ...
6
votes
3
answers
14k
views
error while installing RPi.GPIO as "ERROR: Command errored out with exit status 1:"
i was trying to install rpi.gpio on raspberry pi 4 with ubuntu 20.10 desktop
as follows
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-pip python-dev
it gave as
note, selecting '...
6
votes
3
answers
16k
views
Is Ubuntu 20.04 desktop for raspberry pi 4 no longer available?
I tried to install Ubuntu 20.04 desktop on my Raspberry Pi 4, but the ISO image is not found on the official website.
https://ubuntu.com/download/raspberry-pi
Is this image unavailable already ?
6
votes
3
answers
16k
views
Bluetooth not working on Raspberry Pi (Ubuntu 20.04)
I have installed Ubuntu 20.04 LTS successful on a Raspberry Pi 4.
However I cannot get the Bluetooth to work. In settings it says no Bluetooth found - plug in a dongle to use.
I have an identical ...
6
votes
1
answer
20k
views
How to sudo git clone and safely change permission to another user
On Raspberry Pi, I log in as the default user Pi.
I do a sudo git clone on a repository, because it needs to create directories.
This is specific for DNU/DNX, because we cannot run sudo dnu restore ...
6
votes
1
answer
5k
views
SSH "Too many authentication failures" when trying to connect from Ubuntu to Raspberry Pi
When I try to ssh from my Ubuntu Desktop to Raspberry pi, It throws the error "Too many authentication failures" and dies, and does not prompt me for the password
6
votes
2
answers
2k
views
Upgrading Raspberry Pi from Ubuntu 21.10
I have a Raspberry Pi running Ubuntu 21.10, which I recently learned is EOL. No worries, I'll just upgrade to the next version (which, happily enough, is an LTS release)... or so I thought...
I'd ...
6
votes
1
answer
11k
views
Easiest way to add a GUI to a Python code?
I'm planning out a Raspberry Pi project, and I want to make it very easy to use. My dad will be using it, and I'd like for it to be usable without having to interact with the terminal. I just want a ...