Questions tagged [raspbian]

A Linux distribution for the Raspberry Pi, derived from Debian

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Why does following /etc/fstab trigger emergency mode on reboot?

When I append ro,noload to /etc/fstab and reboot, I am stuck in emergency mode. I am trying to mount filesystem as read-only and disable journaling to fix this issue. $ cat /etc/fstab proc /...
1
vote
1answer
26 views

Why does SHA512 hash of read-only file system change?

I followed a guide to make a Raspberry Pi boot a read-only file system. $ cat /boot/cmdline.txt dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait ...
0
votes
0answers
8 views

Can I clean /lib/modules/something from RasPI image?

I have the following content under /lib/modules$ du -hs * | sort -hr | head -n 20 55M 4.14.50-v7+ 55M 4.14.48-v7+ 55M 4.14.29-v7+ 54M 4.9.59-v7+ 54M 4.9.35-v7+ 54M 4.14.50+ 54M ...
0
votes
0answers
10 views

scan specific udp port for local network

So I have a Prometheus server which I use to capture input from port 512 UDP, I have it open, but now I have a problem checking which 512 UDP port on my network is the sender. I tried reading the nmap ...
1
vote
1answer
41 views

error when installing docker on raspbian stretch

I am trying to install docker on a rpi4 but I have this error when I run sudo apt-get install docker-ce docker-ce-cli containerd.io -y I have Job for docker.service failed because the control process ...
0
votes
0answers
18 views

How can I make scanbd work on Raspberry Pi

I am trying to configure a Raspberry Pi with Raspbian to be a scan server with scanbd and SANE for my Canon CanoScan LIDE 60. As the buttons are not directly supported, I had to manually compile the ...
1
vote
2answers
72 views

Emulate x86 on rasbian

I want to run a Starbound server on my Raspberry Pi running rasbian. The server is built to run on an x86 architecture, so my goal is to emulate an x86 architecture to run the server. Edit: box86 does ...
0
votes
1answer
17 views

Remount SMB file system if unmounted

I have a SMB share via my router that I use to share docs between 4 rPi4B's. I mount the drive on boot via gstab with the following line: //fritz.box/fritzbox/NAS_USB /home/pi/Documents/Dateiserver ...
0
votes
1answer
36 views

How can I make my printer actually print, not just accept print jobs and delete them from queue?

I installed a mint Raspberry Pi 4 with Raspbian and wanted to connect my Brother HL-2240D printer to it. I used the Driver Installation tool provided on https://support.brother.com/g/b/downloadlist....
0
votes
0answers
21 views

python3 script runs on startup using (crontab -e ) for sometime and after that it automatically stops. why?

i am using Raspberry Pi 3 to run a python3 script which runs VLC player to display images and videos, it run smoothly and continuousl when i run manually in the terminal like sudo python3 /home/pi/...
1
vote
1answer
20 views

help with boot failure because of fstab entry

