2022 Developer Survey is open! Take survey.

Questions tagged [raspbian]

Raspian is an Operating System based on Debian optimized for Raspberry Pi hardware.

Filter by
Sorted by
Tagged with
9 votes
1 answer
2k views

chown - Operation not permitted even as root user

I'm trying to chown a specific USB drive folder that has been mounted on my RPI 400. This is my lsblk -f result: sda1 exfat 1.0 WD Media 0C23-43CD 1.8T 0% /mnt/WD ...
user avatar
  • 91
1 vote
1 answer
46 views

Accidentally changed owner of `/etc/sudoers` to non root. Can't sudo or revert

On Raspbian, tried to change permission for /etc/sudoers.d/octoprint-shutdown to pi user to edit the file and it worked but now I can't sudo anything. The command I used to break it: pkexec chown pi:...
user avatar
  • 123
1 vote
0 answers
34 views

any_name.sh (bash) runs in one directory, not in another

I have a problem with a specific directory (under Raspbian) The shell I use is simple === pi@R4:~/log $ cat no_no.sh #!/bin/bash echo "juju" exit 0 === Problem directory is ~/log : === pi@...
user avatar
0 votes
1 answer
18 views

Raspbian with a VLAN setup, assigning 2 IP addresses to each interface when I don't want it to

I can't figure this out. Below is my configuration in /etc/network/interface.d/eth0. Originally I had all these setup as DHCP, but I was getting 2 IPs for each interface. I changed it to static and I ...
user avatar
-1 votes
1 answer
53 views

Computer Architecture – Why are they different even if the machine is the same?

I've got a Raspberry Pi 4. If I install NOOBS / Raspbian and run the comand. uname -m I get armv7l as an output. If I install Ubuntu on the very same Pi (same hardware) Running uname -m yields arm64. ...
user avatar
0 votes
0 answers
55 views

How do I edit the rc.local file on my Raspberry using another PC?

I edited my rc.local file to start 2 python scripts and a flutter app on boot and I set it up to boot in console mode. But now I can't close the flutter app. I already tried pressing CTRL + Z or CTRL +...
user avatar
0 votes
0 answers
50 views

How to display feh fullscreen slideshow on second screen

I am running a Raspberry Pi 4 as a signage computer and I need to run slideshows on two televisions which both need to be able to fullscreen. When I attempt to fullscreen the screen2 it just ...
user avatar
0 votes
0 answers
9 views

How do I reassemble a RAID1 array which was created in OMV5(open media vault) on raspbian buster - RAID config has completely disappeared after update

How do I reassemble a RAID1 array which was created in OMV5(open media vault) on raspbian buster? I have 2 disks /dev/sda/ and /dev/sdb/ which have the following partitions, which look intact pi@...
user avatar
  • 101
0 votes
2 answers
38 views

Resume TimeMachine backup with Samba on RPi

