raspberry-pi

Configure two network cards persistently

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 one I did not have when I installed …

Total answers: 1

ssh fails only when multiple arguments are stored in a string

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 read this is a standard practice. However I have found that when $args contains …

Total answers: 1

Piping live sound from raspberry pi to macOS

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 S16_LE 44100 -t raw | nc -l -p 3333 …

Total answers: 1

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

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@raspberrypi0w:~ $ sudo apt -t …

Total answers: 1

Optimal scheduler for a raspberrypi only running dnsmasq

Optimal scheduler for a raspberrypi only running dnsmasq What would be the optimal scheduler settings for a RaspberryPi2 running as a DHCP/DNS only server (dnsmasq). How to minize wear on the SD card? Asked By: theking2 || Source the scheduler has no influence on the amount of IO usage your SD card sees. So, that …

Total answers: 1

USB 4G Modem Not Detected on Raspberry Pi with NetworkManager

USB 4G Modem Not Detected on Raspberry Pi with NetworkManager Am trying to set up a USB 4G modem on a Raspberry Pi using NetworkManager, but it doesn’t seem to be detected. Here are the details of my setup: Raspberry Pi model: 4 USB 4G Modem: zte mf833u1 Operating System: Rasbian Bookworm Steps I’ve Taken: …

Total answers: 2

Cannot connect to raspberry pi via ssh – hanged

Cannot connect to raspberry pi via ssh – hanged When I try to ssh into one of my rpis (let’s call it .7) with verbose I get the following output ssh pi@192.168.1.7 -v OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, OpenSSL 3.0.2 15 Mar 2022 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: …

Total answers: 1

How to see all startup tasks from the command line?

How to see all startup tasks from the command line? I was trying to find why a certain application ran on my Raspberry Pi, and turns out there is a half dozen ways to execute an application on startup. Here are the ones that I’ve located. /etc/rc.local /home/pi/.bashrc copying a script to /etc/init.d/ systemctl schedule …

Total answers: 1

Raspbian os Pi connected to ethernet but no network

Raspbian os Pi connected to ethernet but no network im trying to connect to the internet and eventhough i conected the pi with a ethernet cable with a network enabled cable, it cant connect to the internet. another pi i have with the same cable is able to connect to the internet. Pi with error …

Total answers: 1

Issues with .local domains

Issues with .local domains I know from research that .local domains are a considered a very bad idea. And yet, I am trying to use two different astronomy applications designed to run on a Raspberry Pi for which the stated instructions say that one should connect to the system running on the Pi via a …

Total answers: 1

How do I keep the screen on a console-only Raspberry Pi?

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 my old notes I did the following: echo …

Total answers: 2

Unable to run linpack on head node of cluster

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 Internet and my local wifi network using …

Total answers: 1

Manually installing packages in thin read-only distributions

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 manually install apt (Raspberry PI OS is debian based), …

Total answers: 1

Alpine Linux in Raspberry Pi not activating swap partition on boot

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 Pi, which SD card is formatted to have the …

Total answers: 1

Docker with device [GPIO] access while running as a specified user that is not `root`

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 the Docker container both run as the same …

Total answers: 2

Raspberry Pi timedatectl fails with "Transport endpoint is not connected" and ".service files" errors

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 status Failed to query server: Transport endpoint is not connected spaikon@raspberrypi:~ …

Total answers: 1