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
30 views

Forwarding all traffic

There is such a scheme: The operating system ubuntu server 22.04 is installed on Raspberry Pi4. Through the main network interface, Rpi is connected to the home router and has access to the Internet. ...
user avatar
0 votes
0 answers
13 views

Apt / Apt-get / dpkg no longer logging to journald

I have a systemd service that I install via debian package using the apt command on a raspberry pi 4. I've been using journalctl -xef to keep track of all log output for debugging purposes while ...
user avatar
1 vote
1 answer
25 views

RaspberryPI cannot change permission of mounted hdd due to rpi-first-boot-wizard user

I mounted an external hdd into /mnt/edisk on my raspberry pi. If I check ownership, strangely I see this: drwxr-xr-x 19 rpi-first-boot-wizard rpi-first-boot-wizard 128K May 10 17:44 edisk I can write ...
user avatar
  • 111
0 votes
0 answers
16 views

Redirect traffic from interface tun0 to interface eth0 with iptables

I will first explain the scenario to you. I have a server installed in a virtual machine, and I have a controller connected with a Raspberry on eth0. my Raspberry is connected to my local network. the ...
user avatar
  • 1
0 votes
1 answer
25 views

How can I store emails on an external drive with Postfix/Dovecot?

So I set up a a Postfix/Dovecot server on my Raspberry Pi, and I wanted to be able to actually store the emails themselves I have on an external SSD I have since my SD card is 32 GBs and my SSD is ...
user avatar
0 votes
0 answers
19 views

Using Raspberry Pi to emulate USB storage for files stored on NAS

Summary I am looking to bridge a NAS file share to a FAT32 "USB Gadget" that can save/load files transparently to the NAS as if the host device was writing them to the USB Storage. Apologies ...
user avatar
  • 1
1 vote
1 answer
28 views

USB Drive sometimes changes the Drive name

I have two USB Drives, I created partitions, and formatted it to ext4. Running fdisk -l shows that I have /dev/sda1 and /dev/sdb1 Device Boot Start End Sectors Size Id Type /dev/sda1 /dev/...
user avatar
  • 113
0 votes
0 answers
43 views

Systemd service not running

I modified this script to help me continuously sync a folder to a remote using rclone. The code for said script is posted below. My issue is that on first run, it seemed to be syncing properly, only I ...
user avatar
  • 101
1 vote
0 answers
9 views

raspberrypi - recover innodb data from 32 bit mariadb server to 64 bit server

After a system crash of my raspberrypi 3B+ (32 bit, OS buster) I could not recover madiadb (version: 10.3.31) data on localhost for several virtual hosts. I had to buy a new raspberrypi 4 with 64 bit ...
user avatar
  • 11
0 votes
0 answers
26 views

RPI4 with Raspbian OS locked in boot loop after changing watchdog timeouts in `system.conf`

In view of enabling the watchdog on my Raspberry Pi 4 running Raspbian (raspberry pi OS) I have modified /etc/systemd/system.conf by uncommenting the following three lines: RuntimeWatchdogSec=2min ...
user avatar
  • 1
0 votes
1 answer
61 views

Conversion of Debian "source package" for use on GitHub

Perhaps a dumb question, but I am new at this - so please bear with me. Here is a brief description of the situation: I recently learned of a significant, long-standing bug in dhcpcd - the default ...
user avatar
  • 2,104
0 votes
1 answer
51 views

chromium-browser - can't launch site from command line

I have a static html site at localhost. When I open Chromium and manually enter localhost into the address bar, the site appears and behaves correctly. However, when I type the following from the ...
user avatar
1 vote
0 answers
44 views

Raspberry Pi 4 doesn't show USB camera as ttyUSB

I have an RPi camera and a USB camera connected to my RPi4. lsusb: pi@raspberrypi:~ $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0c45:636b Microdia ...
user avatar
  • 111
0 votes
0 answers
48 views

ssh via public ip address

I have a VisionFive V1 risc v single board computer running Fedora. It is connected along with a raspberry pi to a router. The router has port 22 open and a public ip address. I can access the ...
user avatar
1 vote
1 answer
29 views

Strange rsync samba btrfs behavior by Files lesser than 26MB

i have created a btrfs filesystem on my Raspberry Pi with a simple subvolume Data01, to share for backup my Server i've created a samba share on raspberry After that i mounted the samba share on my ...
user avatar
0 votes
1 answer
39 views

Raspberry Pi Desktop folder reappearing after deletion

I have a 10-node cluster of Raspberry Pi 4B 1GB. These have all been recently imaged with the 64bit version of RaspiOS with GUI (latest). I noticed that after I deleted the /home/pi/Desktop/ directory ...
user avatar
0 votes
1 answer
37 views

