Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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/

1
vote
0answers
16 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
22 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
14 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
16 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:...
0
votes
0answers
16 views

Create a custom embedded linux in raspberry pi that start python gui application after boot [closed]

I currently have a project so basically what i want is to create an embedded linux in raspberry pi. What i want to achieve is to boot my custom made linux in my raspberry pi. I'm currently using ...
0
votes
0answers
29 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
12 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 -...
0
votes
0answers
9 views

Can't open new URL in kiosk mode

So I'm working on a Spotify jukebox that displays album art (Raspberry Pi). I have a Python script that opens the url hosting the art in chromium, and updates it when the song changes, by opening a ...
1
vote
1answer
36 views

wpa_action script: How to run wpa_cli in daemon mode?

I was trying to build a script that runs when wifi is connected or disconnected. After a lot of searches, I got wpa_cli -a command to work with my script. test.sh case "$1" in wlan0) ...
1
vote
1answer
38 views

Can't see a directory that's supposed to exist

So I own a device (casa node) which is basically a raspberry pi 3b+ with a hard drive and a modified OS (they call it CasaOS) and I want to edit a file. I found the location of this file by looking at ...
0
votes
1answer
52 views

Accessing Postgresql from terminal

After recently setting up Postgresql on my Raspberry Pi I created an account which is not a power user. Initially to set this up I entered psql from the terminal and then executed createuser pi -P ...
-1
votes
1answer
23 views

Setting up RealTek Driver on Raspberry Pi 3 B+

rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333 Authentication requested [root] for make clean: make -C /lib/modules/4.14.98-v7+/build M=/root/Desktop/RTL88x2BU_WiFi_linux_v5.1.7_19806/...
2
votes
0answers
23 views

How to monitor multiple USB UPS with Network UPS Tools

I'm currently running NUT on my RaspberryPi (using Raspbian), I have managed to connect my Mecer USB UPS to NUT using the blazer_USB driver. Recently I got another UPS (same model) and would like to ...
0
votes
2answers
31 views

Is directory on external hard drive?

I am wondering how to check if a directory (on my RaspberryPi) is on an external drive or not. I think I mounted my WD MyPassport correctly, and was able to write to it via /media/pi/MyPassport. ...
0
votes
1answer
112 views

bluetooth.service running, but bluetoothctl says “org.bluez.Error.NotReady”

my raspberry pi 3 model B, running Arch, has an issue with bluetooth. First of all: Bluetooth has worked flawlessly previously pi-bluetooth from the AUR is up to date bluez and bluez-utils are up to ...
1
vote
0answers
30 views

Using an rasberrypi to make an bootable usb?

