Questions tagged [raspbian]

A Linux distribution for the Raspberry Pi, derived from Debian

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

udev rule for accessing a USB sensor not working under Raspbian (RPi Zero W)

I have a USB light sensor that I have been using for almost a year without any issues on a Raspberry Pi 3. I am now trying to use it on a Raspberry Pi Zero Wireless instead. I followed the sensor ...
1
vote
1answer
1k views

One physical device mounts two /dev/video devices; which will cause fswebcam to throw an ioctl error? [duplicate]

The presenting problem and symptoms: I've found that for each individual physical USB web camera I attach in Raspbian, a pair of such /dev/video devices is created. When I try to capture an image ...
0
votes
1answer
105 views

oneko: Error and exit

I'm working on a Raspberry Pi Zero W running Raspbian GNU/Linux 10 (buster). Other X11 applications like xlogo, xclock, xosview, and even xeyes works perfectly well, but I have no luck running oneko. ...
1
vote
0answers
522 views

UFW won't start at boot

I've got a little problem with ufw on Raspbian (Debian) on my Raspberry Pi 4 B. I have it as a server with public IP. It looks like it works like it should, but after reboot the ufw is inactive. I've ...
0
votes
2answers
439 views

Automatically Rename Files to date (YY-MM-DD)

Is it possible to automatically rename (mp3) files, to there date in YY/MM/DD format, using files on raspbian? I have a audio recorder (A external Device) set up to automatically record mp3 files to ...
0
votes
1answer
41 views

Whats the best way to get the current audio playback level?

I'm playing an audio stream with ffplay. Is there a simple way to get the current level of the audio that is playing? Not what the volume is set to but the actual audio levels being played? I need ...
1
vote
1answer
95 views

Write a systemd unit service to start an application with different arguments after an unclean exit

I need a systemd unit service to start an application without arguments and restart it with arguments should it crash. I have several applications written and they work. But you never know and ...
0
votes
0answers
379 views

SSH into WSL from Raspbery Pi

