Questions tagged [ubuntu]

Ubuntu is a Linux operating system derived from the Debian distribution.

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

I cannot locate /var/lib/mlocate.db

I have Ubuntu 22.04.2 LTS installed on my Raspberry Pi and I try to locate the file /var/lib/mlocate.db but I cannot find it. I installed locate package. It's because I'm doing an online course from ...
1 vote
0 answers
22 views

Cubic Ubuntu virtual environment not working

When I try using Cubic Ubuntu to make a custom image of Ubuntu, I put in the ISO file, rename some things here and there, and click next. After it copies some stuff and does its thing, it tries to ...
1 vote
1 answer
49 views

DS18B20 not showing up Pi 400

I have a raspberry pi 400 running ubuntu server. I have a DS18B20 with a 4.7k resistor connected from the power to the data wire. I boot up the pi and run the sudo modprobe w1-gpio and sudo modprobe ...
  • 34
1 vote
0 answers
61 views

RPi Camera V2 not detected with Raspberry Pi4 running Ubuntu 20.05 LTS

I am running into a problem in which I am unable to have my Pi detect my new RPi Camera V2. I am running on Ubuntu 20.04 LTS (focal) since I am working on a robotics project that requires ROS2(foxy). ...
1 vote
0 answers
64 views

BOOT Error: end Kernel panic - not syncing: No working init found. Try passing init= option to kernel

I did sudo halt and then power off the raspberry pi, then power off. And the next time I power on the pi, I can't boot the system anymore, and got this error. I successfully run the commands fsck -y /...
2 votes
1 answer
71 views

Raspberry Pi 4B Ubuntu 22.10 Bluetooth scan successful but fail to pair

My mouse stopped working a few days ago and is unable to work since then. I tried but fail to pair it again through either Terminal or Settings > Bluetooth. The Bluetooth right now is able to ...
  • 121
1 vote
1 answer
97 views

How to install Ubuntu Desktop 22.04.1 LTS on external SSD? [duplicate]

I downloaded Ubuntu Desktop 22.04.1 LTS from https://ubuntu.com/download/raspberry-pi and copied image to external SSD using Raspberry Pi Imager. When I power Raspberry Pi 4 (2GB), I see rainbow and ...
1 vote
0 answers
48 views

Sense hat IMU not working on Ubuntu 22.10

I am trying to use the Sense Hat with Ubuntu 22.10, and I've installed the Python SenseHat library. The matrix display is working, but not the IMU. What I've diagnosed so far: $ groups joachim ...
2 votes
1 answer
48 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
122 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 ...
  • 169
1 vote
0 answers
52 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....
  • 111
1 vote
0 answers
25 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
16 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 ...
  • 11
0 votes
0 answers
74 views

Configure the Pi 4 as an access point with a 40 MHz channel (135 Mbps) on Ubuntu

When setting up a 5 GHz access point in Raspberry Pi OS on a Pi 4, using the proper hostapd configuration, I can successfully connect a 802.11n client with a solid speed of 135 Mbps. When creating a 5 ...
  • 175
0 votes
0 answers
24 views

How to get official ubuntu 18.04.05 image to work on RasPi 400?

I am trying to flash the DOWNLOAD LINK REMOVED to a rasberry pi 400. However, the device does not detect any boot images. I understand that the image version is for raspi 4. However, due to a shortage,...
1 vote
0 answers
25 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
65 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 ...
1 vote
1 answer
102 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
1 answer
200 views

Raspberry Pi Pico not mounting

