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/
1,648
questions
0
votes
1
answer
13
views
Allowing internal address to be accessed via wireguard vpn
This question has been asked a few times and I've spent plenty of time on ChatGPT trying to figure it out.
I have three machines:
RP zero that has Wireguard VPN and a Fluidd dashboard that can be ...
0
votes
0
answers
17
views
Why did my service become masked?
I've provisioned a bunch of RPis with a systemd service that runs an instance of chromium-browser in kiosk mode, but on a few seemingly random devices it doesn't run. I checked the status just by ...
0
votes
1
answer
31
views
raspberry pi specific script to run commands upon cpu reaching defined temperature
i just need certain commands (that control fans and light up a warning LED) to be run when cpu temperature exceeds a certain threshold and other scripts if and when they finally return to below ...
3
votes
2
answers
171
views
How do I keep the screen on a console-only Raspberry Pi?
Buildroot for RPi3 B+ without X server (console only). Monitor connected on HDMI.
I want to keep the monitor on.
After 10 minutes (if I'm not wrong) of no keyboard activity the screen turns off.
From ...
0
votes
0
answers
16
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
22
views
Accessing a NAS from a Raspberry Pi - working but looking for additional information
So after quite some time messing around I have managed to access my assorted NASes on boot, but there are a zillion contradictory answers out there (I couldn't find one that actually worked as I ...
0
votes
0
answers
12
views
Using a configuration file for connman
I'm trying connman on a Buildroot environment for an RPi 3 B+.
It works, but reading the docs I'm only able to connect to a WiFi network using the service names it creates (instead of the plain SSID) ...
0
votes
0
answers
27
views
Trying to start a bash script from autostart
I am trying to start a script which starts the browser in full screen mode and refreshes the pages every 24 hours from the autostart file.
I created the file ~/.config/lxsession/LXDE-pi/autostart
...
0
votes
0
answers
58
views
rsync transfer 'Broken pipe (32)' connection dropping
I am trying to create a small script to transfer a lot of images from a proxmox VM to a raspberry pi on the same LAN (around 90 GB of images/videos).
This is not always working as intended, since I ...
0
votes
1
answer
77
views
Connection refused when trying to connect by ssh
I am unable to remotely connect to the raspberry pi armhf that I have now flashed with ubuntu 20.04. I followed the steps for installing the ssh server. https://linuxize.com/post/how-to-enable-ssh-on-...
0
votes
0
answers
50
views
Run QT gui application via SUDO Wayland
I am running wayland (riverwm) in Void linux, and trying to use rpi-imager.
rpi-imager fails to write to device because it requires sudo permissions.
I then try to run rpi-imager with sudo but get the ...
0
votes
0
answers
24
views
connecting bluetooth headphones keeps failing
I am trying to connect a pair of JBL JR310BT headphones to a raspberry pi zero, running Raspberry Pi OS based on buster. I receive similar messages as displayed in this thread. I certainly tried all ...
0
votes
0
answers
16
views
Playing Music through Sonos Speaker connected to ETH Raspberry Pi
I have a Raspberry Pi Wifi-to-Ethernet bridge, and have a Sonos Symfonisk speaker plugged into the Ethernet output. In it's current configuration I can't play music through the speaker, is there a ...
0
votes
0
answers
20
views
Router Cannot See MAC Address of Devices Behind RPi Bridge
I followed Option 1 (Same Subnet) of this tutorial to turn my Raspberry Pi into a WiFi-to-Ethernet Bridge. It works great, but the router cannot see the device connected behind the bridge as being ...
0
votes
0
answers
29
views
Installing screen 4.9.0 on a Raspberry Pi
I am working on a script which requires the terminal emulator program “screen” to work.
Unfortunately, version 4.8.0 which is the only one I can by default download easily via sudo apt-get install ...
0
votes
1
answer
40
views
Wireguard does not work when eth0 is up
Setup
Router as Wireguard server on my network
Raspberry Pi
OS: Raspbian Buster
connected to a mobile hotspot via wifi (interface wlan0)
et0 set to static IP to control a device with static IP ...
0
votes
0
answers
45
views
Is this a legitimate ping test?
I've been trying to troubleshoot an occasional, but persistent, loss of connectivity and concocted this ping test. It saves the date of the failure to a file:
#!/bin/bash
if ! ping -c 1 google.com &...
0
votes
0
answers
34
views
How to conditionally host a hotspot on a dietpi, when no known Access Points are available
i am having a raspberry provisioned with dietpi.
Background:
This Pi is used as a magic mirror and about to be a gift for a friend. It uses wifi only. The mirror will be delivered with a known ...
1
vote
1
answer
27
views
Unable to run linpack on head node of cluster
I recently set up my own home cluster - 4 units of raspberry pi. But I am having problems trying to benchmark all 4 units using Linpack
One node is the head node called rpislave1, it connects to the ...
0
votes
0
answers
61
views
Wireguard: Access Raspberry Pi from Windows 10 through local network
To preface, I am very much a noob when it comes to networking, so bear with me.
I am trying to access files on my Raspberry Pi from Windows 10. I will eventually have a system setup to automatically ...
1
vote
0
answers
35
views
How can USB list become unaccessible to non root users at some point?
I'm using a Raspberry Pi4 device. We plug a USB HUB connected to 2 USB devices (a Fluigent pressure controller and a FTDI-based home made board controller).
After booting, I run lsusb, it lists many ...
-1
votes
1
answer
41
views
Manually installing packages in thin read-only distributions
I am trying to install our product in a NoTouchOS - a Raspberry Pi thin client OS.
Given the fact it is a thin client, many libraries do not come out-of-the-box, such as apt, sudo...
I am trying to ...
0
votes
0
answers
33
views
Cannot login into SSH from non-admin account. /bin/bash: No such file or directory [duplicate]
Although I have found many other posts on this exact problem, none of their presented solutions have fixed my issue.
I have configured and SFTP and SSH server on my raspberry pi. And ever since I ...
0
votes
0
answers
57
views
Connecting Raspberry Pi acting as smartphone to car infotainment screen via Bluetooth
I am trying to connect my Raspberry Pi via Bluetooth to my car infotainment screen. When scanning for phones, it only recognizes devices with the correct Bluetooth class of device (CoD) for phones, so ...
1
vote
0
answers
36
views
arch linux ARM rpi2: startx not working with non-root user
I am trying to run X11 on arch linux ARM with my Pi 2B. and whenever i try to run startx, the X server terminates, heres the log file:
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[ 60....
0
votes
1
answer
27
views
Start of DHCP Client without any DHCP server delays the start of other services for a long time
On Bullseye (Debian) I have this in /var/log/syslog when no DHCP server is present on the network.
Jul 10 10:45:05 localhost systemd[1]: Started DHCP Client Daemon.
Jul 10 10:45:05 localhost dhcpcd[...
0
votes
0
answers
24
views
OSMC, Bluetooth audio choppy
I have a Raspberry Pi running OSMC, paired to a UE MEGABOOM speaker. As of lately, I am having issues with choppy audio. The issue is somewhat sporadic in nature – I may be able to play a few songs ...
1
vote
1
answer
79
views
Alpine Linux in Raspberry Pi not activating swap partition on boot
Probably this is a really naïve question, but I can’t make this work by trying the methods I’ve found in the existing documentation or in other solutions.
I have Alpine Linux installed on a Raspberry ...
0
votes
2
answers
118
views
Docker with device [GPIO] access while running as a specified user that is not `root`
We have an internal test system for our multi-platform software library which runs, with its zoo of third-party tools, inside an [Ubuntu] Docker container.
To keep things simple, the host machine AND ...
0
votes
0
answers
67
views
Create pBuilder chroot environment for Raspberry Pi OS (ARM64)
I am attempting to create a pBuilder chroot environment for Raspberry Pi OS (ARM64) in order to build Debian packages for Raspberry Pi 4B/3B on an AMD64 host.
I came across a tutorial that seems ...
0
votes
1
answer
41
views
How to prune Ubuntu to bare essentials
I have a Raspberry Pi running a Java application (with Swing/GUI) in a kiosk-like setup.
I want to terminate (or preferably prevent from starting) all unnecessary processes that are not essential for ...
0
votes
0
answers
52
views
Cannot delete file nor folder
I am trying to delete a file from a folder on a Raspberry Pi with Raspbian, but I keep getting errors.
Here are some of the steps I took
(I replaced the file name with foo and the folder name with ...
0
votes
1
answer
57
views
ethercat install on ubuntu 23.04 RPi gives modprobe invalid argument error/empty MAC address?
Installing ethercat from https://gitlab.com/etherlab.org/ethercat.git to an RPi 3B v1.2 running Ubuntu Server 23.04 (32-bit). First time working with Ubuntu; more familiar with Raspbian.
Spent a long ...
0
votes
2
answers
160
views
Making a device accessible with SSH from another device over the internet
I'd like to run a Raspberry Pi, on which I'd like to log in with ssh, connected to my router. Then I would like to access it from another RPi, which is connected to another router with physical (and ...
0
votes
0
answers
47
views
ssmtp vs. Gmail
I am trying to setup my raspberry's ssmtp to use my Gmail account. I followed recommendations I found around, everything looks ok but the mail does not come.
ssmtp.conf:
root=<my_mail>@gmail.com
...
1
vote
1
answer
45
views
Where to place config file created by systemd
I have a systemd service running on a Raspberry Pi that reads the configuration from EEPROM and converts it into the .env format. This allows other programs to easily parse the configuration later on.
...
0
votes
0
answers
33
views
Can't run executable on Raspberry
I want to run a program called CRX2RNX which decompresses GNSS data (Hatanaka compression). However, when I run the executable I get the error:
bash: CRX2RNX: cannot execute binary file: Exec format ...
0
votes
0
answers
27
views
Virtual Machine Manager and pi4B 8 GB and redhat installed
I have Virtual Machine Manager installed on the Raspberry pi 4B 8 Gb with Bullseye.
I also installed RedHat but I don't have Gnome.
I am wondering if it is possible to run a GUI on Virtual Machine ...
0
votes
0
answers
105
views
Sharing Ethernet connection with Wifi and USB ethernet using systemd-networkd
Context: I am running raspbian 11 on a raspberry pi 4 and have connected a usb ethernet nic. My goal is to allow clients to connect to wifi (wlan0) or via the usb ethernet (eth1), then have the pi ...
1
vote
1
answer
180
views
Raspberry Pi timedatectl fails with "Transport endpoint is not connected" and ".service files" errors
I am encountering an issue on my Raspberry Pi when trying to use the timedatectl command. When I execute timedatectl status I get the following error message:
spaikon@raspberrypi:~ $ timedatectl ...
-1
votes
2
answers
73
views
Raspbian static IP on Wifi without DCHP service
I've tried to set up a static IP on a RPi4 running the latest Raspbian Lite (Bullseye), so I can remove DHCP entirely.
My /etc/network/interfaces file looks like:
# Include files from /etc/network/...
0
votes
0
answers
39
views
libcamera: Preview windows only support YUV420
I have a USB camera connected to a CM4 and I want to output the video through HDMI. I'm using a custom kernel from buildroot.
I'd like to use libcamera or something similar to avoid needing a desktop ...
0
votes
1
answer
43
views
Pi Hole ignoring rate limiting settings
I'm having issues getting my Pi Hole to respect rate limiting settings. After some investigation I noticed that the values under Settings - DNS were going into the pihole-FTL.conf file as RATE_LIMIT= ...
0
votes
0
answers
79
views
How to use dd to clone a disk but exclude some partitions?
How to use dd to clone a disk but exclude some partitions?
So I got (on a Raspberry Pi 4B):
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 532479 ...
0
votes
0
answers
75
views
My Crontab doesn't work on Raspberry Pi
I have a python script in:
/home/pi/auto/wake_up.py
crontab -e:
* * * * * /usr/bin/python /home/pi/auto/wake_up.py >> /tmp/wake_up.log
log is created but with empty line
same when I put
#!/usr/...
0
votes
0
answers
32
views
Prometheus cannot access remote exporters
I'm trying to set up an IoT network using Prometheus as the monitoring layer, and Avahi as the DNS service. I have Prometheus tracking node-exporter on localhost, but am unable to access either node-...
1
vote
1
answer
361
views
Running a Raspberry image with qemu-system-aarch64 having a systemd.run firstrun.sh script gets stuck
I'm trying to emulate a Raspberry Pi (+OS) with Qemu. I'd like the OS to execute a firstrun.sh script on boot to configure various things.
This is how I start qemu:
qemu-system-aarch64 \
-M ...
0
votes
0
answers
29
views
How can I get a notification when a drive enters standby, using UDEV?
I have a Raspberry Pi 4 with OS Lite and some disk drives attached to its USB ports. I also have a Python script that I want to be executed when the drives enter and exit the standby mode. I made a ...
0
votes
0
answers
21
views
Troubleshooting a Kivy GUI issue in a systemd service on Raspberry Pi
I'm using a simple Kivy script for a GUI to work on a Raspberry Pi touchscreen. It works fine when running directly as /usr/bin/python3 /home/pi/Documents/kivy_script.py. However, when my systemd ...
0
votes
0
answers
51
views
Where is the root file system loaded from in alpine diskless mode
When installing alpine linux in diskless mode (described here) where is the actual root file system stored?
According to the documentation in diskless mode:
This means the entire operating system ...