I have a windows 10 machine running WSL (ubuntu) and a raspberry pi. I'm able to ssh into the rpi from WSL without a problem, and I'm able to use Putty to ssh into WSL while all the Windows machine (...
0
votes
1answer
160 views

Raspbian (Debian) - Route some traffic though eth0 and some through tun0 (OpenVPN)

I am trying to configure a Pi running Raspbian to route some traffic through tun0 (OpenVPN). The sole program that I want routing traffic through tun0 allows me to specify the interface it uses, so ...
0
votes
0answers
43 views

Raspberry Pi server suddenly stops working

I have Raspberry Pi model 3 B+ which I'm using as a personal development server. Everything works great expect sometimes, out of the blue, my Pi starts acting up. For example ssh gives me a "could not ...
0
votes
1answer
176 views

Limit file size for FFMPEG AV Stats

I'm doing this with ffmpeg... nohup ffplay -reorder_queue_size 0 -nostats -i /tmp/stl-app/stream.sdp -protocol_whitelist "file,http,https,tcp,tls,udp,rtp" -nodisp -af astats=metadata=1:reset=1,...
0
votes
0answers
40 views

FFmpeg finish recording before than expected

I'm using the following command over a Raspberry Pi 3B+ running raspbian stretch to record video from a USB webcam with ffmpeg ffmpeg -loglevel quiet -re -use_wallclock_as_timestamps 1 -f v4l2 -s ...
0
votes
1answer
381 views

Coproc in bash script

I'm trying to do a simple shell script that will make my raspberry's bluetooth discoverable but i'm facing some issues. My raspberry is running Raspbian. Running this through command line works ...
0
votes
0answers
304 views

Mapping one Gamepad Button to press a Key Combination

As part of a small project, we need the option of pressing a button on a gamepad be recognized like a keyboard shortcut (e.g. Ctrl+H) We first tried to solve the problem with "qJoypad", but did not ...
1
vote
2answers
2k views

usbmount not working with MountFlags=shared on newer kernel

On the Raspbian Stretch, usbmount can be made to work by changing the MountFlags option in /lib/systemd/system/systemd-udevd.service from slave to shared. On Raspbian Buster (Kernel 4.19.58-v7l+), ...
0
votes
0answers
11 views

RapberryPi quits all working applications except folders

I have raspberry pi 3 B with raspbian. I am running some applications on the Raspberry and some of the time the Raspberry shows the lightning bolt logo (means that have some power problem). My ...
2
votes
0answers
224 views

apt-get throwing errors: Internal error: Oops: 17 #1 ARM

I bought a new raspberry pi zero w. I flashed the raspbian lite image on a sd-card, the pi booted normally. But when I try to update it with sudo apt-get update sudo apt-get upgrade I get the ...
1
vote
1answer
205 views

Raspbian suddenly not executing most commands anymore

This seems really odd to me. I have a raspberry pi running Raspbian. I use it to run a shell script from time to time and pinhole. Today I noticed that its not working anymore. When trying to run the ...
2
votes
1answer
641 views

apt --fix-broken install fails

I wanted to upgrade my packages on my raspberry pi, so I've successfully done a apt-get upgrade. After that, I obviously wanted to do an apt-get upgrade but I had an error. Reading package lists... ...
0
votes
0answers
1k views

Failed use Fail2ban: No file(s) found for glob /var/log/audit/audit.log

I'm tring use a Fail2ban on Raspbian follow this tutorial, but it didn't work, and appear this error: root@raspberrypi:~# fail2ban-server No file(s) found for glob /var/log/audit/audit.log Failed ...
1
vote
1answer
960 views

Logwatch not sending email

I'm trying to send logs to my email. I'm doing this via SSH. I edited the file: /usr/share/logwatch/default.conf/logwatch.conf and edited these lines: Output = mail Format = html Encode = none ...
2
votes
1answer
416 views

Treat 2 displays as 1 in Raspbian

I am running the latest Raspbian which uses LXDE and Openbox, and I want to treat the 2 discrete outputs as 1. When I click Maximize or full screen, I want the application to span both monitors. ...
3
votes
1answer
392 views

How to use fbi from systemd service

I'm trying to display images on a television from a system with no Xserver (Raspbian Buster). I can't get fbi working from a systemd service but it works through ssh terminal. The following works ...
3
votes
1answer
391 views

Maximize RAID1 efficiency when using usb 2.0 and usb 3.0 interfaces

I have available a single USB 2.0 port and a single USB 3.0 port and would like to set up two HDDs (both USB 3.0) in RAID1. Not entirely sure how mirroring works, but was wondering if there was some ...
0
votes
0answers
249 views

Can't pipe stdout of a python script that runs in background to file

I have a python script myscript.py on a RaspberryPi with Raspbian that starts on boot via rc.local file. Since it has infinite loop in it I need to run it in background. So far so good but I also want ...
1
vote
1answer
870 views

mosquitto_sub –d –t armtronix_mqtt Error: Unknown option '–d'

What information can be gleaned for corrective action to enable subscription to the example MQTT topic? The goal is to reproduce the test (subscribe & publish), per the instruction's Step 3: an ...
0
votes
1answer
97 views

SSH connection stopped by router

I have a raspberry pi 3 running Raspbian connected through ethernet to my router (Orange Livebox), and I used to SSH into it through the local network with 192.168.1.99 (I set a static IP) or remotely,...
1
vote
1answer
26 views

Raspbian default MQTT Server?

As I understand it, Raspbian (2019-04-08-raspbian-stretch-full.img) features Node-Red out of the box. I have seen the youTube examples that show Node-Red configuring an MQTT server and left to wonder ...
1
vote
0answers
187 views

Raspian - emails won't send in postfix

Context: I'm working with my raspberry pie in my local private network. I just want to be able to let cron send me emails, but instead I get this following error from sending my last email. To see ...
2
votes
1answer
5k views

mail: Can't send message: process exited with a non-zero status

Any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this? sudo apt-get update sudo ...
1
vote
2answers
1k views

How do I install the syslinux package on Debian Stretch?

I've installed Raspbian Stretch and run the following: sudo apt-get update sudo apt-get upgrade When I try installing syslinux I get this: $ sudo apt-get install syslinux -y Reading package lists......
0
votes
1answer
69 views

get an ip automatic at direct connect

I have a raspberry pi with raspbian and on the eth0 port it is connected to my network and gets an ip address via dhcp. But now I want to unplug the ethernet cable and just use a new one that ...
2
votes
2answers
4k views

Kodi not starting on Raspbian Buster Lite with No GUI error

I have been trying to launch Kodi on my Raspbian Buster. I did a fresh install of Raspbian Buster Lite and then installed Kodi. sudo apt install kodi As I don't need the GUI I think I just have to ...
2
votes
0answers
79 views

Why do USB drives automount in /media/pi/?

I have a Raspberry Pi 3B+. At system installation of Raspbian stretch, user (sudoer) pi is created by default, belonging to these groups: pi adm dialout cdrom sudo audio video plugdev games users ...
1
vote
2answers
469 views

Trouble installing libbz2-dev on Raspbian Buster

I have been trying to install ROS Kinetic for my Raspberry Pi 3 for the past few weeks, but have been encountering numerous problems. The most recent problem is that I am trying to build my catkin ...
1
vote
1answer
372 views

Fsck ask for repairs during boot

At Raspbian, there is a /boot/cmdline.txt file where the option fsck.repair can be defined. As far as I know, the valid values are: yes (always repair) no (never repair) preen (default; repair if it ...
2
votes
1answer
100 views

How to exit shell which was opened within script?

I'm writing scripts to automate the installation and configuration of my raspberry pi. My problem is that the official installation script of oh-my-zsh opens a new shell - the zsh. So that practically ...
8
votes
2answers
370 views

dash not expanding glob wildcards in chroot

I'm working with a copy of Raspbian, installed with pi-gen. Pi-gen runs in a Docker container with a volume for the filesystem, running debootstrap and custom scripts inside a chroot to the volume. I'...
1
vote
1answer
477 views

Teamviewer vpn alternatives

I have a pi and a pc, both connected to the Internet but not visible to it. Normally I would use TeamViewer to connect both and use the vpn feature to get a Bridge. Now my Problem is that Raspbian ...
2
votes
1answer
29 views

Issue with directory ownership when mounting usb hdd

I am hoping someone might be able to help explain an issue I have with regards to directory permissions I am getting when trying to mount 2 external USB HDDs. For reference this is on Raspbian but I ...
1
vote
1answer
71 views

Open input dialog via script on x server

I want to make a script with an if that only runs if the user Input the Right password. Like this: Some Code.. if(Input == "password"){ Do something } More Code.. Everything runs on a x Server ...
0
votes
1answer
35 views

Storage problem, missing 5.1G

I am facing a storage problem on may SD card but I can't find the directory that might cause the problem. I can't find those 5.1G hidden in pi directory pi@domoticz:/home $ sudo du -xksh ./* | sort -...
0
votes
1answer
36 views

Can I download raspbian update packages onto a Redhat Linux server?

I am trying to create a Redhat Linux server-based Raspberry Pi repository, and I just need to know if it's possible to download the relevant update files from the Raspbian site.
0
votes
1answer
70 views

Check if networkfile exists

I've Googled a lot but I can't fix this. For local files I get it to work, but for a networkfile it doesn't. I want to check if a file on a network exists, but how? I tried this in my terminal: [ ...
2
votes
1answer
203 views

How do I install the wimtools package on Debian Jessie?

I've installed a fresh install of Raspbian Jessie and run the following: sudo apt-get update sudo apt-get upgrade Then trying to install wimtools I get this error. $ sudo apt-get install wimtools ...
0
votes
1answer
2k views

Issue using pip3 to install “face_recognition”, packages do not match hashes

When I give command pip3 install face_recognition in the raspberry pi terminal, It shows this error: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the ...
1
vote
1answer
72 views

What to use for advanced kiosk mode that starts other programs with minimal Ui

What I want: I want a kisok mode application that starts/runs a shell script that opens a vnc viewer. Also it needed to disable all key funktions like alt + f4 or alt + tab etc. Thats it. What I ...
3
votes
0answers
47 views

Where is the @ sign in front of my raspbian-bash-prompt coming from? [duplicate]

There is @-sign in front of my raspbian-bash-prompt (headless) which I can't determine where it is coming from. $ ssh pi@raspberrypi Linux raspberrypi 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 ...
2
votes
1answer
67 views

Get back my old raspbian desktop from an accidental switch to LXDE

So, I was tinkering around on my laptop, which has the raspbian for desktop (Debian with the raspbian desktop environment) and accidentally double clicked on the file saying "LXDE" and it changed my ...
0
votes
1answer
39 views

How to disable hidden key of wifi network Access Point [closed]

I am using Raspbian. The problem arised when I changed my wifi AP's hidden key by inserting the following line in wpa_supplicant.conf scan_ssid=1 When I try to view the info of wpa_supplicant file ...

1
3 4
5
6 7
18