Machine: RaspberryPi 4; OS: Raspbian SETUP: SD card for /boot and /root USB-C SSD for data, partitioned into 1 NTFS for samba, 1 EXT4 for other data SSH access only (and I don't have a micro HDMI so I ...
0
votes
0answers
9 views

Why does Buildroot not create any output

Simply put: my attempts at Buildroot are not creating/producing any files or images, or if they are, I cannot find them. I am attempting to build some work that I have put into a Raspberry Pi 4 with ...
0
votes
1answer
17 views

How to automatically create local home directories for LDAP authenticated users if the home directory does not already exist?

I have configured a raspberry pi 4 running raspian to authenticate users using LDAP. The LDAP server is hosted elsewhere. I am able to log in to the system as an LDAP user, but the user has no home ...
-2
votes
0answers
73 views

I tried to run Minecraft: Pi Edition on my raspberry pi 4B(raspberry pi os,2020,Jan.) but got these:

pi@raspberrypi ~$ minecraft-pi X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 153 (XFree86-VidModeExtension) Minor ...
0
votes
0answers
13 views
+50

pam_xauth isn't working with sudo: Unsupported authorisation protocol

I'm trying to set up xauth cookie forwarding between users, so that GUI programs could be run as any user via SSH. I have added the following line to /etc/pam.d/su and /etc/pam.d/sudo: session ...
1
vote
2answers
51 views

Shell script on Raspberry Pi fails to copy files from usb0 to directory

I am trying to write a shell script to copy specific files from an archive USB thumb drive to my Rasberry Pi 4b. The script is, in my opinion, brain dead simple. cp /media/usb0/archive/file1.zip /home/...
0
votes
0answers
18 views

Kate corrupting `org.kde.kate.desktop` file in Raspbian

I have a standard Pi3 running Rasbian 10 Buster, on which I installed Kate text editor. However, when I use the "sessions" function to store an editor session, Raspbian then complains about ...
1
vote
1answer
32 views

I am trying to execute a script that pushes to git every x minutes as a service, but git uses 100% CPU and high amounts of RAM

I am trying to execute a script that pushes to git every x minutes as a service, but git uses 100% CPU and high amounts of RAM while seemingly doing nothing. (I checked after 8 minutes and it was ...
0
votes
1answer
28 views

Lost control of Raspbian (Buster) system after modifying X11 (/etc/X11) Xsession script

I've unfortunately managed to lock myself out of my own playground (Raspberry Pi 4B, Raspbian Buster) after attempting what was originally going to be a solution to autostarting a network-kvm (synergy)...
0
votes
0answers
12 views

How to get a new build Kernel running

I am trying to build and run a realtime kernel for respective on my Raspberry Pi 4B 4GB. Therefore I followed the guideline here. I cross-compiled it several times as described there and also I tried ...
1
vote
0answers
40 views

Corrupted ext3 when accessing with ext4 subsystem

I have been facing issues when accessing multiple HDDs with ext3 using the ext4 kernel subsystem. # tune2fs -l /dev/sdj1 tune2fs 1.41.12 (17-May-2010) Filesystem volume name: <none> Last ...
2
votes
1answer
31 views

How to choose between different ways of accessing the internet without leaving network

I've got a Raspberry Pi connected to my home network router via Ethernet, it currently also accesses the internet through this. I would like the Pi to stay a member of my home network, to be able to ...
0
votes
1answer
38 views

Create hotspot in raspbian

I have a RPI 2 with raspbian OS. I have a WI-FI USB adapter too that it is connected to the pi. I want to use wlan0 as a hotspot but any try get failed. I tried this guide and some open source project ...
1
vote
2answers
38 views

Distinguish multiple USB sound cards by USB port they're plugged in

What I want is to be able to consistently tell apart multiple USB sound cards, identify them by the USB port they're plugged in and use that knowledge to play a sound on a speciffic sound card in my ...
0
votes
0answers
46 views

Can I echo to host's local /dev/tty1 with SSH?

I am logged in on a Linux machine. I want to send a message (to a physical screen of the host I'm calling) to be displayed in terminal. Like... chatting with whoever is using this computer at the ...
0
votes
2answers
132 views

apt packages could not be installed… but the dependencies are there

Apologies if this is a very basic question, but I'm new to working on a bare linux machine. So I'm trying to install git on a raspberry pi. When I run sudo apt-get install git-all I get errors ...
0
votes
2answers
63 views

User python app service does not start on boot

My user service which is a python script does not run on boot. It runs on raspbian OS as user pi. As most of these questions go I can start the service and it runs fine with systemctl --user start ...
0
votes
0answers
20 views

How to disable DNS client caching on debian stretch?

Im suspecting DNS caching to be the cause of some intermittent woes. Is it possible to disabled dns caching from the dns client side on debian stretch (raspbian)?
1
vote
1answer
22 views

Unison with Raspbian file server no longer works after upgrading my laptop to Ubuntu 20.04

I have a file server running Raspbian 9, and use Unison over SSH to sync my home dir between these two. This has worked well for the two years I was on Ubuntu 18.04, but after upgrading to Ubuntu 20....
0
votes
0answers
29 views

Set-time via timedatectl gets overwritten although ntp is set to false

Disabling the ntp and manually setting the time on my raspberry (stretch lite) with a RTC works fine. $ sudo timedatectl set-ntp false $ sudo timedatectl set-time "2020-11-29 10:00:00" $ ...
1
vote
1answer
77 views

Cannot mount Synology server on Raspberry Pi, but can access it in the file browser (mount error(2): No such file or directory)

I am trying to access the files on my NAS within programs and so I want to mount the network share. When using the line: sudo mount -t cifs -o username=correctusername,password=correctpassword,sec=...
0
votes
1answer
527 views

Once again: Failed to start LSB: DHCP server

i want to create something like this with my raspberry. ↑ │ Uplink │ ┌────────────┴────────────┐ │ wlan0 │ ...
0
votes
0answers
26 views

UFW rules not working as expected

This is how the UFW configuration looks like in my Raspberry PI Status: active To Action From -- ------ ---- 1194/tcp ALLOW ...
0
votes
0answers
29 views

Raspberry Pi QEMU stuck on emergency mode

so I've been trying to boot up a raspberry pi using qemu but after I put start.bat in and let qemu work for a bit it says It won't let me enter My start.bat file has qemu-system-arm -kernel kernel-...
0
votes
0answers
13 views

Running SOCKS server on raspi

I have recently bought a Raspberry Pi 4B, I'm trying to use the SOCKS proxy. Setup: Pi connected to the router via LAN/WiFi Pi acts an access point/hotspot Clients (PC, Laptop, TV ...) will be ...
0
votes
1answer
64 views

How to handle switch without argument?

I wrote a simple bash script for some USB webcam image settings and restarting of the webcamd service. At this moment, when someone uses the -t flag, they can use only "n" or "d", ...
0
votes
1answer
115 views

How to generate ppd file for CUPS

I want to add my printer, HP Laserjet Professional M1136 MFP, to CUPS utility on raspberry pi with raspian OS. I have got the relevant printer driver for debian OS from HP website which is a file with ...
1
vote
0answers
46 views

Raspberry PI (Octoprint,Debian) - v4l2 is not showing all possible webcam controls

I have Raspberry Pi used for Octoprint and I am using MSI Starcam 370i with it to monitor the prints. I know this camera has IR LED control, because this option is available on Windows 7 or Windows 10 ...
1
vote
1answer
168 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
61 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
58 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
51 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
39 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
92 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
79 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
62 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
46 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
77 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
88 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
2 3 4 5
18