Questions tagged [raspberry-pi]

Low-cost single-board computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

Filter by
Sorted by
Tagged with
-1
votes
0answers
15 views

Kali Linux not booting on RPi 3b +

I have flashed Kali Linux on raspberry pi 3b+, but it does not get pass this screen: It just hangs there with a blinking line at the bottom, as if it waits for input. I have no keyboard to test with, ...
0
votes
0answers
43 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 ...
0
votes
0answers
5 views

noip2 Dynamic Update Client reports wrong address

I have a Raspberry Pi 3b connected to an AT&T hotspot in an attempt to monitor and access devices at a remote location. From the Pi, I can browse to whatismyipaddress.com, ipchicken.com, ...
0
votes
0answers
17 views

Cron Job (shell script) seems to work, but doesn't add anything to the log file like when I run it manually

#!/bin/bash # CHANGE THESE auth_email="user@example.com" auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings zone_name="example.com" record_name="www....
1
vote
1answer
20 views

Shutting off power with a non-system r/w ext4 volume mounted

I'm running Raspbian off a read-only ext4 volume. I also have a read/write usb flash volume (ext4, sync) mounted via fstab that runs a simple application that is expected to write occasionally. While ...
0
votes
1answer
33 views

How fast is an IO interrupt in Linux versus bare metal? (ARM, Raspberry Pi)

I read that an interrupt in Linux (this was about a Raspberry Pi) can take a "long time" to process or let's say "start doing what the programmer wants". Is that true and how bad is it? Is there a big ...
2
votes
0answers
25 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 ...
0
votes
0answers
11 views

How can I rebooting whes there hasn't been an ssh session in a while?

I have a Raspberry Pi with a problematic sshd. Periodically, it just starts refusing connections and will continue to do so until restarted. I could spend hours debugging that or I could just make a ...
1
vote
0answers
8 views

udev doesn't work when usb otg device is attached during boot

I have a setup consisting of a raspberry pi 3 connected to a raspberry pi zero via OTG usb connection. I have followed the following tutorial exactly: http://raspberryjamberlin.de/zero360-part-2-...
2
votes
1answer
35 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 ...
3
votes
0answers
28 views

How to reliably detect a USB drive just after boot on Linux

We're building a device based on Raspberry Pi. And we'd like to add an option to detect plugged USB drive on when the device boots, to e.g. perform a firmware update. There's a problem that the USB ...
1
vote
0answers
20 views

Minimum custom-linux build to run only QEMU no GUI [closed]

I have this cool Idea of running server virtual hyper-visor guest system & access them from 10-15 law powered device like Raspberry-pi/Asus Tinker board. So employees do real stuff with out ...
1
vote
0answers
19 views

Raspberry Gammu No response in specified timeout. Probably the phone is not connected

I use gammu with my TP-LINK dongle for a while in my Raspberry PI 3B+. Everything worked fine (after hard configuration). Yesterday I tried to change the SIM card and gammu stop working. So I switched ...
0
votes
1answer
28 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.
-2
votes
1answer
187 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
22 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 ...
1
vote
1answer
12 views

Feeding “mixed” NMEA to NTP for time correction

I am trying to correct the time on my Raspberry pi by feeding NTPD with GPS nmea data (via serial) and PPS (via GPIO pin) using the following tutorial via shared memory "SHM". http://www.unixwiz.net/...
0
votes
0answers
12 views

Getting audio error on Raspbian with Google Assistant: PortAudioError

I am trying to install Google Assistant on my Raspberry pi using this tutorial: https://pimylifeup.com/raspberry-pi-google-assistant/ The difference is that I am using a Waveshare WM8960 Audio HAT ...
3
votes
0answers
40 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 ...
0
votes
1answer
35 views

Is it possible to put the output of one command into the middle of another [duplicate]

I am asking if there is a way to automatically put the output of a command into the middle of another. multimon-ng outputs: ZCZC-WXR-TOR-029037+0030-1051700-KEAX/NWS and i want that output to get ...
4
votes
1answer
33 views