Python Scrips on Raspberry - ssh works, cronjob doesn't

I wrote a python script that checks a website and eventually sends an email. I copied the script to my raspberry and when I execute it via ssh it works fine. But when I let it execute by the crontab ...
user avatar
  • 1
0 votes
0 answers
22 views

Forward a port through a VPN to remote host

Preface: I would like to setup a game server for me and my friends to play on that is hosted on my local machine. My machine is currently at university which doesn't allow me to forward ports. I ...
user avatar
  • 1
1 vote
0 answers
27 views

Raspberry Pi Wlan Connection Crash/ Multiple networks in parallel

I have a raspberry pi 3 model b which uses LAN to connect to my router (fritz box, internet, ...) and in parallel a wlan connection to a different wlan router (a tello drone providing a wlan network). ...
user avatar
0 votes
1 answer
59 views

Running Raspberry PI buildroot image in qemu

I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu. Once the make process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real ...
user avatar
0 votes
0 answers
82 views

How to SSH into a computer in my local network, that is connected to a remote WireGuard-server?

I'm playing around with my new Asus router that has an OpenVPN-server option. It works fine connecting to the router's VPN and accessing my devices in my home LAN (except for one...). There is one ...
user avatar
0 votes
0 answers
14 views

UFW disallow all connection except for VPN and USB LTE modem

I have RaspberryPi with Raspbian and UFW. I successfully disabled all external connections from and to Rpi by: udo ufw default deny outgoing sudo ufw default deny incoming sudo ufw allow out to <...
user avatar
  • 283
4 votes
2 answers
313 views

Check if a command exists revisited

Inspired by this answer: When I run type -p in the command prompt, it reliably tells me the path if the command exists: pi@raspberrypi:~ $ type -p less /usr/bin/less pi@raspberrypi:~ $ type -p asdf ...
user avatar
  • 151
0 votes
0 answers
38 views

how to prevent sshd related messages from being written to systemd journal log

I'm running a raspberry pi on an SD card and the logs are constantly hammered with failed login attempts from botnets. Beyond filling the logs with useless information, this is putting wear and tear ...
user avatar
  • 191
0 votes
0 answers
20 views

Issues updating dietpi?

I run only pihole on my pi zero w on dietpi. Noticed pihole wasnt blocking everything correctly (though some stuff still seems to be blocked) even though status shows everything is fine. So I updated ...
user avatar
  • 1
-3 votes
1 answer
49 views

What is BusyBox?

Just wondering what BusyBox is used for and if I can use it for my project. I have seen the Philips Hue Bridge runs BusyBox and I would like to use it on a relatively small, but powerful controller, ...
user avatar
0 votes
0 answers
14 views

libnfc - read NDEF

I'm trying to read the content of NTAG210µ using a PN532 connected through I2C to a RaspberryPi. The connection works fine, I'm able to detect the PN532 through I2C, and tools like nfc-poll work well, ...
user avatar
  • 126
0 votes
0 answers
57 views

Why does qemu-system-arm hang if dtb and machine are swapped?

I am trying to use qemu-system-arm to emulate an embedded system. I am using Ubuntu 20.04 and installed the backport of QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu6~ppa0). I thought I would ...
user avatar
0 votes
0 answers
44 views

raspberry pi initramfs busybox ping bad address but nslookup works