I backup my Mac using TimeMachine over Samba which is installed on my Raspberry Pi (with Raspbian Lite). Everything was OK since a long time (I started this backup from macOS Big Sur and now I'm on ...
user avatar
  • 1
0 votes
1 answer
39 views

Add logo to vlc video Raspberry

I try to set the crop function Raspberry Pi OS 11 (bullseye) vlc 3.VLC media player 3.0.16 Vetinari (revision 1.0.6-1682-g88158c836) Raspberry PI 3b+ cvlc -f --crop=16:9 --video-filter=croppadd{...
user avatar
  • 1
0 votes
1 answer
91 views

samba share running but shares are not accessible (raspbian)

I am setting up a raspberry pi 4 server with samba (SMBD/CIFS) file-share and despite replicating tutorials and using the same setup as on a previous pi I could not get it to connect. The samba ...
user avatar
  • 1
2 votes
2 answers
148 views

Raspberry PI / systemd: run script on shutdown/poweroff but not on restart

On Raspberry PI (running raspbian) I need to run script on shutdown/poweroff, but not on reboot. My first attempt was to define a service as following: [Unit] Description=Power off service [Service] ...
user avatar
1 vote
0 answers
36 views

Raspberry PI OS on SSD "goes to sleep while running"

I just bought a SSD and an Adapter for my pi to run the system on them. After some small complications with getting the backup image from the SD-Card to the SSD and everything seems to be fine. I got ...
user avatar
1 vote
1 answer
57 views

Can't connect to Raspberry Pi via macOS laptop. Works via other devices

Can’t connect to Raspberry Pi via MacOS laptop. Works via other devices including Linux and iOS. This is the macOS terminal command and output: ssh -vvvvvv -p 9091 pi@192.168.1.103 OpenSSH_8.8p1, ...
user avatar
  • 11
0 votes
1 answer
181 views

Systemd Service does not start on reboot

I have the following systemd service called startupsh.service placed in /etc/systemd/system/ on my raspberry pi running rasbpian. [Unit] Description=Service to start telegram bot After=graphical....
user avatar
1 vote
1 answer
22 views

mosquitto broker shuts down when terminal is closed

I have a problem with mosquitto running on my pi 3. I use it to transmit temperature and humidity from several sensors in my appartement (433 mhz) to my node red which is also running on my pi. When I ...
user avatar
  • 13
0 votes
1 answer
28 views

Wget over https segfaults after system recovery

Running Raspbian, I had a microSD go bad. I used ddrescue to image it and put the image on a good microSD. The system boots, I can ssh in, plex seems to work, samba seems to work, most things seem to ...
user avatar
  • 613
0 votes
1 answer
406 views

dhcpcd.conf for both static and dynamic ip address

Long story short: I need to configure two interfaces for one physical interface, one with a static and one with a dynamic ip address. I know how to do it in /etc/network/interfaces but my box uses ...
user avatar
1 vote
1 answer
288 views

Manual fsck stuck and no progress during disk check

I wanted to run an fsck check on my 5TB external hard drive on my raspberry pi after I noticed that cp fails on a couple of files. This is the output: $ sudo e2fsck -c -v /dev/sda e2fsck 1.44.5 (15-...
user avatar
  • 13
0 votes
2 answers
531 views

Why can't I access Home Assistant via IPv6 from outside?

I would like to be able to access my Raspberry Pi from outside of my local network. The raspberry pi runs Raspbian GNU/Linux 10 and Home Assistant. For example when I want to check if I really closed ...
user avatar
  • 3,275
0 votes
0 answers
18 views

Purged XDG from RPi 4 Raspbian Buster

I accidentally purged XDG from my Raspbian Buster using this command: sudo apt purge -y xdg* I've installed XDG and any other components back few minutes after the deed, and I thought I fixed it but I ...
user avatar
  • 1
1 vote
1 answer
118 views

Iptables-restore does not work with SNAT

I am using Raspbian on a Raspbery Pi (based on Debian 10) and I'm trying to use the following line in my iptables rule set: -A POSTROUTING -s 2.3.4.5/26 -o eth0 -j SNAT --to-source 1.2.3.4 However ...
user avatar
0 votes
1 answer
228 views

Running PiHole with Apache2

I'm trying to install PiHole on my Raspberry Pi, but having some trouble configuring it. I currently use it as a reverse proxy to some webservers/applications running in my network. My main issue (I ...
user avatar
  • 103
0 votes
0 answers
229 views

VLC on raspberry pi - how to play all images/videos in a folder from command line without showing terminal, and how to set time per image?

I'm trying to build an automated slideshow player which allows the user to copy multiple videos and images into a folder on the RPI and play them on a loop. I'm running Raspbian Lite (no GUI) latest ...
user avatar
0 votes
0 answers
10 views

Cannot run maria db container in raspberry pi due to 2038 date error

I am trying to setup home assistant with docker on my raspberry pi 4. I have installed raspberian. Here is my docker-compose file:- version: '3' services: homeassistant: container_name: hass ...
user avatar
0 votes
1 answer
124 views

How to increase unallocated space of SD card

I have a SD card used to have Raspbian on it. I am trying to write the lastest Raspbian image to it using Etcher. It is a San Disk Ultra 16GB disk. Etcher reports this card as having size 32.1MB. ...
user avatar
  • 727
1 vote
0 answers
40 views

What are these files that keep popping up on my raspberry pi?

I've been trying to compile opencv on my raspberry pi 4 running raspberry pi OS. While doing so I've found large numbers of files with seemingly random names in my working directories, for example, in ...
user avatar
  • 133
1 vote
1 answer
96 views

Can one Ethernet cable supply internet and an SSH connection?

I'm trying to connect a Raspberry Pi to my laptop such that I can control it over SSH (PuTTY). However, the Pi itself needs internet. Is it possible to supply by the SSH commands and the internet ...
user avatar
0 votes
0 answers
26 views

wxWidgets On-Screen Keyboard when the Window is Full-Screen?

I suspect that any OSK will "just work" if I don't use full-screen, but I really do need to hide anything and everything that is not a direct process control or indicator. There's a lot ...
user avatar
  • 181
0 votes
0 answers
44 views

Remote Desktop on Raspi4, connection timing out or failing

I recently bought a Raspi4 to play around with and learn some basics of Linux and what not. I spent all day yesterday messing with it on its own. I had a keyboard, monitor and mouse hooked up to it. ...
user avatar
0 votes
1 answer
90 views

Raspberry Pi OS: udev rule xset does not set keyboard repeat rate

I created a udev rule with corresponding shell script to set the keyboard repeat rate when my usb keyboard is connected to the Raspberry Pi. The script contains this line xset r rate 250 50 as well ...
user avatar
  • 1,907
0 votes
0 answers
54 views

Can I use same Raspbian Arm v7 installation on Intel Q7450 CPU? [duplicate]

I have a B3+ PI running Raspbian Buster x32 on a armv7 cpu. I have made extensive customizations on this installations and I am wondering if I can use the same installation on a different x86 machine ...
user avatar
  • 109
0 votes
1 answer
444 views

cannot execute binary file: Exec format error But i was able to before update

I was trying to run a binary on my raspberry, called mapshot but the code had some issues. I created a new issue and the code owner fixed it. During that time i was configuring my raspian server and ...
user avatar
  • 3
0 votes
2 answers
105 views

Raspbian - systemd user instance not working

I'm setting up a small server on a RaspberryPi 3 and added a new user ('server') for a rootless docker instance. But I'm facing the problem, that i do not get the user instance of systemd working. It ...
user avatar
0 votes
1 answer
71 views

cant use apt-update anymore

I can no longer use apt-get update at all. And often I can't install anything anymore. Every time I use ap-get update I get this output root@raspberrypi:/home/pi# sudo apt-get update Hit:1 http://...
user avatar
0 votes
0 answers
24 views

How to change the IP address when printing the kubectl get --print-join-command

I don't know if this question has been asked before, but I am trying to create a K8s cluster using a Raspberry Pi 4 and 2 machines using Ubuntu-18.04. The machines can only be connected to a specific ...
user avatar
0 votes
0 answers
239 views

“Bad message” when trying to access a directory on external hard drive

I'm running a media server using a Raspberry Pi 4 with an external hard drive connected via USB 3.0. One issue I've been seeing for a while is "Bad message" returned when I try to ls or stat ...
user avatar
  • 101
1 vote
0 answers
109 views

Simulate "Enter" keypress after successfully making connection using Netcat on Raspberry Pi

I have an issue with using Netcat on Raspberry Pi terminal to output data after making a connection. The issue is that when I run this command, after it is succeeded, 5 seconds pass, and the ...
user avatar
  • 11
1 vote
1 answer
69 views

How do I access my Raspberry Pi via SSH without the need for a password every single time?

I'm a beginner to Raspberry Pi and SSH based connections, and I want to access my Raspberry Pi running on Raspbian, from my Windows 10 computer, via remote SSH on Visual Studio code. I have watched ...
user avatar
  • 11
1 vote
0 answers
41 views

How to auto-restart linphone (graphical mode) when it closes or crashes?

I’m using Linphone in a Raspberry Pi 3 to make a VoIP auto answer for a headset. I’m having a problem that some times Linphone crashes. I’d like to know how can i make it start again in graphical mode ...
user avatar
0 votes
0 answers
73 views

After removing pi-hole my eth0 does not working at all

I uninstalled pi-hole from my raspberry pi 4 and got lost ethernet connection. Only orange led is working. Ifconfig shows only lo, but with flag -a it does show eth0. I can run ifconfig eth0 up and ...
user avatar
  • 111
0 votes
0 answers
52 views

Why when opening any text editor in raspbian through ssh connection hangs?

I have clean installation of raspbian on raspberry pi 3. Because of not working port forwarding in router I configured auto connection on raspbian to my VPN server on mikrotik router. I used this ...
user avatar
  • 101
0 votes
1 answer
276 views

Creating ramdisk with recent Raspberry OS causes "System has not been booted with systemd as init system..." error message

Quite a while ago I installed some Rasperry Pi 2 B+ with Raspbian and to reduce SD-Card usage I followed some instructions to create ramdisks. For this purpose I added these lines to /etc/fstab: tmpfs ...
user avatar
  • 153
1 vote
1 answer
64 views

Raspberry - APT : host not found - Can not update - DNS resolution issue

Since a few weeks, I have some troubles to update apt repositories on many Raspberry / Raspbian devices. I got DNS resolution issues, on any mirror I've tried in /etc/apt/sources.list when I use apt-...
user avatar
  • 111
0 votes
1 answer
84 views

128GB SD card thinks it’s 8GB after being cloned. How can I get it to recognize all of the free space?

I had an old 8GB SD card that I was using for my Raspberry Pi 2. I made an image of that 8GB SD card and put it on to a 128GB SD card. Now when my pi boots with the 128GB sd card and I run df -hT, I ...
user avatar
0 votes
1 answer
174 views

Raspberry pi network instability

I have a raspberry pi 4 which is running raspbian. I am using the device as a local server inside my network so the device is always on. The setup works great but every few hours the raspberry pi can ...
user avatar
  • 1
1 vote
0 answers
49 views

External drive stopped working after changing the hostname in Raspbian

My external hard drive was working seamlessly for months now with Plex (NTFS), but now I have 5 Raspberry Pis and I wanted to individually name them all. So I changed this specific Raspberry Pi 4 to ...
user avatar
  • 111
1 vote
1 answer
408 views

Unable to start dnscrypt-proxy on raspbian

I am using a Raspberry Pi Zero W. The OS is Raspbian Buster. I installed DNSCrypt-Proxy but was unable to start it. Checked it with sudo systemctl status dnscrypt-proxy. Got [FATAL] listen udp 127.0.0....
user avatar
1 vote
0 answers
19 views

Server connections refused when hostname used, works fine with IP

Hope someone can help. I've run a local server for a while on a Rapberry Pi 3b (Raspbian Buster) that includes a PBX server, DNSmasq and local webserver. I recently upgraded to a Pi4 and performed a ...
user avatar
0 votes
0 answers
33 views

suggestions please: keychain to retain ssh key passphrase across reboots

I want to use ssh on a raspberry pizeroW to make persistent on-boot sshfs mounts to a central fileserver machine. I do not want the pi's mount target to query id_rsa passphrase every login/boot/mount. ...
user avatar
  • 21

1
2 3 4 5
8