Will “sync” wait?

I am using juice4halt (a small super-capacitor UPS) on my Raspberry Pi, but I found out that the amount of time halt is taking is too long, and so the system will poweroff because of undervoltage. So ...
0
votes
0answers
38 views

How to use read-only permissions to prevent corruption on a writeable filesystem?

I'm developing an embedded Buildroot OS for the Raspberry Pi. This system will be turned off by simply removing power (there will be no shutdown timer), therefore it must be able to handle poweroff ...
0
votes
0answers
18 views

Raspbian: How can I restore the default toolbar or add apps from the command line?

So I was messing around with the toolbar and ended up deleting the whole panel. When I rebooted my Pi, the panel came back, but it was empty, so I opened the toolbar editor, and was able to add an ...
0
votes
1answer
57 views

RPi + Buildroot: random: crng init done (not enough entropy) - how to configure rng-tools

I'm designing a minimal custom Buildroot embedded OS for the RPi0w. My current iteration takes a very long time to fully boot - several minutes with a keyboard and mouse plugged in, and tens of ...
2
votes
1answer
55 views

How to send a hex bytes to a serial port in debian?

I have a device connected in my raspi3 pi@raspberrypi:/home $ sudo bash main.sh %s\t%s\n 0 Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter %s\t%s\n 1 Bus 001 Device 005:...
1
vote
0answers
52 views

Why doesn't kernel module run my python script? [closed]

I know that we can call user space from Kernel Module, using the call_usermodehelper function. Prototype call_usermodehelper (const char * path, char ** argv, char ** envp, int wait) Where const ...
1
vote
1answer
54 views

Downloading github code

I found this article when trying search how to renew DNS on noip. https://github.com/loblab/noip-renew But i don't know how to use it. I saw the usage as below: Code: Select all Usage Set your ...
1
vote
0answers
15 views

How to control the Bit Rate (mbps) of Raspberry Pi Access Point

I have two "Raspberry Pi 3 B+" boards which are required to be connected. One Raspberry Pi is configured as Access Point (AP) and the other one is just a Client. When both are connected, I write the ...
2
votes
0answers
38 views

Redirect all keyboard input to a detached screen session

I'm trying to build a headless system using a Raspberry Pi; I have two programs runnning on it, one to catch all the input from a barcode reader (a simple keyboard emulation device) and one to display ...
0
votes
0answers
30 views

Why is my PATH so small when opening SSH session through python subprocess?

I'm currently working on a project that requires me to use a python subprocess to execute "i2cset" on a Raspberry Pi2 through SSH but my code keeps telling me that my Raspberry Pi can't find "i2cset". ...
0
votes
0answers
33 views

PiVPN and Stunnel

I've been searching online for a tutorial on configuring stunnel with PiVPN but haven't found anything. Wondering if anyone has had any experience?
3
votes
0answers
53 views

Why is my client getting two IP addresses when connecting to WiFi?

A sub-question: why is my client requesting a specific IP address without a dhclient running? I have two access points. One is serving up two SSIDs, the other just one SSID. When I connect to the two-...
0
votes
0answers
27 views

NFS server won't start at boot/reboot on Arch Linux ARMv7

I've installed Arch Linux ARM on Raspberry Pi 3. Then installed nfs-utils to be able to mount my USB HDD on network. Started and enabled nfs-server service (systemctl start nfs-server && ...
1
vote
0answers
491 views

Cifs Issues - mount error 2 no such file or directory

I am trying to permanently mount a NAS drive to my raspberry pi (running debian) by adding a line to the file /etc/fstab the line is like this: //192.168.a.real ip/photo/PhotoFrame /home/pi/NAS/...
0
votes
0answers
31 views

Raspberry Pi Zero W, Pi camera with motion error

I got Motion working on my Raspberry Pi Zero W Stretch. Everything was working fine untill I shut it down to take a break. After i turned it back on it doesn't suddenly work. This is the error I get. ...
1
vote
1answer
60 views

