Skip to main content

Questions tagged [raspberry-pi]

Low-cost single-board computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Debian OS retain drive APM if I set it with smartctl?

I am working on a Raspberry Pi device which has a Debian Linux installed. Does this OS have any program installed in it by default that keeps the drive APM value I set with smartctl, even after ...
Marus Gradinaru's user avatar
0 votes
0 answers
15 views

Using xorg.conf creating 2 x servers?

So I have 2 displaylink displays, each shows as a framebuffer device, fb0, and fb1. I am using raspberry pi os, and it will show on one display, but the other is blank, however if I move the cursor ...
Peterdagrape's user avatar
0 votes
0 answers
37 views

Strange behaviour probably related to time syncing

I have a raspberry pi running Raspbian bullseye. On it, I have a software installed that does the following every 30 seconds: logs data to a mariadb database publishes the data via a rest api ...
ununoctium's user avatar
2 votes
4 answers
822 views

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

Today, I was working with my Raspberry Pi 4 with Debian 12 Bookworm, and I found it odd, that some system text files, namely I needed these two: /sys/firmware/devicetree/base/model /sys/firmware/...
Vlastimil Burián's user avatar
-1 votes
0 answers
20 views

Curl on Raspberry Pi cannot reach CloudFlare worker

Apologies in advance, I have limited technical knowledge. I have a Rapsberry Pi in a remote location that uploads an image to CloudFlare via a script that runs every 5-min. The upload is done via a ...
foilandwater's user avatar
0 votes
2 answers
33 views

Ubuntu Server disk cloning + saving on another disk in network

This my first question here and bear with me if some info is missing. So, i have this technical problem: I have a Ubuntu Server installed on a Raspberry Pi 4 Model B ( so on ARM ) and i need to do a ...
Adrian's user avatar
  • 1
1 vote
1 answer
24 views

Pi Zero Cross Compilation Floating Point Specification

I am trying to cross compile a go project (syzkaller) to target a Pi Zero so it can emulate usb devices. The problem is that I have been unable to find information regarding how to specify the proper ...
Darrion Ramos's user avatar
2 votes
1 answer
82 views

Cannot set LC_* to default locale: No such file or directory

I just got my Raspberry Pi 4B 8GB installed with Debian 12 Bookworm, made WiFi, SSH, etc working as I wanted to, but I often get locale errors like with tasksel command: root@rpi4:~# tasksel perl: ...
Vlastimil Burián's user avatar
0 votes
1 answer
36 views

Systemd fails to restart a Python script with exit(0)

I have a working python script and systemd service script. But somehow it is not working the way I wanted it. The python script prints time every 5s but stops with exit(0) at first second of a minute. ...
Mainland's user avatar
  • 105
0 votes
1 answer
39 views

Access files from bootable ssd on another machine

