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
3 votes
1 answer
325 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. Ive tried the following: On My raspberry: I tried to establish a data stream on a port 3333 arecord -D plughw:3,0 -f ...
0 votes
2 answers
2k views

Mariadb on Raspbian: Can't connect to local MySQL server through socket

I'm setting up a "clean" image for my home Raspberry pi running the latest Raspbian, and I'm finding a small problem when installing the mariadb database. So far, the steps I've taken are ...
0 votes
2 answers
17 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 ...
2 votes
2 answers
3k views

Setting up a NordVPN gateway on my Raspberry Pi

Goal Set up NordVPN on my Raspberry Pi and use it as a gateway. Current set-up Raspberry Pi2 running Arch ARM, connected to my router via ethernet cable NordVPN account nordvpn installed on my Rpi ...
0 votes
0 answers
25 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 ...
-5 votes
1 answer
82 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@...
0 votes
1 answer
53 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 ...
0 votes
1 answer
3k views

Udev rule to rename USB device does not seem to work

On a Raspberry Pi 4 running Ubuntu 20.04 on aarch64, I have a USB ZWave device that I want to expose at a specific name, so I wrote a simple udev rule to do so, but it doesn't seem to work. The vendor:...
3 votes
1 answer
4k views

How to hide boot messages (silent boot) in debian jessie (raspberry pi)?

I'm working with raspberry pi. Previously (debian wheezy), I used the following codes to hide boot messages and have a silent boot, until a code (playing omxplayer on loop) would run from /etc/rc....
3 votes
2 answers
2k views

arecord can't find the right device?

I've installed the respeaker pi hat module to my Rpi0W using sudo apt-get update sudo apt-get upgrade git clone https://github.com/respeaker/seeed-voicecard.git cd seeed-voicecard sudo ./install.sh ...
3 votes
0 answers
50 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 ...
0 votes
1 answer
24 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 ...
4 votes
1 answer
4k views

Realtime volume normalization

I don't like having to adjust the volume when I'm steaming a movie, but it always seems like the dialogue is too low and the action scenes are too loud. So I'm looking for a solution. Some background:...
0 votes
0 answers
14 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/...
1 vote
1 answer
51 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 ...
2 votes
1 answer
42 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 ...
2 votes
1 answer
9k views

mail: Can't send message: process exited with a non-zero status

Any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this? sudo apt-get update sudo ...
4 votes
4 answers
684 views

Cannot Schedule Audio Volume Change with Cron (tried direct in cron, python, etc...)

I posted this in Raspberry Pi, but was told that it was better suited in a general linux or programming area. So I figured I'd ask here now... I am putting together a kiosk that should play video. I'm ...
0 votes
2 answers
3k views

Output print statement in python does not goes into cron log

my crontab looks like this: @reboot sh /home/pi/LCDinterface/shutdownlauncher.sh 2>&1 | tee -a /home/cronlog Content of shutdownlauncher.sh : cd / cd home/pi/LCDinterface date python ...
2 votes
1 answer
3k views

udev rule not working on Raspberry Pi 3

I'm trying to separate some keyboards so they're not read by Qt on a Raspberry Pi. I'm using a udev rule to do so, but it doesn't seem to be working. I'm trying to direct /dev/input/event3 into /dev/...
0 votes
1 answer
2k views

Buffer I/O error on /dev/sda2, running fsck.hfsplus returns OK

At the moment, I'm mounting a USB hard drive running HFS+ on a Raspberry Pi 3 at boot to be writable. Not 100% sure what I did, but the drive is suddenly throwing up errors such as Buffer I/O error on ...
0 votes
1 answer
283 views

UFW seems to be ignoring allowed ports in specific cases

I've got a Raspberry Pi set up with UFW firewall to try and secure it as best as possible. Most of the rules seem to work absolutely fine, but for some reason, it's blocking specific connections which ...
0 votes
1 answer
201 views

Network Manager autoconnect not always work

On a Buildroot environment for RPi 3 B+ I have this connection file: # cat /etc/NetworkManager/system-connections/mark.nmconnection [connection] id=mark uuid=0f285419-2238-4b94-ad48-577a1a5f3765 type=...
0 votes
0 answers
12 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 ...
0 votes
0 answers
20 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 ...
0 votes
1 answer
33 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 ...
2 votes
1 answer
11k views

How to change desktop environment in Raspbian?

I'm running Raspbian “wheezy”, a Debian based Linux distribution for the Raspberry Pi and I would like to know where I can change the desktop environment that boots with the OS. In particular, how can ...
0 votes
1 answer
3k views