How do I capture RPi’s hdmi audio output and stream it to LAN

I have a RPi that is running videos with omxplayer and outputting to my tv. HDMI video and audio out work just fine, but I would additionally like to stream only the audio to my network (via RTP or ...
0
votes
0answers
46 views

Download specific Kodi version on Raspbian

I have installed minimal Raspbian on my Rpi 3. On top of that, I installed Kodi. So far so good. However, the add-on I want to use does not deal very well with Kodi 18 so I would like to install the ...
0
votes
1answer
352 views

Hostapd doesn't work for one of my device

I'm trying to set up my Raspberry Pi Compute Module 3+ as an access point with an access point with a WiFi dongle. I'm following this tutorial : https://elinux.org/RPI-Wireless-Hotspot. I can set up ...
0
votes
0answers
16 views

Picture not working on fedora arm on raspberry pi

I have an issue booting Fedora ARM Version on my Raspberry Pi 3 B+. I've written the raw image using dd it starts booting just fine, i can see the whole kernel boot process. But when it needs to boot ...
0
votes
0answers
18 views

Occurred an error when trying too install packages for python

When I tying to install some package with pip for python in raspbian I occurred an erros as showes in picture http://uupload.ir/files/vasg_20190428_135436.jpg
0
votes
1answer
317 views

pip install opencv-python gives error on Raspbian

I'm using a Raspberry Pi 3 B+ with Raspbian installed. When I run pip install opencv-python I get the following message: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple ...
0
votes
0answers
7 views

Slow down requeue interval for ssmtp.conf

When the internet goes down for many hours, ssmtp tries to resend the emails every 1minute, which fills up the log (on SD card). System: Raspbian Stretch/Debian Feb 7 22:35:44 raspberrypi sSMTP[...
1
vote
0answers
222 views

How Can I luks encrypt the root and swap partition on a Fedora ARM Server?

On every graphical Linux installation I've used there is typically a checkbox to enable luks encryption. Problem is the installation is different, whereas typically you get a bootable .iso or .img the ...
0
votes
0answers
18 views

Cron and etherwake on Raspbian

I wrote small app which runs etherwake. From bash it works fine and wakes up another PC. But if it is launched from crontab, then nothing happens. Has anyone encountered a similar problem and how to ...
1
vote
0answers
53 views

QEMU: How to convert -net flags into -device & -netdev

I'm trying to emulate Raspberry Pi via QEMU and the following works for me: qemu-system-arm \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -boot c \ -cpu arm1176 \ -drive "...
1
vote
0answers
53 views

Create own ovpn file from using certificate and key

I installed OpenVPN on a RPi server. For sample certificates I used the command pivpn -a, as suggested by OpenVPN. But now I want to create my own certificates because I need to insert on them an ...
0
votes
0answers
47 views

Can't connect to Wi-Fi with KivyPie 1.0 on Raspberry Pi - No network detected

I'm attempting to connect my Raspberry Pi running KivyPie 1.0 (Linux kivypie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux) to my Wi-Fi network, which is a 2.4GHz network powered ...
0
votes
0answers
17 views

CRON running job not in my user's crontab file

You read that right. It's the opposite of everyone's issue. I'm on a Pi 3 w/ Raspian I have a cronjob that is running once when it is supposed to (9am, 0 9 * * *) and is running rogue again at 5:...
1
vote
0answers
139 views

HPLIP: Some packages not installing

I installed HPLIP on my raspberry pi to use CUPS as per here but some packages are simply not installing. I have tried:sudo apt-get -f install hplip, sudo apt-get install qt4-default qt4-designer qt4-...
0
votes
0answers
28 views

“Disk I/O error” when trying to run OS via QEMU on Pi

I am trying to run Windows 98 on QEMU on my Pi using a project I found here: https://www.hackster.io/314reactor/windows-98-wrist-watch-15ecfd . When I run qemu-system-i386 -localtime -cpu 486 -m 96 -...