I have a raspberry pi (3b), which runs Ubuntu Server on an ssd enclosed in a usb case. A couple days ago it just stopped working (i.e. I get the red led lit up, but can't see terminal when I connect ...
prohi the magnificent's user avatar
0 votes
1 answer
77 views

Redirect output to file but never create empty file

Is there a way to redirect output of a command that never stops to a file but only create the file once the command actually produces output? Here is what I have so far: target=logs/$(date +%Y%m%dT%H%...
Joooeey's user avatar
  • 123
1 vote
0 answers
37 views

Trying to set up self signed certificates on other devices

To keep it short. I have a web server running (lighttpd on my Raspberry Pi), I want to be able to HTTPS to this IP from another device (PC - arch). For this I am trying to just use self-signed ...
arizona525's user avatar
0 votes
0 answers
33 views

how to stop linger getting enabled

I have no idea why anybody thought "linger" was a good idea but I spend all my time, when setting up systems, turning it off. On a Raspberry pi (bookworm) I recently had need to do: # ...
GraemeV's user avatar
  • 178
3 votes
5 answers
100 views

Raspbery (Ubuntu install) running server UI server - how to access?

I have an Raspbery pie installed with ubuntu server, running Prefect. When I use my personal pc, I can get Prefect to run and start up an UI server: >>> prefect server start Check out the ...
nammerkage's user avatar
0 votes
0 answers
20 views

Why do kernel-core and raspberrypi2-kernel4 packages in Rocky Linux repository "latest" have different kernel versions?

I'm using Rocky Linux on a Raspberry Pi, and I noticed that the kernel-core and raspberrypi2-kernel4 packages have different kernel versions. Here's the output from my system: # uname -a Linux rocky9 ...
NevilleDNZ's user avatar
0 votes
1 answer
101 views

Raspberry-Pi 5 cron job not execute the command after reboot [duplicate]

I have newly Raspi 5, and I want to execute one .sh file to open Firefox after reboot. I didn't see any error in cron status! But the file not run after reboot. The file can run manually bash ...
M.Saeed's user avatar
0 votes
0 answers
47 views

Missing header files for linux development

I am new to linux development and I want to develop a linux module, but I am running into an issue. Some header files, notably <linux/init.h>, are missing (/not found) I am currently using ...
Dennis Solomon's user avatar
0 votes
0 answers
6 views

e4defrag on Raspian cannot run?

Trying this on: $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.13 (stretch) Release: 9.13 Codename: stretch $ uname -a Linux ...
sdbbs's user avatar
  • 480
0 votes
0 answers
16 views

Is it possible to prevent usb udev automount from the boot partition on raspberry pi os (i.e. cmdline.txt, firstrun.sh etc)

I would like to prevent an SSD drive from being automounted prior to first boot. I.e. by perhaps running something from cmdline.txt or firstun.sh. I'm happy for it to either prevent mounting of a ...
user3068970's user avatar
2 votes
0 answers
68 views

Running chromium on Rpi5 using Yocto

I have a Raspberry Pi 5. I want to get chromium to run on it. I want to build Linux via Yocto. I'm using the Kirkstone branch of Yocto. My local.conf relating to chromium IMAGE_INSTALL:append = " ...
Matt Ellen's user avatar
0 votes
0 answers
34 views

How to use initramfs on raspberrypi cm4

base info board:rpi cm4 img:core-image-base-xx.wic.bz, build by yocto add u-boot(version:2022.01) support; add Initial RAM filesystem and RAM disk (initramfs/initrd) support initramfs:...
user24949766's user avatar
0 votes
0 answers
51 views

Error occured during the signature verification on Raspberry Pi

I want to set up a smb server at home using my raspberry and I can't get it to download properly, so I tried running sudo apt-get update but following error occured: W: Failed to fetch http://deb....
fob's user avatar
  • 1
0 votes
1 answer
42 views

apt update: repository regolith-linux does not have a Release file

Good morning, I am running Raspberry Pi OS (Debian 11 bullseye) on my Raspberry Pi 400. I have the window manager i3wm installed. Here's my problem: As soon as I try to run sudo apt update the ...
Martin's user avatar
  • 3
0 votes
0 answers
24 views

How do I recover disk/system that won't boot with "device offline", "I/O error"?

This is from a Raspberry Pi 4 that, until last night, was running as a Plex server. It suddenly died last night, couldn't connect via SSH. I tried rebooting manually (headless) hoping that helped. It ...
WSC's user avatar
  • 113
1 vote
1 answer
289 views

Configure two network cards persistently

I have two NICs and want to set the system up so the second one is the main/default one. First one is a 1Gb unit and its built into. The second one which is a 2.5gb NIC is attached over USB3, this ...
Arelius's user avatar
  • 73
0 votes
0 answers
32 views

How to enable Bluetooth on the Raspberry Pi 3B with Void Linux?

I have a RPI 3B with Void Linux, I've searched a lot on Google how to enable Bluetooth, but I can't find solutions.... Here are the things I have already done: Followed to the letter the indications ...
Jamil Gomez's user avatar
0 votes
0 answers
14 views

Unexpected behaviour on RaspberryPi OS lite (Debian based )

I was building a custom image and started with the lite version and installed lxde on top as well as other things to run a .NET server and chromium browser... But here is the thing, I keep getting ...
Ernest Dujo's user avatar
0 votes
0 answers
9 views

Why DO I get Hazed Screen while remote desktop in Linux?

I have a Rasberry pi 4 with rasberry pi os 64 bit. I usually use that as remote desktop for some purpose. I fresh flashed my sd card and installed xdrp,xfce4(desktop env) but whenever I open my ...
Ryno's user avatar
  • 13
0 votes
1 answer
58 views

ssh fails only when multiple arguments are stored in a string

I am writing a bash script on Raspberry Pi OS (based on Debian 12 Bookworm). The script tries to do something like ssh "$args" "$user"@"$ip" 'command' From what I have ...
jitter's user avatar
  • 5
3 votes
1 answer
386 views

Piping live sound from raspberry pi to macOS

I want to pipe and live play the sound recorded on my raspberry to my MacBook. I've tried the following: On My raspberry: I tried to establish a data stream on a port 3333 arecord -D plughw:3,0 -f ...
zahntheo's user avatar
0 votes
2 answers
24 views

How to read a pin state on a Raspberry Pi and select (either/or) between two entries in a cron file?

So I built an MLB scoreboard with a RPI 3. Right now the display can either show my favorite teams playing, OR all the teams playing and cycle through them as they are going on. I would like to add a ...
Joe Schmo's user avatar
-5 votes
1 answer
121 views

How to uninstall a package from Debian backports (not a duplicate Q)

I know there are a few Questions here which ask the same question I appear to be asking. I have tried those suggestions 1 & 2, but they do not work in this case. Here's what has happened: pi@...
Seamus's user avatar
  • 3,087
0 votes
0 answers
174 views

Remote desktop into RPi with XRDP, immediately exiting upon successful login

I am running the latest version of XRDP, and RPi software. Some of the things I have tried: -logging in with another user (same issue) -logging out of all accounts and trying to login via remote ...
Luke Lopez's user avatar
0 votes
1 answer
186 views

Why does Wireguard break my internet access when I run wg-quick up wg0

Im trying to use my raspberry pi as a wireguard server. When connecting my raspberry Pi to my router via Ethernet cable, my router assigns pi to ip 192.168.1.35 Ive confirmed the pi receives internet ...
Rachel1983's user avatar
3 votes
0 answers
71 views

All non-Bash commands freeze the system after booting

Recently, my Raspberry Pi running Raspberry Pi OS seemed to have stopped working suddenly after having continouosly run fine for 2+ months (headless mode), as it didn't respond to SSH login requests ...
Pixelcode's user avatar
  • 131
0 votes
1 answer
70 views

Error loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory

I want to transfer a software written in 2016 that is actively running on Raspberry 2 to Raspberry 5. In this migration process, I copied all the files to RP5. However, when I run it on RP5, my other ...
Emir's user avatar
  • 1
0 votes
0 answers
21 views

PyQt5 How to ignoriere /dev/input/eventX events and only use one specific event device?

I have some issues with my PyQt5 GUI running on my Raspberry Pi. I sometimes need to plug in a USB Audio card into my raspberry pi while operating the GUI. When I touch the screen while plugging/...
manintree's user avatar
2 votes
1 answer
46 views

Plugging in an external DVD drive causes ls, sudo, new SSH connections refused.... what happened?

Title says it all. But I plugged in an external DVD drive into my Raspberry Pi running Raspbian. It says its Linux compatible However when I actually plug it into the device. Everything goes wrong in ...
CalebK's user avatar
  • 121
1 vote
1 answer
57 views

SSH hangs/disconnects unless using `-v` option

I have a raspberry pi setup. When connected over ethernet ssh sometimes hangs, but generally works. When connected over wifi ssh is extremely choppy (8/10 connections fail, if I connect it drops ...
scosman's user avatar
  • 111
0 votes
0 answers
20 views

Build Debian Kernel Package from particular commit with modified configuration

So far I figured how to build the kernel (I think) from the fork from particular commit as Raspbian OS .deb package. It's more less: Clone the fork, switch to commit I want Populate debian content ...
Michał F's user avatar
  • 291
0 votes
0 answers
24 views

"Failed to set ISR" on Raspberry PI 4

I'm trying to execute a compiled software on a Raspberry PI 4. When I execute it, I see this error message: Failed to set ISR : No such file or directory Has anyone come across this message? I did ...
Lee Changwoo's user avatar
0 votes
1 answer
140 views

configure raspberry pi as multicast server and host

I have a network setup that I want to use to research igmp. I have two routers and a switch, three raspberry pis are connected to the switch with different ip address subnets. I have already ...
uche9260's user avatar
-3 votes
1 answer
51 views

trying to run rasberry pi on qemu says -redir invalid option

I am trying to run Rasberry Pi on qemu but it says -redir invalid option. Here's my command: qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial ...
AGH's user avatar
  • 1
0 votes
0 answers
18 views

Keystrokes buffering on Neovim when rotating the screen with xrandr on Raspberry Pi OS Bookworm

I got a very odd behaviour on a niche configuration. I'm using Raspberry Pi OS Lite Bookworm on a Raspberry Pi Zero 2. I've configured X11 with Qtile as a Windows manager, Alacritty as terminal and ...
Steuv's user avatar
  • 1
0 votes
0 answers
531 views

xrandr: can't open display

I am having trouble with my 7-inch type C LCD screen.  When I try to display an application on it, I get the error Missing X server or $DISPLAY.  I use the command xrandr and get the message can't ...
owl magician's user avatar
0 votes
0 answers
232 views

How to make an unofficial Orange Pi 5 Mipi-DSI display work on an Orange Pi 5 Arch Linux system, given kernel driver source and .deb package?

For a while I've tried to make use of a display I ordered from Aliexpress to make it work with an unofficial 7Ji Arch Linux distribution for Orange Pi 5, to no avail. Perhaps against my better ...
nonsu_ki's user avatar
0 votes
0 answers
39 views

systemd does not restart service after power loss though Restart=on-failure

I have a weather station service, weewx, on a Raspberry Pi 3. When there is a power cut (thunderstorm), the Pi reboots when the power is back, but not the service weewx which remains in "inactive&...
user509010's user avatar
3 votes
1 answer
161 views

net.ipv4.ip_forward=0 not persistent across reboots

I have a raspberry pi with Debian Bookworm. I'm trying to prevent packet forwarding. I know that I can set like this sudo sysctl -w net.ipv4.ip_forward=0 but this is not persistent across reboots. I'...
Frixer's user avatar
  • 51
1 vote
0 answers
27 views

udev rule not work for my usb-stick

i try to setup udev rules for my usb stick, to get always the same path. this is my rule: ACTION=="add|change", KERNEL=="ttyUSB[0-9]*", SUBSYSTEMS=="usb", ATTRS{...
bia's user avatar
  • 11
0 votes
0 answers
30 views

Building Epson sane-compatible drivers on Raspbian 11

I am trying to set up my Raspberry Pi 3 (Raspbian 11) as scanner controller for my EPSON DS-310. I discovered EPSON offers sane-compatible Linux drivers, also as source. I downloaded them, extracted, ...
Strongground's user avatar

1
2 3 4 5
35