Questions tagged [raspbian]

A Linux distribution for the Raspberry Pi, derived from Debian

Filter by
Sorted by
Tagged with
1
vote
1answer
242 views

Is it possible to have systemd open a program running in a clean terminal automatically after startup?

First off apologies for the simple question- there is more to it that I will explain below. I am new to Linux style systems and evidently I have A LOT to learn. With that said... My System I am ...
0
votes
1answer
80 views

Configure X to use a touch surface physically larger than the display?

I'm building a smart mirror (monitor behind a two-way mirror). I have a 27" infrared touch frame, which I want to use with a 22" monitor. One reason for the mismatched sizes is I am placing ...
1
vote
2answers
61 views

Is it possible to run raspbian OS without SD card or Live USB?

I developed a python based GUI application running on a Raspbian OS. During power outage my SD card gets corrupted often. I need to have a frequent back up OS image and writing it back when the SD ...
0
votes
0answers
62 views

FEH does not work in a rclone folder: “EOVERFLOW ; recompile with stat64”

I am trying to make a slideshow of pictures automatically retrieved from Google drive using rclone, but FEH refuses to display any picture from the mounted directory: pi@raspberrypi:~/mnt/gdrive/...
0
votes
0answers
47 views

Mounting Google Drive on Raspberry Pi fails with the message mount failed: exit status 1

I want to automatically mount Google Drive, but always run into This is the code I have used [Unit] Description=rclone [Service] User=root ExecStartPre=/usr/bin/mknod -m 666 /dev/fuse c 10 229 ...
0
votes
0answers
113 views

Using a watchdog timer to prevent hang on reboot

I have a Raspberry Pi running Raspbian GNU/Linux 10 (buster), which has an onboard watchdog timer. I have configured this with a test script that looks for /tmp/force-reboot.txt, and if that file ...
1
vote
1answer
92 views

Command 'xprintidle' returned non-zero exit status 1 in a systemd service

I have a Raspberry Pi with Raspbian Buster Lite which I start in KIOSK mode with autologin. The purpose is to display a single web page on the connected 7" touchscreen (with Chromium). If the ...
0
votes
0answers
74 views

Reading trace_pipe fast and in a certain time span with ftrace

I am new to all the Linux stuff and I am sorry if my question is a bit dumb. The documentation on ftrace is mostly for pretty advanced users and there's not that much information on ftrace in general. ...
0
votes
0answers
58 views

Piping dd with pishrink and ssh to remotely create a shrunk backup image

I usually create remote backup image of my raspberrypi from my macbook by using: ssh pi@xx.x.x.xx "sudo dd if=/dev/mmcblk0 bs=1M” | pv | gzip - | dd of=/Users/USER/Downloads/pibackup.gz There ...
1
vote
1answer
92 views

How can I start tmux in a readonly environment?

I'm trying to start a tmux session in a readonly environment, but receive the error: pi@raspberry(ro):~/development$ tmux error creating /tmp//tmux-1000 (Permission denied) This raspberry pi project ...
0
votes
0answers
6 views

Changing Raspberry's Raspbian Image by pluging USB key

I'm developing Application on my raspberry. When my Pi is started, application run automatically. But when I add functionalities to my application, I'd like to connect usb key on my raspberry. On ...
1
vote
0answers
123 views

Setting DISPLAY=:0 and XAUTHORITY=/home/pi/.Xauthority causes FFmpeg to run poorly

I've setup a webcam viewer that detects when a USB webcam is plugged in with a udev rule, then starts a systemd service that executes a script that starts an FFmpeg/FFplay webcam stream. I noticed ...
1
vote
0answers
15 views

Permission of installed electron application

I created an electron application that has a sqlite database with it. After creating a .deb installer and installing it into my raspberry pi, i'm getting some permission errors, the application is ...
0
votes
1answer
90 views

command in .bashrc is being executed twice

I am using .bashrc to execute a python script on system boot: sudo -u pi python3 /path/to/script.py and then I add @lxterminal to file /etc/xdg/lxsession/LXDE-pi/autostart to make sure a terminal ...
0
votes
0answers
33 views

Running a script from autostart results in poor performance

I have a bash script to show an FFplay stream of a usb webcam and that script is set to run on start as a .desktop file. The only problem is that when it is run this way I'm getting terrible ...
2
votes
1answer
247 views

Kex error when trying to ssh from raspberri pi to ubuntu server

