Stack Exchange Network

Stack Exchange network consists of 174 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/

0
votes
2answers
23 views

Opening a file automatically on boot on Raspberry Pi3 b?

I want to have a text file I created on LibreOffice Writer and saved in documents open automatically when I boot my raspberry pi. I know there is this https://www.raspberrypi.org/documentation/linux/...
1
vote
0answers
14 views

Check a list of bluetooth MAC Addresses if they are in range

There are a few linux projects to detect if a bluetooth device is in range and perform an action. ie when you get near your house, turn on the lights. When the wife gets home, turn on some funky music....
0
votes
0answers
29 views

How to run files automatically after I power on my raspberry pi?

Is there anyway to have files (texts/videos) saved in a specific folder to run automatically once I start up my raspberry pi? I am creating a LAN of raspberry pi's with one central laptop connected ...
2
votes
1answer
22 views

Systemd - Find .Xauthority file to use

I'm currently using a systemd unit file to configure a service which uses X server display. The X server instance is launched by the user logged in (currently pi user) but the service is launched at ...
3
votes
2answers
46 views

Shell script to autostart script

I would like to refer to my previous post here: Autostarting a python script whenever it crashes to restart two python scripts on my raspberry pi (Stretch OS) if they crash. The code of the shell ...
0
votes
1answer
30 views

Python script runs as bash command on terminal but not as a cron job

I am trying to run a python script on my Raspberry Pi (Stretch OS) as a cron job but the script fails to run fully. On crontab -e, it reads like this: */1 * * * * python /home/pi/project/myfile.py &...
0
votes
0answers
26 views

Network.service failed starting: No suitable device found

I recently installed Centos 7 minimal version on my Raspberry PI 3B+. Network seems to be working ( i am able to ssh to it), but network.service is failing to start. Below journalctl output: -- Unit ...
0
votes
1answer
27 views

Using Raspberry pi as USB bridge

I would like to use my raspberry pi as a USB bridge between multiple devices. We can assume that I want to connect my iPad which has POS software on it to my thermal printer. Most of star or Epson ...
2
votes
1answer
35 views

Raspberry Pi3 with Kodi runs very very slowly [closed]

My rPI3 runs very slowly with Kodi on it. I installed Kodi in March 2018 through LibreELEC. Kodi is at its latest version. Any suggestion? The bootup time is fairly fast; it boots up in less than a ...
0
votes
1answer
21 views

[Error while Running the Gstreamer Example on Development Kit]; “File descriptor in bad state”

I'm running a basic application on Orange-Pi DVK with Gstreamer-1.4.0. While running the application it throws this error: AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse" AL lib: (...
0
votes
0answers
11 views

Recording multiple MJPG streams with raspberry pi 3 model B