I already read: Busybox ping IP works, but hostname nslookup fails with "bad address" I have the exact same symptoms. cat /etc/*release* PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"...
user avatar
0 votes
0 answers
103 views

Raspberry Pi 4B does not boot from SSD anymore

The RPi was booting from SSD without a problem until a few days ago, when I completely disconnected everything from the RPi to move it. Then when I tried booting it back up it just got stuck when ...
user avatar
  • 1
0 votes
1 answer
40 views

Run script in rc.local not as root

I want to launch python script on boot, but rc.local launches it as root, which causes error in my python module. Is it possible to make it run as non root? Instead of nohup python /home/pi/script.py &...
user avatar
  • 103
0 votes
2 answers
35 views

What distros work with raspberry pi

Hi I was just wondering if literally any linux distro will work on raspberry pi for only Linux distro that are (for/made for) the raspberry pi Any help is much appreciated
user avatar
0 votes
0 answers
25 views

python wont import can module in rc.local

I want to automate my python script which controls devices through CAN. I can start script simply from terminal, but I dont want to do that every time. So I put nohup python /home/pi/script.py & ...
user avatar
  • 103
1 vote
0 answers
60 views

Why is my NTP time sync root dispersion degrading over time?

I have a test network setup with a Mikrotik router with a 4G/LTE internet connection, connected to one Raspberry Pi via Ethernet cable, and to 30 more Raspberry Pis via wifi. I have set up NTP with ...
user avatar
0 votes
1 answer
16 views

Debian dosbox installer not working

When I try to run dosbox.installer for Dosbox debian, I get root@raspberrypi:~# ./dosbox.install ./dosbox.install: line 1: debian/dosbox.desktop: Permission denied ./dosbox.install: line 2: debian/...
user avatar
  • 103
0 votes
0 answers
29 views

BAD REQUEST when using iptables for a captive portal on raspberry pi

I have my raspberry pi setup as a wireless access point by following the documentation on the official site https://www.raspberrypi.com/documentation/computers/configuration.html#setting-up-a-routed-...
user avatar
0 votes
0 answers
31 views

Sending string using python in a raspberry pi 3b+ mesh connection via bluetooth

I am currently working with three raspi 3b+ that should have a mesh connection via Bluetooth. The devices sense a sound and will try to send it to the other devices. Now, my questions are: How will I ...
user avatar
0 votes
1 answer
86 views

mesh network of multiple raspberry pi with python

I am currently working with alerting devices, specifically using raspberry pi 3b+, where it classifies a sound and the classified sound is sent to every alerting device present at home. I am looking ...
user avatar
1 vote
1 answer
51 views

Raspberry Pi OS Google 2FA over SSH Keeps Asking For The Password and OTP

I followed this guide: https://pimylifeup.com/setup-2fa-ssh/ however this is what I get when trying to connect (it is stuck in a loop and keeps asking for the password and key): ssh jacob@192.168.4....
user avatar
0 votes
1 answer
40 views

Unable to execute `sudo make` while installing tplink tn722n driver

I am trying to enable monitor using tp-link tp-wn722n v2/3 connected to Raspberry Pi 4 model B 2GB. My OS details are (using Kali-ARM 32bit version although R Pi is 64bit). PRETTY_NAME="Kali GNU/...
user avatar
0 votes
1 answer
19 views

How do I set up my raspberry pi so that I can connect to its ip address via a domain

Let me explain what I want to happen. I have an http server program that displays a website every time I connect to my raspberry pi's ip address on port 8080. But this only works on my current network....
user avatar
  • 25
1 vote
1 answer
73 views

Change priority of mdns4 hostname resolution

We are using a Raspberry Pi which has a Lidar connected to the ethernet port. The problem is that the mdns4_minimal resolves $(hosname).local into two IPs. One IP is obtained from the ethernet port (...
user avatar
  • 113
1 vote
0 answers
108 views

Mounting Overlay File System and Using rsync to sync changes doesn't work for me

I'm working on an embedded application using Raspberry Pi CM4 running DietPi OS. I want to minimize MMC flash writes as much as possible for maximum lifespan. In my installation, there are a few ...
user avatar
0 votes
0 answers
44 views

Batman-Adv not working with Raspberry Pi + Intel AX210/iwlwifi

I'm doing a senior project for an undergraduate engineering degree that involves mesh networking, and our team is trying to get batman advanced to work with an external wifi card on a raspberry pi ...
user avatar
  • 1
0 votes
0 answers
20 views

Raspberry pi Minecraft server

I am trying to host a Minecraft server for my friends with my raspberry pi. However, I cannot connect to it out of my network. I am connecting to it via Ethernenet. I have also tried connecting via ...
user avatar
0 votes
1 answer
389 views

Installing chromium-browser:armhf and libwidevinecdm0 on Ubuntu

I'm trying to install chromium-browser:armhf and libwidevinecdm0 on my Raspberry Pi (Ubuntu 21.10 64 bit) by doing the following command: sudo apt install chromium-browser:armhf libwidevinecdm0 ...
user avatar
  • 103
0 votes
0 answers
118 views

PPD file Konica Minolta bizhub 185

I want to install my printer Konica Minolta bizhub 185 on raspberry pi (raspbian) using CUPS. When I open administrator page CUPS show me, that printer is connected via USB, but when I want to ...
user avatar
  • 1
0 votes
0 answers
58 views

Btrfs partition won't mount during boot using fstab

i have just reinstalled my raspberry pi 4 with raspbian lite 64bit. While doing this i also switched from using sd-card-boot to usb-boot and installed the os on an ssd. Now i still want to use the sd ...
user avatar
0 votes
0 answers
49 views

hostapd not working after some seconds of being connected

I have one Raspberry Pi 4 B in which I installed hostapd in order to set an Access Point to get access to the device. The hostapd configuration file that I have is the following one: driver=nl80211 ...
user avatar
0 votes
1 answer
39 views

Buster lists external hard drive twice, same name

I have a pi running Raspbian GNU/Linux 10 (buster) armv7l with an external hd attached via usb. For some reason I have that hd listed twice in /media/pi. One of them has a "1" appended to ...
user avatar
  • 101

1
2 3 4 5
31