I have a VPS server running Ubuntu 20.04 and OpenSSH 8.2p1, and a Raspberry Pi 3 running Debian Buster and OpenSSH 7.9p1. I can ssh into the VPS fine from my desktop, but when I try from my Pi, I get ...
1
vote
1answer
36 views

Installed 'gnu-screen' and now files looked at with 'less' appear in stdout terminal

Hello I am working on a raspberry pi with Raspian version 10 (buster), and I recently installed GNU Screen version 4.06.02. When I used to look at files with less, the contents would appear on what ...
0
votes
0answers
145 views

Jitsi Meet performance on Raspberry Pi Compute Module 3+

I’m trying to use Jitsi Meet on a Raspberry Pi Compute Module 3+ in Chromium. I’m not running anything else except those two. Unfortunately, the performance is miserable. I get 3 fps and a delay of ~5-...
0
votes
0answers
37 views

Group has correct permissions and user in group, but cannot access folder

I'm trying to access a folder but I'm not allowed to. The folder (folderA) permissions: $ ls -l drwxrwx--- 6 someuser groupA 4096 jul 24 21:26 folderA The users in the group (groupA): $ grep '...
0
votes
1answer
31 views

Make group execute single command with root privilege and parameters

I have an issue trying to execute a command through my webserver. What I have and what I want to achieve: I run an Apache2 webserver with group www-data (which is not a sudoer). A script which runs on ...
0
votes
0answers
13 views

Is /var/lib/dpkg/arch missing from some OSes causing /etc/cron.daily/dpkg to do excess SD card writes?

/etc/cron.daily/dpkg causes SD card updates every day in /var/backups (seen on Rasp PI Stretch Lite) even if there are no package changes. I think it is looking for /var/lib/dpkg/arch which does not ...
0
votes
0answers
12 views

Setup AIDE monitor and hashes are already mismatched

I’m setting up AIDE monitoring on Raspbian. I first tried over ssh but it timed out due to my timeout settings. Then I setup the new AIDE db directly on the RPi command line. I had to overwrite the DB ...
2
votes
0answers
1k views

How to undo “apt-get update --allow-releaseinfo-change”?

In an attempt to update a single package, I've inadvertently set myself up to upgrade to 'testing' releases for firmware instead of the stable ones. How do I revert my broad 'update' and specify ...
0
votes
2answers
93 views

There are two `dhcpcd` files in Debian buster - why is that?

I was digging into dhcpcd behavior, and I've found something that confuses me: dhcpcd vs. dhcpcd5. $ which dhcpcd /sbin/dhcpcd But dhcpcd is only a link: dhcpcd -> /etc/alternatives/dhcpcd, which ...
1
vote
0answers
34 views

tvservice -M command doesn't show any HDMI event changes in Raspberry Pi 3B+

I have a Raspberry Pi 3B+ device running raspbian and it is connected to an HDMI display. I need to monitor HDMI events like unplugging cable or attaching cable. However when I use tvservice -M ...
1
vote
1answer
79 views

Fix routing in raspbian 10 (make it persistent)

I have a raspberry pi running raspbian and I want to use it as a wired router (DHCP server on eth0 and DHCP client on wlan0). It starts to work but I have a problem that I can't fix. My routing table ...
0
votes
1answer
124 views

User systemd service to call rfkill (from NetworkManager) does not work at Shutdown

I writing my first systemd service which is a radio manager service. It is oneshot and is meant to run at system boot and system shutdown. It will call rfkill to either block or unblock Wifi and/or ...
-1
votes
2answers
119 views

See the output of the program started at boot

I have written a Python script test.py. The script is running continuously and occasionally outputs information. If the script is started in terminal, I can see the output. However, I want that the ...
0
votes
0answers
17 views

Font in Raspbian reverts to default on initial boot before font installed via “/etc/default/console-setup” is loaded

I've installed the "miniwi" font successfully on Raspbian by adding a font to the right directory and then editing /etc/default/console-setup and adding FONT="miniwi.psf.gx". ...
0
votes
0answers
22 views

Gamepad no longer pairs After reinstalling Raspbian Authentication errors. Pi4 Please help

I reinstalled Raspbian on my pi4 8gb. Upon reinstall neither my Razer Junglecat Left nor right connect on Bluetooth no matter what I try, even via terminal. I get this error: GDBus.Error.org.Bluez....
0
votes
1answer
517 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 ...
1
vote
1answer
364 views

