Questions tagged [raspbian]

DO NOT use this tag for new questions; Identify actual OS e.g. Raspberry Pi OS-Buster . Raspbian renamed Raspberry Pi OS (32-bit) is a family of GNU/Linux operating systems derived from Debian. Version numbering follows that of Debian and the current stable is 11 (Bullseye). Raspberry Pi OS is the most widely used Pi based distro.

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

How to set up an interrupt for a PWM pin

I have a GPIO pin set up as a PWM. I would like to set up an interrupt every time the PWM signal goes high. Is there any way of doing it? I tried mixing the pigpiod library and rpi library, but when ...
George's user avatar
  • 99
0 votes
0 answers
233 views

Digital Frame with RaspberryPi zero

I'm building a Digital Frame with a Raspberry Pi Zero W. To do that, I bought a LCD Panel and I connected it to my Raspberry Pi Zero W. I use Raspbian Lite because I don't want to use all Pi Zero ...
Federico's user avatar
  • 143
2 votes
2 answers
12k views

Rasbian on a banana pi

I'd like to run Rasbian (not bananian) on my Banana Pi M1, but the image I found for that is Wheezy (http://www.lemaker.org/product-bananapi-download-23.html) so the first thing I need to do is update ...
NH.'s user avatar
  • 139
0 votes
1 answer
767 views

How can Rpi python 3 uses PCA9685 PWM controller to change direction and position of a servo?

I need help understanding the code in the turn.py file, which is a part of the this project, please look #!/usr/bin/python3 # File name : car_dir.py # Description : By controlling Servo,the camera ...
Vaibhav's user avatar
  • 51
1 vote
2 answers
2k views

Read USB RFID via tty1 in Python very unreliable

I have an RFID reader (Neuftech USB RFID Reader, https://www.amazon.de/Neuftech-Reader-Kartenleseger%C3%A4t-Kartenleser-Kontaktlos/dp/B018OYOR3E) that attaches via USB. Via /var/log/syslog I found out,...
retrocheese's user avatar
2 votes
2 answers
736 views

How to automate filesystem expansion

I have 3 commands I have to run manually to expand my USB filesystem. I am looking for help on automating this in a script that does not need user input at all. I understand you can expand the ...
presish's user avatar
  • 35
0 votes
0 answers
214 views

Controlling LED Matrix display with TF-S6UW0

I am using Rasberry pi 4 (4GB RAM version). What I am trying to do is be able to set the text of the matrix screen using a command or by calling a script (preferably in python). I am using a P10 ...
Panagiotis Iatrou's user avatar
2 votes
2 answers
256 views

Analog Audio Output resets to 0 automatically

I have a RP 4 and I am trying to get sound out of the minijack socket.. The GUI loudpseaker icon offers analog & HDMI. When I select Analog or HDMI, push the volume to max and close the tab, the ...
Christopher Lowden's user avatar
0 votes
0 answers
124 views

Create folders with FTP

I am using the RPi as an FTP Server using vsftpd and trying to save logs and images from a Windows PC using the program Cognex Insight Explorer, when using a path in Windows I can save the file ...
F430gx's user avatar
  • 1
1 vote
1 answer
556 views

Issue with nodogsplash saying it needed updateed libmicrohttpd-dev, but I seems no new update have been updated?

2020][1900](src/main.c:541) Starting as daemon, forking to background [5][Thu Feb 27 11:50:04 2020][1901](src/main.c:254) MHD version is 0.9.62 [3][Thu Feb 27 11:50:04 2020][1901](src/main.c:270) ...
William Vandrake's user avatar
0 votes
1 answer
313 views

how to connect Raspberry Pi to windows database

I am very new to Raspberry Pi, I have written a program in python and connection with PostgreSQL. I am running python application on Raspberry Pi and my database is on Windows server in LAN. Can ...
Python_Beginnner's user avatar
10 votes
3 answers
20k views