my pc broke and i have an rasbery pi . i want to write the iso of an recovery system (https://www.hirensbootcd.org) so i can repair my system more specific plan B grabing the license key in the ...
4
votes
1answer
42 views

Changing default USB drive mountpoint owner

I am developing a device that runs Raspbian on Raspberry Pi. The device runs a background process that should be able to access usb drives when they are plugged in. The problem is that the background ...
1
vote
0answers
33 views

alpine linux sys mode install on raspberry pi

I'm working with the armhf release of alpinelinux from https://www.alpinelinux.org/downloads/ on a raspberry pi 3b. I've installed a desktop extension card from https://www.newark.com/element14/pi-...
2
votes
3answers
75 views

How to SSH into Raspberry Pi connected via Ethernet on CentOS7?

I am trying to SSH into my Raspberry Pi 3 Model B V1.2 from my laptop running CentOS7. I have connected them together via Ethernet cable but the laptop is unable to identify Raspi. So i tried running ...
0
votes
1answer
24 views

Sending email via mutt as root on RaspberryPi

I have an application that needs to run as root for access to hardware on the Raspberry Pi. In this application I need to send emails with attachments containing data. I am able to write a bash ...
0
votes
0answers
14 views

Using GPIO in a kernel module

I am working on a simple kernel module for the Raspberry Pi. This involves using the GPIO. I see that the old gpio_* API is deprecated in favor of the gpiod_* API. However, all of the documentation I'...
0
votes
0answers
15 views

Reduce Pulse Audio Overruns with Equalizer Sink Enabled

System : Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux A Bluetooth A2DP source goes into a Pulse Audio sink which is going into the pulse audio equalizer module,...
0
votes
0answers
70 views

How to set Option 43 with ISC KEA DHCP server to boot Raspberry PIs

I'm trying to boot a bank of Raspberry Pi 3 Model B and B+ devices. I'm using ISC's KEA DHCP server (v1.5.0) to boot these from. Unfortunately these need to boot over a different network than the kea ...
0
votes
0answers
15 views

Unbound resolving to high ping servers

I have installed unbound on my Pi Hole to get DNS over TLS for my entire home network. I realized that my home network had gotten slower than before. At first, I thought it may be because of Unbound ...
1
vote
0answers
14 views

Trying to configure two USB drives for Samba server, permissions allow access to one but not the other on PC?

On my raspberry pi 3 that has Samba and Ntfs-3g running Raspian I have two USB drives mounted to two folders (from lsblk) Then I have added the following code to the bottom of the samba configure ...
1
vote
1answer
33 views

Exim4 and root aliases? Send a copy to root?

When setting up my raspberry pi to use local email (using exim4 as the default MTA on Raspbian/Debian), and while doing the debconf initial configuration, I was asked whether to forward root's email ...
0
votes
1answer
21 views

Is it possible to run pulseaudio in a Raspberry Pi 3 Model B running Arch Linux without any graphical environment?

I have a Rapberry Pi running Arch Linux ARM without any graphical environment. I want it to play a song every morning. I have pulseaudio installed. But when I use paplay, I get an error: paplay ...
0
votes
1answer
16 views

Cannot modify files hosted on raspi on other computers in the network

I'm having a weird issue with my pi. Pi is set up as SMB host, hosting music files for access around the house. I can't modify the files from any of the other computers though, except with sudo. I ...
0
votes
0answers
84 views

Xinput coordinate transformation matrix

I am trying to calibrate a 3.5" pitft touchscreen on a Raspberry Pi 3 using xinput. I have the display rotated so it uses a landscape orientation, with the power connector facing "up" so it can rest ...
0
votes
1answer
38 views

How to send data from Raspberry pi to Remote SQL DB without installing mysql or mysql Client

I would like send some port checking data and a timestamp ( both saved as a variable) to my remote Mysql DB running on a linux Node machine . I don't want install sql or sql client in Pi because the ...
1
vote
1answer
48 views

unable to run bash script from bash script

I've created a script that has to be executed on boot and has to run another script (which sets some variables) before executing other commands. After writing the script, I've successfully executed ...
0
votes
0answers
10 views

Equalizer with no GUI for external controll

I am programming a raspberry pi zeroW with usb audio card as bluetooth receiver with app controll. The app should controll an equalizer on the raspberry. Bluetooth audio and so is already running but ...
1
vote
1answer
19 views

Use USB-Sound-Device with VLC on Headless RaspPi

I've got a headless Rasberry Pi with a USB Sound Device. I want to play mp3 files with VLC. aplay -l gives me card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 ...
0
votes
1answer
36 views

Create bootable sd card with parted

I executed the following script to create a bootable SD card, but the raspberry pi doesn't boot. The sd cards are fine, they arrived today in the mail and badblocks found none. What am I missing? #!/...
1
vote
0answers
42 views

dnsmasq dns nameserver priority parameters - strict-order

I have a setup specifying two DNS namservers. One in local, the other is external. The local one is a pihole, which itself forwards requests externally after url filtering. The external one is set ...
0
votes
1answer
63 views

How does the networking works in CentOS 7? Specifically, ifconfig?

Goal: To configure the routing of the traffic from VM to the PC and to the internet. to configure the forwarding of the traffic from wlan0 to the eth0 on CentOS7, and vice versa. My topology: VM - (...
3
votes
1answer
30 views

Why did system forget date for a few hours after reboot?

I have cron command that runs a shutdown bash script at 12:10am every day. 10 0 * * * /bin/bash /var/www/scripts/special-reboot.sh The script is very basic, all it does is shutdown nginx and moves ...
0
votes
0answers
18 views

Unable to launch USB modem connection on boot

In a Raspberry Pi3. I have valid PPP configuration in my Raspbian Stretch that I'm able to launch manually from terminal. But it doesn't work if try to do it on boot. This is my setup: File /etc/ppp/...
0
votes
0answers
44 views

How to send HCI ACL Data packets with hcitool

History: I used BlueZ 5.43 to communicate with a bluetooth device: connect FF:FF:FF:FF:FF:FF select-attribute /org/bluez/hci/dev_ ... write 0x54 It takes some time, but it works. Current issue: ...
0
votes
0answers
39 views

Control Internet Bandwidth with tc on Raspberry Pi 3?

Modem/Router is connected to Internet (192.168.1.1) No DHCP server is running on Modem/Router Devices connect to the network through Wifi provided by Modem/Router Devices receive DHCP settings ...
0
votes
1answer
128 views

The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources

I am planing on hosting my laravel application on my RaspberryPi that's connected locally. I have my DynDns domain setup and everything. Now i just need to get PHP7.2 on my raspberry and from what i'...
0
votes
1answer
71 views

Is there a software center for Raspbian?

Is there a software center for Raspbian? Ive tries downloading the Pi Store, but it didn't work.
3
votes
1answer
74 views

Unable to initialize environment variables on startup

I have written a python script that runs successfully on raspberry pi if it is run manually from the console. As I want to start the script on reboot, I've written a bash script to change directory, ...
2
votes
1answer
64 views

How to run python script as non-root user on startup

I have written the following script which is supposed to change directory on startup and then run the script as pi user (on raspberry pi): #!/bin/bash echo 'raspberry' | sudo su - pi -c 'cd /home/pi/...
0
votes
0answers
15 views

Why can't I write to this Samba share from Windows?

I'm using Raspbian on a pi zero. I can read all of the files but can't write to anything. I have set up a samba share at /home/piuser/share. I have the current smb.conf [Sensor-1] comment=Sensor #1 ...
0
votes
2answers
101 views

Local variables in Bash script to be run by Cron

I have a bash script which loops through a list of filenames in a text file, deduces a date from the filename and then calls a library script (./dropbox_uploader.sh delete [filname]) to conditionally ...
-1
votes
2answers
37 views

How can a run a compiled java or c program from a shell file from outside its directory?

So, in a directory /home/pi/remoteinfo/temp/code is have a C program called a.out and a shell file called tempstart.sh. Inside the tempstart.sh file is the following: #!/bin/bash ./a.out Now, when ...
0
votes
0answers
27 views

sudo apt-update stuck at rpi armhf packages

I'm using a Raspberry Pi and I'm trying to do apt-update and it stucks: pi@raspberrypi:/var/lib/apt $ sudo apt-get -o Acquire::ForceIPv4=true update Hit http://mirrordirector.raspbian.org jessie ...
0
votes
1answer
172 views

The method driver /usr/lib/apt/methods/tor+http could not be found

I have a problem on rasperry pi jessie when I try to run sudo apt-get update: The method driver /usr/lib/apt/methods/tor+http could not be found. my sources.list deb http://mirrordirector.raspbian....
3
votes
2answers
255 views

Systemctl status always shows full log, even with --lines

1So, I'm trying to get the status of a unit, but only the first 3 lines like this: systemctl --user status resilio-sync --lines=3 I've tried various variations of this with -n 3 etc..., nothing ...