My raspberry pi pico has been (auto) mounting fine so far but suddenly it has stopped doing so. More specifically, when I was plugging it into the usb port (pushing down BOOTSEL) of an Ubuntu machine (...
0 votes
0 answers
42 views

RM502Q-AE 5G HAT for Raspberry Pi (waveshare)

I've been experimenting with the cellular hat from Waveshare, and I'm curious if anyone knows whether the cellular module will utilize 4G/3G automatically if 5G is not available. Additionally, there ...
0 votes
0 answers
100 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
108 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
65 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
58 views

PPP connection via null modem cable

I am trying to establish a ppp communication link via null modem cable between two raspberry pis. Both have ubuntu server 22.04.1 LTS running. When I run the pppd command, the link is established, ...
  • 1
0 votes
0 answers
47 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 ...
0 votes
1 answer
524 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 /...
  • 103
1 vote
0 answers
90 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 ...
  • 143
0 votes
1 answer
128 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?
  • 175
1 vote
1 answer
180 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
0 answers
65 views

openmediavault with rapberrypi4 web gui is logging me out

I wanted to make a Nas server with a raspberrypi4, everything seems normal. I installed OMV with the steps found here No errors while installation, and when I get to the webGui I try to login with the ...
  • 21
0 votes
1 answer
123 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
0 votes
0 answers
199 views

RPi CM4 not booting Ubuntu 22.10 from USB (2.0)

I'm having trouble getting started with my Raspberry Pi 4 Compute Module with 32G eMMC Storage. It's installed on the RPi Compute Module IO board so USB booting is a little different for it (no USB3) ...
1 vote
1 answer
232 views

Wifi power management keeps turning on - Raspberry Pi 400, running Ubuntu Server

I have tried every option I could find, but no matter what I try, after rebooting my Raspberry Pi 400 running Ubuntu Server 22.04 the WiFi power management feature resets to ON, meaning the WiFi goes ...
  • 11
1 vote
0 answers
74 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 &...
  • 111
0 votes
0 answers
137 views

Partitioning Disk and Filesystem setup on Ubuntu Images using cloud-init

According to the cloud-init documentation using the user-data configuration one may be able to partition the disk, see cloud-init's Cloud Config Documentation as well as setup up mount points. I have ...
  • 1,501
1 vote
2 answers
453 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
98 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 ...
2 votes
2 answers
75 views

Can't find Ip of raspberry Pi board

I want to connect locally Raspberry Pi 4 model B via ethernet with GUI. I go with this instructions: https://howchoo.com/pi/find-your-raspberry-pis-ip-address. But command sudo nmap -sn 192.168.1.0/24 ...
0 votes
0 answers
31 views

Raspberry crashes after loading configs on boot

I have a problem with the RaspberryPi. On a 128GB microsd I flashed Ubuntu Server 22.04 LTS (rpi Zero 2/3/4/400). The writing and validation of the microsd by the program Raspberry Pi Imager v1.7.2 ...
0 votes
1 answer
372 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 ...
  • 133
1 vote
0 answers
118 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
48 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
0 answers
184 views

Ubuntu server could not get clk: -517 on boot

I have a Raspberry Pi 4 8gb running ubuntu server 20.04, having the root partition through usb to a 1Tb ssd. And recently when booting the system, it displays this error: [ 1.313819] spi-bcm2835 ...
0 votes
2 answers
992 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 ...
1 vote
1 answer
219 views

RaspberryPi security, Bios settings, ubuntu secure boot. 2fa u2fa hacking

Do I have to enter operatingsystem in order to access BIOS settings on a raspberry pi? I am thinking about installing ubuntu on a raspberrypi and I see that linux has equvalent to windows 10 safemode. ...
1 vote
0 answers
761 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 ...
0 votes
0 answers
21 views

Ubuntu 20.04 XFCE shows incomplete windows

Using my Raspberry Pi (Model 4 with 8GiB of 2020) works fine, although it is considerably slower than my (older) Android phone, a OnePlus 6. But the slowness is not the issue. I installed Ubuntu 20.04 ...
0 votes
0 answers
220 views

Hardware PWM not working in Ubuntu 20.04

I'm running Ubuntu 20.04 on an RPI 3b. I need both Hardware PWM channels. I added the following line to /boot/config.txt and /boot/firmware/usercfg.txt: dtoverlay=pwm-2chan,pin=18,func=5,pin2=13,func2=...
  • 113
1 vote
1 answer
254 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
46 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'...

1
2 3 4 5
12