Questions tagged [ubuntu]
Ubuntu is a Linux operating system derived from the Debian distribution.
586 questions
2
votes
1
answer
258
views
Raspberry Pi Imager for Standard User
I am helping design a lab at school where the students of the class will image their own Raspberry Pis. Right now there are only 20 students in the pilot class, but I will soon need to scale this to ~...
0
votes
1
answer
1k
views
SSH into Raspberry Pi Running Ubuntu 22.04 Server LTS
I managed to flash Ubuntu 22.04 LTS Server on a 32 GB SD card using RasPi Imager where I also configured my WLAN. I then connect the RasPi's Micro USB to the USB port of my Linux machine and I was ...
1
vote
0
answers
131
views
SD card slow on raspberry pi 3b, identical card is fast on nanopi r4s [closed]
I have a Raspberry Pi 3B and a NanoPi r4s. I bought identical SD cards for them -- high endurance cards by Gigastone. The rpi is running Ubuntu Server 22.10 and the nanopi is running Armbian 22.11.1....
1
vote
0
answers
107
views
Rasberry Pi 4 Nextcloud Sever goes down and stops responding to SSH after a while ping still works
My Rasberry Pi 4 running my Nextcloud Server sometimes just stops responding to everything except pings after a while, force rebooting it (disconnecting and reconnecting the power) temporarily fixes ...
1
vote
0
answers
20
views
Remember site permissions
I have a javascript page on a website that needs access to a USB port on the PI.
When I open the page I can grant permission to the site to access the USB port.
But the browser does not remember that ...
1
vote
0
answers
38
views
wine: cannot find L"/home/lubuntu/.wine/drive_c/windows/Neko"
I am an unexperienced Linux user. I am trying to run an exe file in wine on live usb lubuntu 22.04 The problem is that when I try to run it from terminal by pasting the destination along with the ...
0
votes
2
answers
169
views
pin state after shutdown
i am on Ubuntu 20.04 on RPI4.
I am driving a 4 PWM motor driver using PWM on pins 22,23,26,27.
When i turn off the raspberry, the driver being still powered, go off.
I suppose some of this pins change ...
0
votes
1
answer
325
views
How to connect to rpi 4 without home network via Wifi adapter
I have a Rpi 4 (Ubuntu 20.04.5) and a desktop (Windows 11).
On the desktop, I have a wifi adapter.
How can connect to RPI via ssh without wifi home network? I don't need the RPI to have access to the ...
0
votes
0
answers
173
views
Getting a "error creating userdata cloudinit file on FAT partition" on Rpi Imager while writing ubuntu server
trying to write a UBUNTU SERVER 22.04.01 for a raspberry PI 400 but it is always giving this error regardless of what SD card I use.
Steps:
Launch Rpi Imager
Select General OS -> Ubuntu -> ...
0
votes
0
answers
268
views
Why can my Pi not "detect" my 3D printer, but my laptop can?
Printer mainboard: BTT SKR mini E3 V3.0 running klipper firmware
https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3
Long story short, I accidentally powered on my 3D printer while unplugging the ...
0
votes
0
answers
222
views
Unable to connect more than one device on raspberry pi 4 hotspot
I am trying to configure raspberry pi wifi module as AP and client at the same time on same wlan0 interface using Access point as WiFi router/repeater, optional with bridge this tutorial, the problem ...
0
votes
0
answers
147
views
Internet connection problem with second (USB to) Ethernet adapter
we have Raspberry Pi CM4 with Ubuntu. On board ethernet adapter (eth0) is connected to internet and USB to ethernet adapter (eth1) connected a device with a static ip.
When we plug the eth1 internet ...
1
vote
1
answer
4k
views
Change netplan wifi encrypted password
I installed ubuntu using "Raspberry Pi Imager" in my raspberry pi.
Using Raspberry Pi Imager, I configured wifi to connect with.
Now after properly booting, when I check in my raspberry pi /...
1
vote
0
answers
329
views
What actions modify u-boot environment variables?
Update 2022-10-11: Regarding the Adafruit Ultimate GPS HAT, in Ubuntu 22.04 LTS it works right out of the box on a Raspberry Pi 4. Maybe using Ubuntu 22.04 LTS on a Raspberry Pi 3 also has the same ...
0
votes
1
answer
517
views
How is Ubuntu "64-bit ARM" offered for Pi 2?
Canonical offers Ubuntu for "64-bit ARM" and gives "Pi 2" as an example of a compatible platform. Raspberrypi.com says the Pi 2 is "32 bit".
How does that work?
1
vote
1
answer
2k
views
Setup Static IP on headless Raspberry PI 4 with Ubuntu Desktop 22.04.1 LTS using configuration files on boot partition only
Problem:
I'm installing Ubuntu on Raspberry Pi for my robots, headless setup, only power and ethernet/wifi.
I'm cycling through images quickly, it's tedious to always be using a DHCP, make first ...
0
votes
1
answer
310
views
32 bit Ubuntu Server 22.04 LTS lower GPU Memory
I have a raspberry pi 2 with ubuntu sever installed and need to know how to lower the gpu settings from 64 megs to 16 megs.
Ubuntu Server does not come with raspi-config installed.
1
vote
0
answers
394
views
On Raspberry Pi 4 with Ubuntu 22.04 don't work ioctl
I have Raspberry Pi 4 (aarch64 Cortex-A72) with OS Ubuntu 22.04 LTS 64-bit installed. I try read frame from webcam.
When I run this code:
if (ioctl(fd, VIDIOC_DQBUF, &buf) < 0) {
std::cout &...
2
votes
3
answers
2k
views
UART usage with Ubuntu PI3 Model B
Can someone tell me the steps what I need to do tu get a serial communication to work?
I have a raspberry pi 3 model b rev 1.1 with Ubuntu Server 20.04. I need to communicate with a sensor via serial ...
2
votes
1
answer
274
views
Rpi0-2 USB, 32-bit works, 64-bit only lists root hub
I have a Raspberry Pi Zero 2W, which I purchased because it is 64-bit and small.
When I run a 32-bit OS like Raspbian on it, everything works.
When I run a 64-bit OS like Ubuntu 22.04 Server arm64, it ...
1
vote
1
answer
1k
views
Cannot set up I2C running on Ubuntu (transfer timed out)
I have a Raspberry Pi 4 with 8 GB RAM running Ubuntu 22.04 LTS. It is packed in an Argon One case.
I'm trying to use a Waveshare BME280 Temperature/Pressure sensor that I already used before on a ...
1
vote
0
answers
220
views
Can't get wifi adapter MT7601U to work on ubuntu server 22.04 for raspberry pi 4
I bought this generic wifi adapter which has MT7601U wifi chip inside it, it doesn’t work on my Ubuntu server 22.04 OS
But the adapter works fine out of the box on my twisterOS installation
Am i ...
0
votes
0
answers
116
views
Can a RPi be network booted with an NFS other than NFSv3?
Please excuse me if I am asking this question in the wrong place: I'm trying to network boot Ubuntu 22.04 on a Raspberry Pi 4B, and I'm not entirely clear where Raspberry ends and Ubuntu begins :-)
...
0
votes
2
answers
4k
views
Makefile file format not recognized when using cross compiler
I setup a container to cross compile my program so taht i can run it on a Raspberry Pi.
It compiles fine when using ${CC} but prints:
/usr/bin/arm-linux-gnueabihf-gcc -o test main.o CAcquireData.o ...
2
votes
0
answers
2k
views
Ubuntu 22.04 POE+ hat fan control - seeking updated guidance
I recently updated to 64-bit 22.04 Server on a Headless Raspberry Pi 4B 8Gb model with a POE+ hat, and the fan speed control on the POE+ hat seems to have changed. Searching Google/forums only shows ...
1
vote
1
answer
461
views
Ubuntu minimal desktop installation on ubuntu server fails
I have a Raspberry PI running ubuntu server 22.04. Now I wanted to install a desktop environment with the following command:
sudo apt install ubuntu-desktop-minimal
But then I get these errors:
E: ...
0
votes
0
answers
112
views
Weird artifacting results in green gibberish on some applications but everything else is fine?
I've seen the following corruption before on programs usually on Raspberry Pi, but it's doing it again and I'd at least like to know the cause. This is Ubuntu 20.04 on a Raspberry pi 4, 4GB edition. I'...
0
votes
0
answers
2k
views
How to get Wifi working an Raspberry PI 4 with Ubuntu Server 20.04 for ARM
Short story
PI is not connecting via Wifi. Errors of systemd-journal below:
journalctl -n
ubuntu kernel: ieee80211 phy0: brcmf_cfg80211_scan: scan error (-84)
ubuntu wpa_supplicant[573]: wlan0: CTRL-...
3
votes
2
answers
5k
views
How do I reset the lost password of a Pi 4 running Ubuntu server?
I would like to reset the password of my raspberry pi 4 4gb running Ubuntu server 20.04, most tutorials involve adding init=/bin/sh to cmdline.txt, however when I do this I get a kernel panic.
Roughly ...
0
votes
0
answers
626
views
Cannot connect to Internet with USB Tethering Raspberry Pi 4
I am using a Raspberry Pi 4, which is connected to my workstation with a usb cable.
The goal is to be able to access the internet through the Pi4.
I can already connect to the Pi 4 through SSH, but ...
0
votes
1
answer
767
views
Corrupted SD Card
currently having a problem with rpi running ubuntu server. The rpi was disconnected without shutting it down, resulting in an error when trying to boot up after the disconnection.
I hooked it up to ...
0
votes
0
answers
244
views
How to determine which device is being used for the display
I have a Pi4 running Raspbian OS with an LCD touchscreen display attached. I am not using X so no desktop is shown. The display appears as /dev/fb0 and I want to use this in a kiosk manner (with code ...
1
vote
1
answer
3k
views
How to solve ''"Failed to load image Python extension: {e}"? [closed]
I tried to use yolov5 on my raspberry pi for image detection. But whenever I tried using the raspberry pi camera this error message popped up with 'AssertionError: 1/1: 0... Failed to open 0'
I am ...
0
votes
0
answers
517
views
How to controlling a mouse with a joystick and button using python, gpiozero
I am trying to use the GPIO pins from my raspy berry pi to control my mouse
I have a joystick connected to these gpio pins
pin 24 - mouse up
pin 25 - mouse down
pin 5 - mouse left
pin 6 - mouse right
...
0
votes
2
answers
171
views
Raspberry pi imager return 404 while flashing OS in SD Card
I have a Raspberry Pi 400 4GB with Ubuntu Server 21.10 64-bit OS installed.
I decided to install ubuntu server again because I broke the OS so I decided to reinstall the OS using Pi Imager utility ...
1
vote
1
answer
5k
views
How do you disable IPv6 on RPi4 permanently on Ubuntu 20.04 on RPi4B+?
I've been wrestling with sysctl to get it to keep iPv6 disabled and find it works fine if I set it up like so:
$ cat /etc/sysctl.d/10-ipv6-off.conf
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf....
0
votes
0
answers
24
views
What distros work with/for raspberry pi [duplicate]
I was just wondering if literally any linux distro will work on raspberry pi for only Linux distro that are (for/made for) the raspberry pi
Any help is much appreciated
-1
votes
1
answer
1k
views
NameError: name 'I2C' is not defined (Raspberry Pi 4 Model B - Ubuntu 18.04 - adafruit_lidarlite)
I am getting an issue while trying to use the library "adafruit_circuitpython_lidarlite".
Below are the details of my environment:
1- Distributor ID: Ubuntu (ubuntu-18.04.5-preinstalled-...
0
votes
3
answers
367
views
Additional i2c_gpio is not detected on Ubuntu Server 20.04 / RPi Zero 2 W / A+
I'm trying to enable the second (GPIO-based i2c) on RPi Zero 2 W, Ubuntu server 20.04 to connect the following sensor. Note that the primary i2c pins are physically occupied as RPi is used as a hat ...
0
votes
2
answers
508
views
GPIO pin 7 and 8 pull-up resistors and DToverlay
I was using raspbian on my RPI4 till now, but decided that I dont need GUI and would be nice to try Ubuntu Server.
All fine and dandy, but Cannot for the love of god set pins 7 and 8 to low on boot, I ...
0
votes
0
answers
773
views
Cannot find name of my network interface card on Ubuntu 20.04
I Ubuntu 20.04 Desktop OS running on Raspberry Pi 4. I have connected a printer to the Pi's ethernet port, and I have troubles in assigning a static IP using netplan. The problem is I cannot find the ...
0
votes
0
answers
26
views
Monitor turns blank when installing ubuntu on RBP4
need advice!
I am trying to install ubuntu20.04 64-bit server on RBP4 8G with 32G microSD.
I followed installation instructions mentioned on the raspberry official website, i.e.
Installed Raspberry ...
1
vote
2
answers
616
views
Spidev missing?
New member (Pete) here, and I have delayed seeking help from a forum for the first month of my efforts with Pi, figuring I might in some ways remember things better if I work through the learning ...
0
votes
2
answers
222
views
SSH to/from Raspberry PI to/from ubuntu machine
I have configured SSH on my Raspberry Pi 4 to only accept public-private key authentication. I am successfully able to SSH from a Window's 11 machine to the Pi.
First thing that I did was create an ...
0
votes
0
answers
117
views
How to install DTBs overlays on Ubuntu Сore 20?
How to enable PWM device? There is no /sys/class/pwm/ devices. I did not find dts compiler or overlay config. Point to documentation of enabling GPIO devices: hardware pwm, spi, i2c etc.
0
votes
1
answer
846
views
How to make a raspberry pi a remote desktop controlled with normal pc running ubuntu?
I have a raspberry pi 4b and a normal full-size pc by dell. The big pc has ubuntu on it, and the pi has raspbery pi os bullseye. I want to make the raspberry pi be a remote desktop that can be ...
-1
votes
1
answer
1k
views
how to edit /boot/config.txt from the .img.xz file?
i have installed ubuntu-21.10-preinstalled-desktop-arm64+raspi.img.xz. is it possible to edit /boot/config.txt from the file itself so that we need not boot into the pi and then edit the config.txt ...
0
votes
1
answer
1k
views
Ubuntu Core & Raspberry Pi Zero 2 W
I'm trying to run Ubuntu Core 20 on Raspberry Pi Zero 2 W.
According to Install Ubuntu on RPi this should work without a problem when using the 32bit version. Or with 64bit version using following ...
0
votes
1
answer
192
views
Ubuntu on Pi Zero 2W Wifi not listed
I can't figure how to setup a Wifi connection on my pi zero 2, running on Ubuntu server 21.
I tried many different things and here the results:
Raspbian lite: everything works fine
Ubuntu server: can ...
1
vote
0
answers
271
views
Properly chrooting and unmounting on external USB drive
I found multiple guides how to correctly chroot into an arm64 system. In my example I am working with the 21.10 Ubuntu arm image for raspbian pi. I am wondering what is the "best" and most ...