ERROR: Environment '/home/pi/.virtualenvs/cv' does not contain an activate script

I am trying to install opencv 4 on my raspberry pi 4 using these instructions from this website but I have come across an error when I run the command mkvirtualenv cv -p python3. The error is found ...
user3880651's user avatar
1 vote
0 answers
93 views

Combining programs dht11 and soil moisture sensor

Hey I'm doing a project and I need to combine programs of dht11 sensor and soil moisture sensor..but they're in different directories and their libraries also. I'm not able to run them simultaneously ...
shreeja kumbargoudar's user avatar
0 votes
0 answers
118 views

Gateway Keeps Resetting to Old Gateway

I'm not that familiar with Linux but I'm running a pi-hole. I've just changed my network config on my router (Draytek) that supports VLANS and interlan routing. I have the PI on its own VLAN (2) LAN 3,...
willzebeast's user avatar
0 votes
0 answers
20 views

dhcpcd working when its not installed, but doesnt work when its installed

So ive been using dhcpcd all this time without realising that the package isnt installed. The problem is that the ip on my laptop isn't the same on the raspberry pi (which is hosting an ap). When i ...
user115196's user avatar
1 vote
1 answer
577 views

No Audio on Raspbian

I tried many answers on different websites. Raspberrypi.org, this site, linux.com, and others I cannot list. I tried Analogue with sudo raspi-config. I also tried amixer cset numid=3 1. I tried ...
Achak Claw's user avatar
2 votes
1 answer
614 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
kzhao1228's user avatar
6 votes
5 answers
10k views

How to start a python script at boot [duplicate]

What I tried: crontab -e creating a desktop entry at /home/pi/.config/autostart edit /etc/rc.local My python script: import os from gpiozero import Button from time import sleep from pynput....
Jannis's user avatar
  • 69
0 votes
2 answers
1k views

Hardware PWM on Raspberry Pi 2 using .NET Core 3.1

I would like to use hardware PWM on a GPIO port to generate RC-5 IR codes with an IR LED. I read that .NET Core now has PWM support and that the Pi has at least one PWM-enabled GPIO pin, but I can ...
Olly's user avatar
  • 113
-1 votes
2 answers
1k views

Broken /etc/network/interfaces file

So at first I had a problem with my Raspberry Pi connecting to any Wi-Fi connection because of an error which sounded like this: "no wireless interfaces found". I've tried several fixes but ...
Alex's user avatar
  • 9
1 vote
1 answer
2k views

VNC/Screen Mirroring over raspberry pi 4 hotspot

So far found ways to set up a VNC server with the local network. However, I'm looking for a way to create a hotspot that bridges a wifi connection on the pi and host a VNC server (such as RealVNC) or ...
Jacob Christianson's user avatar
0 votes
1 answer
103 views

How to use a python program to edit/save/update variables in a different program? [closed]

Like the title says, I want to dynamically update variable values in a program from another program. For instance: Master pulls variable of 1, from slave program Master updates variable from 1 to 2. ...
Couch Mango's user avatar
1 vote
3 answers
1k views

Use Scratch 2 (and NOT Scratch 3) on raspbian