I have a Raspberry pi model 3 B and I want to record 4 MJPG streams , these streams come from 4 raspberry pi zeroes running kerberos (https://doc.kerberos.io/2.0/machinery/streaming). The raspberry ...
0
votes
0answers
26 views

Which is the main package of a program?

I am a complete noob with linux so please, hava a little patience with me. I am trying to learn how to use the CLI and one of the things that i am trying to do is installing my own desktop (MATE) ...
0
votes
1answer
29 views

Running OpenGL app without desktop

Is it possible to run an opengl application like glxgears from the command line without starting a desktop environment? It should directly go to exclusive full screen mode.
0
votes
0answers
26 views

[dpkg: error: failed to open package info file /var/lib/dpkg/updates/0049 for reading: Input/output error]

I am trying to install qt4 dev. tools on bananapi. During installation half of the way, I got this error message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'to correct the ...
0
votes
0answers
15 views

UDEV Run Script Cannot Read Device Unless Root

I'm using floppy diskettes as ID cards. To accomplish this (on raspi debian jessie) I have created the following udev rule to kick off a script which runs a Java program to verify information written ...
0
votes
2answers
23 views

How to allocate more memory to main partition?

I'm trying to setup a raspberry pi 3 for linux use, and I'm running into trouble with partitions. I'm very new to linux use and disk management so this is probably my misunderstanding. I don't have ...
0
votes
1answer
51 views

Linux run service on boot - up as soon as possible

Here is my service: # This service will run in parallel with other services # create ... mouselogger.service # /etc/systemd/system [Unit] Description=MojeUre boot init display [Service] Type=simple ...
1
vote
0answers
13 views

Armbian: dm-raid module has gone missing

I'm running Armbian (stretch) on an OrangePi PC 2. This is how the OS identifies itself on SSH login: Welcome to ARMBIAN 5.58.180813 nightly Ubuntu 16.04.5 LTS 4.18.0-rc8-sunxi64 I just updated my ...
1
vote
0answers
20 views

How to initialize multiple I2C sound devices with one device tree overlay?

I am currently stuck in implementing a new device tree overlay to initialize two sound controller: PCM5142 and WM8804. The used board is the DACBerry ONE (https://www.osaelectronics.com/product/...
1
vote
0answers
15 views

Ceph with many small monitors/mds

Ceph documentation (http://docs.ceph.com/docs/jewel/start/hardware-recommendations/) puts an emphasis on the need for more powerful hardware as the cluster scales. For instance hardware specs for ...
0
votes
0answers
8 views

Byobu notifications not visible in 'bar' on Raspian Stretch

Just traded up to byobu from screen. It is fantastic and really changing my workflow. One small issue - I am having an issue with the notifications bar. I can see the names of windows on the left ...
0
votes
0answers
58 views

How to display virtual memory split on the running linux kernel?

I would like to know how to display the information of the memory split of the running kernel in linux. I am new to this. I've read that it's most of the time 3G/1G for user-space/kernel-space (also ...
0
votes
0answers
31 views

Blank screen on raspberry pi on tty1

I have a raspberry pi 3 with a minimal version of Debian stretch installed. The serial output works fine, however, I can't get any output via HDMI. There is actually an HDMI output (monitor is having ...
1
vote
1answer
22 views

Create an access point to 'bridge' between two wireless connections. How should /etc/network/interfaces look?

I'm following this guide: Setting up a Raspberry Pi as an access point in a standalone network (NAT) to create an access point. The only difference is that I'm using another wifi connection where the ...
1
vote
0answers
26 views

Unable to login into Kupiki captive portal using the given username and password(Raspberry Pi 3 B+) [closed]

I tried to create a captive portal for my Raspberry Pi's Wifi hotspot using Kupiki-Hotspot-Script which is given in this link Kupiki-Hotspot-Script However I am unable to login using the given ...
0
votes
0answers
35 views

Allow incoming http(s) traffic on callback ports

I have configured my firewall with ufw Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip To Action From --...
0
votes
2answers
29 views

Using rc.local to start server and then launch web-application? [duplicate]

I'm running into issues when I try to start a server via Python program, and then open its web-app. I'm not able to get it to open the server and then also open the web-application. I tried to modify ...
1
vote
0answers
37 views

Permission Denied as root when connecting BluetoothSocket with Bluez 5.43

I've been trying to get bluetooth working on my Raspberry Pi 1 Model B+ running Raspbian Stretch Lite 4.14 with a 3rd party USB bluetooth dongle. I installed Bluez 5.43 for python 2.7, and was able ...
1
vote
0answers
10 views

Difference in rc.local and lxde autostart

I have created a python script with GUI and I want to be able to run it at start up once the Raspberry Pi boots. I placed my script in the rc.local but the GUI does not appear at start up. But when I ...
2
votes
2answers
25 views

An `/etc/network/if-up.d` script runs, but doesn't launch GUI apps (e.g. firefox-esr)

I need to start firefox-esr once the network is available. Here's what I've got: sudo tee "/etc/network/if-up.d/upif" > /dev/null << EOFBOOT #!/bin/bash DISPLAY=":0" if [[ "\$IFACE" = "eth0"...
2
votes
2answers
70 views

Delay further startup until time is synced

I'm running a Raspberry Pi Model 2B with Raspbian Stretch (Debian). I have a UI-application (chromium-browser, started via /home/pi/.config/lxsession/LXDE-pi/autostart) and a script started via cron, ...
0
votes
1answer
42 views

SSH timed out when trying to connect to Raspi from outside of my local network

I'm trying to connect to my raspberry pi outside my local network with ssh. I can connect inside my local network. My pi has a fixed ip address and port forwarding is set properly. My ssh port has ...
2
votes
1answer
185 views

Network Manager works but wlan is unavailable for nmcli

I could connect to my router using the network manager gui on my raspberry pi without any problems. But when I try to do this using nmcli the wifi connection is unavailable (before I connected using ...
1
vote
1answer
16 views

Merge old rootfs with fresh installation without copying permissions

Recently, my Raspberry Pi's permissions were butchered. I am now accessing the Pi's file system through a USB drive running Ubuntu. This is great, but my next step is to return to working on the Pi ...
1
vote
0answers
48 views

iptables rule disappear after a while, why? [closed]

I don't know why, but seems like there is little to no information about this on the internet. On my Raspberry Pi 3 (Raspbian Jessie), I set a iptables rule to port forward and entry connection, the ...
1
vote
1answer
46 views

Trying to disable some Bluetooth features on RPi3

I'm trying to make my RPi3 to be a bluetooth sink. My problem is that when I'm trying to connect my Windows 7 Laptop to my RPi Bluetooth sink, it is displayed like that : Sorry, it's in french. It ...
1
vote
0answers
28 views

Trying to set HDMI RPi3 output in mono with pulseaudio

I'm trying to set my PulseAudio HDMI output on a Raspbian 9.4 in mono because my TV has only one speaker only connected to left channel. By default (in stereo), it works like a charm, but when I set ...
0
votes
1answer
29 views

Can't SSH into Raspberry Pi after changing permissions [duplicate]

sudo chmod -R 777 / was entered in an attempt to regain access to directories that were previously accessible, but this caused the SSH connection to be closed and now can no longer be reconnected. A "...
0
votes
1answer
20 views

MPD not detecting ladspa_plugin

I have MPD and a DSP module running in rpi debian jessie The DSP module helps to add system wide audio effects. Since the MPD creates its own user, mpd it is not identifying all the config which ...
1
vote
1answer
23 views

Why raspbian lite powers off when doing `sudo cat /dev/char/10:130`?

I did on a terminal sudo cat /dev/char/10:130, which in the uevent has name of watchdog, and it outputs a message from the kernel saying that watchdog did not stop !, and after a couple of second it ...
0
votes
1answer
32 views

nghttp2 w/Buildroot on Raspberry Pi 3

I'm fairly new to buildroot and I'm trying to figure out the best way to get the "nghttp2" package added to my system so that I can utilize it in conjunction with curl on my embedded system. I'm not ...
0
votes
1answer
167 views

Can't open file to write

I am using the Raspberry Pi 3. I want to modify the file (increase the limit of files) limits.conf in /etc/security/limits.conf, but when I try to save the file after modification, it gives the error [...
0
votes
0answers
12 views

Doing Uart Communication using the Command Line between my Laptop and RPi?

I am having a Raspberry Pi 3, a Linux Laptop and USB to RS232 Converter. I am interested in finding out how the serial operations take place using the command line i.e Echoing to ttyUSBx to write and ...
2
votes
1answer
73 views

dd completes implausibly quickly

I'm running dd to copy a 1.8 GB image onto an SD card for a Raspberry Pi. This copies at about ~400MB/s, which is much higher than the write speed the manufacturer says this card can do. I therefore ...
0
votes
0answers
20 views

Raspbian - printer driver

I trying install driver for my printer (Xeror Phaser 3020) on Raspberry PI 3 but i can't do that. I used CUPS but my printer isnt here in the listview,I also tried download driver from official web ...
0
votes
0answers
33 views

Compile and install printer driver src.rpm for ARM (Raspberry Pi 3)

I have an Epson Stylus NX420 and a Raspberry Pi 3. I am trying to setup Google Cloud Print Connector in order to use the Pi as a print server. I am following this guide, but for Raspbian Stretch. The ...
1
vote
0answers
24 views

Can I print on a Linux local printer using a remote windows driver?

I have 10 Raspberry Pi's (RPI) all of which have their own USB Zebra GK420d label printer. After installing CUPS to each of them I can print labels to their printer using EPL2 PPD but it is too slow, ...
2
votes
1answer
98 views

iptables NAT multiple devices with same IP address

I have a challenging situation where I have 5 devices which act as wireless access points. I need to be able to access TCP 8080 on each device from a central device. All wireless devices have a 192....
2
votes
4answers
217 views

How do I enable an SSH server port in Raspian? (Raspberry Pi debian)

I'm going to set up a Raspberry Pi B+ without keyboard, mouse and screen. I'm only going to use PuTTy (MS-windows, ssh client) and an ethernet cable between my Raspberry Pi and my router. Raspberry ...
0
votes
1answer
32 views

Starting a node.js via cron fails silently

I am currently trying to set up a cronjob that will start a node.js server whenever that server is down. For that purpose, I have written a simple script to test and start the node server. #!/bin/...