Can’t see files on an USB stick attached to a Raspberry PI 2

I have formated an USB stick from my Raspberry in VFAT and use it with Syncthing which works fine (dropping files from Windows 10, store them on the stick and access them on an Android Tablet). But ...
-3 votes
1 answer
30 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 ...
1 vote
1 answer
5k views

ssh_exchange_identification: read: Connection timed out

I connecting into a Raspberry PI using ssh from my windows machine and getting the following message : PS C:\Users\user> ssh [email protected] -vvv OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 debug1: ...
0 votes
0 answers
10 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 ...
0 votes
0 answers
162 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 ...
1 vote
1 answer
2k views

Why is my udev rule not working?

I need to automatically run my script /var/www/html/configWWW when any USB is plugged in to my Raspberry. UDEV RULE - /etc/udev/rules.d/myRule.rules ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="...
1 vote
1 answer
3k views

How to automatically run mkinitramfs on Debian after apt update for kernel packages?

What I am trying to achieve is to have an encrypted root file system on a Raspberry Pi (running Raspian Buster) that gets unlocked at boot via ssh. I got quite far by adapting a tutorial for Kali ...
0 votes
0 answers
66 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 ...
1 vote
1 answer
2k views

"Secrets were required, but not provided" when connecting to Wi-Fi from Raspberry PI 4

I installed nmcli in my Raspberry PI 4. I connected to my local WiFi and after a while I got an image from my SD card. Right now I use that image file in another SD card with another Raspberry PI 4, ...
14 votes
2 answers
62k views

sudo reboot -> Failed to talk to init daemon

My Raspberry Pi runs Debian Jessie. After installing Mosquitto I cannot run sudo reboot any more: it always responds, "Failed to talk to init daemon." This error occurs even after ...
0 votes
1 answer
793 views

Some RUN-Commands in UDEV-Rule are ignored

Running a raspberry pi and update to raspbian buster. With Jessie the same file works fine. I used the following udev-rule: # Idea from https://www.axllent.org/docs/view/auto-mounting-usb-storage/ ...
0 votes
1 answer
2k views

NTP Server - sync from local system clock

I need to create device (currently Raspberry Pi 3 based) which states as NTP Server, it has no connection to Internet and NTP should read actual time from local system clock (this clock is set from ...
0 votes
0 answers
25 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&...
3 votes
1 answer
65 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'...
0 votes
1 answer
2k views

lighttpd reverse proxy

I have two raspberry pi servers running. These were set up with DietPi. The one server is used as a NextCloud server. The other (new) server is running weewx. Both use lighttpd as the webserver. Each ...
0 votes
1 answer
3k views

libsocketcan ./configure: No such file or directory

I want to install libsocketcan from source on my raspberry pi. I already installed libsocketcan on my Ubunutu VM successfully by following the instructions of the INSTALL file. Unfortunately the first ...
0 votes
1 answer
21 views

Problem upgrading after trying to install wireguard in Devuan Chinera

Trying to install wireguard / wireguard-tools on a Raspberry Pi3b running Devuan Chimaera. Get blocked in generating the system images --- see below: dpkg: error processing package linux-image-rt-...
0 votes
2 answers
3k views

Access windows symbolic link from linux cifs

I have created symbolic link of the mapped drive (DOS share) on Windows 7 computer 200.90.12.25. The symbolic link was created using mklink command. Trying to access this from Linux (Raspberry PI) ...
0 votes
2 answers
130 views

Raspi - DBUS - Bluez: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

I'm facing the following issue: I have an app that is written in Go that makes use of the bluetooth api. When compiling for windows and running it, the app works. When compiling for my raspberry pi, ...
1 vote
1 answer
2k views

Raspberry 4 stuck in initramfs

im new on this site so i hope im not making myself look super stupid (beside the fact that my english isnt that best) I got myself a Raspberry Pi 4B with an 64GB SDCard of Sandisk Ultra. Installed on ...
1 vote
0 answers
17 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{...
5 votes
1 answer
2k views

Starting systemd service after network-online.target but DNS is still not available

I've got a program that I want to start by systemd on boot but only after DNS is available. The service file depends on network-online.target: $ cat /etc/systemd/system/te-m-pi.service [Unit] ...
0 votes
0 answers
105 views

error in copying a file: 'cp: cannot lseek'

I'm on a Debian derivative (RPi OS/bookworm). I am trying to copy a rather large image file (.img), approximately 9-10 GB from the Synology NAS (btrfs filesystem) to a local folder (ext4 filesystem). ...

1
2 3 4 5
35