I want to use Scratch 2 on raspbian. I googled and found that latest raspbian buster comes with Scratch 3 (which I don't want to use). Based on further searches, I have now downloaded raspbian Stretch ...
publicgk's user avatar
  • 119
3 votes
3 answers
7k views

Would it be possible to setup ExpressVPN on the same PI as the Pi-hole?

I've managed to setup a PI-hole and my router is using the pi-hole as the DHCP server, and all my devices still have internet access. I would also like to install ExpressVPN on the Pi, so that all my ...
Quintonn's user avatar
  • 141
1 vote
1 answer
84 views

ir transmitter and receiver raspberry pi false edge detection

first time posting here so i will try to explain my best . I have 1 infra red transmitter on one side and second on other side , and when someone passes through i want to detect and call some function....
Raspu's user avatar
  • 21
2 votes
1 answer
1k views

Unable to work around Raspberry PI 4/4GB USB issue

I've recently acquired a Raspberry Pi 4/4GB, which I'm planning to use in place of a failed motherboard/GPU in an old 24" iMac, re-using only the display, PSU, fans and speakers. Initially, I'm at ...
Andrew Ebling's user avatar
1 vote
1 answer
776 views

Boots to Emergency Console, Unable to check boot partition filesystem

Switched to F2FS for the root partition. Upgraded from stretch to buster by doing an apt full-upgrade. Now the system goes to the emergency console because the filesystem check dependency fails. It ...
The Altruist's user avatar
1 vote
1 answer
385 views

Raspbian cannot resolve raspberry.org subdomains DNS for updates

Newbie here.. I'm having issues with accessing archive.raspberrypi.org. I first thought I merely broke my installation at home but I've just installed a fresh Raspbian OS in virtualbox on a different ...
Jory Hogeveen's user avatar
0 votes
0 answers
50 views

Probably a basic AF request. for i in range (modified)

Trying to be the half-term hero I know I can be. I have a Pimoroni Blinkt unit that I'm running a for i in range command on creating an endless loop. That's cool, but how do I modify the code to make ...
Peter James's user avatar
2 votes
1 answer
417 views

My raspberry pi and laptop are connected to my mobile hotspot but it's not connecting to VNC nor putty [closed]

I have connected both the laptop and raspberry pi to my mobile hotspot it's showing connected in the connected devices as usual but when I entered the raspberry pi IP address in VNC it's not getting ...
Syed Riyaz's user avatar
1 vote
0 answers
56 views

Most compatible Java on Raspbian

I have run my .jar code on Raspberry Pi 3B - Raspbian Buster with Oracle Java 8 (1.8.0_241). The code will completely run after ~80 seconds. It's read that some java versions/models (like openJdk, ...
M. Rostami's user avatar
  • 4,323
0 votes
1 answer
210 views

Wants to install Eclipse Kura but failed to set up internet network after removing dhpcd5 package

I am trying to install Eclipse Kura on my raspberry pi. From the Kura website, it is said that the package dhcpcd5 is not compatible with Kura. After removing the package, I tried to follow the ...
Dr Drill's user avatar
4 votes
1 answer
2k views

USB ports heavily lag or disconnect completely

We have a Raspberry Pi 4B running Raspbian as a lightweight management console. (A cost effective way of managing network devices over RS232 and such.) I've noticed some problems with the USB ...
Adambean's user avatar
  • 220
0 votes
1 answer
3k views

How to use Raspberry PI4 as a security device for the network?

How Can I use Raspberry Pi 4 as a antivirus or a security device in a Network? I am trying to make the raspberry pi become a security device example below. ---(Internet)----(PI 4)-----(Local-PC) ...
Dhruvadeep's user avatar
0 votes
2 answers
969 views

Raspberry Pi 4 network boot without tftp?

we want to boot the PI 4 from the network without an sd card. We already have an old system that works on the old pis with a minimal image that gets from the DHCP server the boot server. Is something ...
coddust's user avatar
0 votes
0 answers
567 views

How can Rpi python read SPI ADNS3080 Optical Mouse Sensor's register values?

I am using ADNS3080 optical flow in raspberry pi 3. I set SPI connection between raspberry and ADNS3080 optical flow. I used spidev library for reading values in python. I want to read delta_x and ...
erenpostaci's user avatar
1 vote
0 answers
449 views

Headless Shutdown of Raspberry Pi using Adafruit-GPIO-Halt

I am new to Raspberry Pi and am trying to use the headless shutdown module provided by Adafruit. I downloaded the script of Adafruit-GPIO-Halt to my Raspberry Pi, installed it to the /usr/local/bin/...
Atharv Goel's user avatar
2 votes
0 answers
271 views

dotnet Core 3.1.1 on Raspbian - but can't find runtimepack

I'm at wits' end, trying to figure out why my HelloWorld console app doesn't work. my Raspberry is a B3 running Raspbian Buster Lite. dotnet --info shows the following: I followed the instructions ...
erict's user avatar
  • 123
1 vote
0 answers
1k views

Getting ftdi_sio ttyUSB0: failed to get modem status: -32

Iam using Raspberry pi 3b along with Xbee and Sixfab 3G/4G base sheild. getting ftdi_sio ttyUSB0: failed to get modem status: -32 usb usb1-port1: disabled by hub (EMI?), re-enabling... and also ...
Ramana's user avatar
  • 11
0 votes
0 answers
196 views

How does the raspberry shake software work?

Correct me if I'm wrong. I just need an sd card with Raspbian installed and the software for raspberry shake. Because I want to use my own sd card, not the one Raspberry Shake came with. But I'm ...
olivakyle's user avatar
0 votes
1 answer
1k views

Raspicast don't work on my Raspberry 4

I have tried to make my Raspberry behave like a Chromecast, following tutorials like this one: Raspberry Pi Chromecast Alternative using Raspicast There are lot of other tutorials, but they have all ...
Marko's user avatar
  • 1
1 vote
0 answers
35 views

Raspberry Pi 4 - Failed to start (squished text situation)

My Raspberry Pi 4 has Raspbian Buster installed and everything was working fine. The last change I made was to the /etc/fstab file relating to booting an external USB drive. Now when I boot up I get ...
Brian's user avatar
  • 11
1 vote
1 answer
4k views

Bridge WiFi with ethernet on RPi 3B+ without NAT

I would like to bridge eth0 and wlan0 on Raspberry Pi. The connections are as follows: ________________________________________ | RPi ...
Cob's user avatar
  • 11
5 votes
2 answers
2k views

Raspbian: dm_mod missing after mkinitramfs on luks encrypted partition

It appears that after a kernel update happened, and rebooted for, Raspbian will no longer boot. (RPi4) After entering the (correct) encryption key when prompted, the mount fails with error: Cannot ...
Adambean's user avatar
  • 220
1 vote
1 answer
1k views

Budgie DE on Pi 4

I've tried to install the budgie desktop on my raspberry pi 4 for almost a week now. people on discord told me to run a set of commands that allegedly worked for them. However, I have a fresh raspbian ...
lockheed silverman's user avatar
0 votes
2 answers
2k views

RPi4 drops Wifi - how to debug?

I have setup a Raspberry Pi 4 with a basic Home Assistant installation, and the RPi seems to drop the Wifi connection randomly - i.e. I am not able to connect to it from another device. I can "force" ...
JRHansen's user avatar
1 vote
0 answers
320 views

Raspbian boot - override, cancel 'X' on-the-fly?

My question is similar to that old one here, but which never got a correct answer AIUI: Boot without starting X-server But let me restate: Having Raspbian-Pi set up to autostart the X.org desktop (...
NimbUs's user avatar
  • 23
2 votes
0 answers
123 views

Tuning watchdog cpu usage

I've enabled the watchdog module # /etc/modules i2c-dev bcm2835_wdt And installed and activated the watchdog daemon with the following configuration: # /etc/watchdog.conf realtime = yes priority =...
jabozzo's user avatar
  • 121
2 votes
1 answer
228 views

Raspberry Pi 4 B unmounting and mouting intermittently

I had two drives on my Raspberry Pi 4 B and they kept being unmounted, I moved one to my router and it seems to be working fine now... I read about max_usb_current=1 doesn't make any difference on ...
Badjano's user avatar
  • 189
6 votes
3 answers
7k views

Is it possible to record the screen and Audio on a Raspberry Pi 4 model B

I wanna record my screen and audio, Is It Possible? how to do that? I use Raspberry Pi 4 Model B. I still new, I hope you can help. thanks.
Kevin's user avatar
  • 161

1
21 22
23
24 25
147