Systemd: How to get a timer to run after a required service?

Currently, I have this systemd timer (my.timer): [Unit] Description=My Timer [Timer] OnActiveSec=30 Unit=my-subsequent.service [Install] WantedBy=multi-user.target The timer is set to activate ...
1
vote
1answer
92 views

Does Raspberry Pi OS support encryption on the RPI 1 WITHOUT extra hardware?

I have a RPI 1. The original. It is crucial for me, for basic bottom-line security, that all my machines are encrypted and cannot be booted/read once powered off without somebody entering the right ...
1
vote
1answer
40 views

Resolving own LAN IP when the network goes down

I have a headless music server (raspbian buster) running a storage server (minimserver) and a player (upmpdcli) on the same machine. When it's playing, it's fetching the music files via its LAN ...
85
votes
2answers
9k views

Why has Raspbian apparently been renamed into “Raspberry Pi OS”?

I was making some routine checks just now and realized this: Raspberry Pi OS (previously called Raspbian) Source: Raspberry Pi OS I found no mention of this in their blog, nor on the Wikipedia page. ...
0
votes
0answers
62 views

Add a generic hotpluggable network interface to a bridge

I would like to be able to add a generic, hot-pluggable network interface to a network bridge br0. I am running a system that needs to communicate with many hot-pluggable network interfaces (usb0, ...
0
votes
2answers
358 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) ...
1
vote
1answer
603 views

scp transfer becomes very slow when the file size is greater than 64KB

The initial problem was that when performing git clone via ssh the transfer rate is very slow, then it pauses and finally fails with connection reset via peer Background ssh server is a Raspberry ...
2
votes
1answer
1k views

DHCP and fallback IP - Can I have two different settings on the same network interface?

I have a project in which a user can change the RPI's networking settings via a Web Interface from the following: DHCP WiFi DHCP Ethernet Static WiFi Static Ethernet Each choice re-configures ...
0
votes
1answer
81 views

How can I install dpkg and aptitude on Raspbian?

I've downloaded and burn a yocto raspbian image, I found out I've no apt nor dpkg but only pkg-config and wget, how can I install them? Or at least how could I install dpkg in order to install apt in ...
0
votes
1answer
36 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/ ...
2
votes
0answers
66 views

Successfully start systemd service only if eth0 is not connected to the internet after boot

Problem: I am attempting to start a systemd service which enables a connection to an LTE/GSM provider by running a script but I only want the service to successfully start when eth0 is in the ...
0
votes
1answer
67 views

raspberry pi 3 b+ audio CONTROLS not working

So, Linux (Raspbian) finally throws a issue at me. I am using a raspberry pi 3 b+ . So, here's how it went. I got a starter kit with an outdated copy of Raspbian/Debian Linux, then I upgraded it to ...
2
votes
1answer
1k views

How to disable rfkill after it has been uninstalled from Raspbian

After performing a system update, I suddenly noticed the Wi-Fi on my Raspberry Pi 4 stopped working. No IP address. So I try obtaining a new lease (simple DHCP configuration) with dhclient wlan0, ...
0
votes
0answers
58 views

Need suggestions for improving startup performance of my Linux project

I'm working on a project and am having some trouble understanding the best way to deliver it. The project consists of a webapp that I've written and will be used on older/surplus computers. The idea ...
0
votes
1answer
111 views

Set default shell to tmux with options

Following one of the comments of one of the responses to this question I've set my default shell to /usr/bin/tmux, which works perfectly fine. But now I'd like if I could assign all logins to one ...
1
vote
2answers
220 views

How to append files to an image file and deploy it with `dd` to a device?

[EDIT: simplified and corrected] I would like to use the same method as Raspbian install which relies on dd deployment to a µSD. Meaning, from a minimal image file, deploy the "augmented" ...
0
votes
2answers
541 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
0answers
130 views

How to add write permissions to external drive?

I am using a Raspberry Pi 3 Model B+ running Raspbian as a personal Plex Media Server. I use a simple routine of ripping DVDs on my Mac, then SFTP'ing the files to the Pi onto the mounted external ...
1
vote
0answers
69 views

ARM version of MariaDB ODBC Connector

Is it possible to download a ARMv7 version of the MariaDB ODBC connector library (libmaodbc.so)? I started to build it from source but have got bogged down in compile issues. Its for a Raspberry Pi 3+ ...

1
2
3 4 5
18