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
1answer
10 views

Exernal addresses not resolving

I recently changed ISPs. I got a new router. After a lot of messing about I have the router running almost the way I want it. However, since then my Raspberry Pi can't resolve external addresses. So, ...
1
vote
0answers
12 views

Setting the time on Raspberry Pi

Setting the system clock on a Raspberry Pi seems to be a convoluted task. I've never quite understood why keeping computers synced with an internet time server is so complicated. Windows just can't do ...
0
votes
1answer
16 views

changing wifi password over SSH on wifi-only headless server

I want to change the password for my wifi network foo. I've got a raspberry pi connected to foo. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+...
0
votes
0answers
13 views

Restart gui (GTK) on Raspberry Pi from remote shell

I have a script that kills the biggest lxpanel task on my Raspberry Pi, but occasionally it kills both tasks, which kills the menu system on the GUI. I am using VNC to view the desktop and I have ...
0
votes
0answers
32 views

Why can't I start my apache2 server?

I'm using raspberrypi as my server. When I run sudo service apache2 start the following error pops up. sh: 0: getcwd() failed: No such file or directory Job for apache2.service failed because the ...
1
vote
0answers
16 views

Changing resolution on touchscreen

My screen resolution is supposed to be 1366x768 according to the screen documentation. In viewing the display, it goes "off the screen" so I am guessing the resolution is simply set incorrectly. Here ...
2
votes
1answer
72 views
+50

Routing traffic through VPN using Raspberry PI

I have a setup like this: - Raspberry PI connected to router via LAN cable - Created a bridged connection between eth0 and wlan0 - using hostapd for wifi hotstop - configured l2tp/ipsec connection ...
0
votes
1answer
8 views

How to use Libudev to find out which ports are connected to my Usb

I made a kind of module. Different sensors are placed in the module. I connected the module to Raspberry Pi through RS232 converter. I am using Libudev to automatically find out which Pi port has ...
1
vote
0answers
23 views

Change how device appears on bluetooth [closed]

I want to know how can i change how the device appears on Bluetooth. I have a raspberry pi and i need it to act as a Bluetooth printer so that another device that can only print through Bluetooth will ...
0
votes
0answers
26 views

Can't connect to raspberry pi over ssh after just connecting!

This is the second time its happened in a row . I create the raspbian image and edit it so i can ssh in. i ssh into it with the default raspberry login. change the password and logout. when i try to ...
0
votes
0answers
9 views

How to autostart ssh daemon changing configuration files

I have Orange PI (Raspberry PI derivative) and SD card with Ubuntu server installed. I've checked and ssh server is installed (/etc/init.d/ssh file presents and /etc/ssh/sshd_config file configured), ...
0
votes
1answer
24 views

UART to UART tcp/ip connection

Need to transmit and receive data(TCP/IP) between 2 raspberry through serial tx/rx pins (/ttyAMA0). Best way to do it? Better if this will be done from kernel space. Thanks!
0
votes
1answer
53 views

using if statement directly in bash prompt?

I am not sure if this is even possible directly. But I am trying to get the current temperature of the CPU using: cpu=$(</sys/class/thermal/thermal_zone0/temp) I want to pipe the output of the ...
0
votes
0answers
14 views

Raspberry not reachable outside my network when connected via LAN

I have a server based on raspberrypi. For a while, maybe two days, it should work on WiFi because I set my server up, but didn't have a LAN cable. After I purchased a LAN cable and connected the pi on ...
0
votes
1answer
41 views

no process in pidfile; found running, none killed

I'm working on an emailnotifier script on RaspberryPi which was written in Python. I've found a tutorial page, I've exactly copied the default code (which works fine with a simple "python ...
0
votes
0answers
23 views

GIT Clone Failing from Raspberry Pi 3 B+

I am trying to run this command from my Raspberry Pi 3B+(connected to my PC via SSH): sudo git clone https://github.com/lthiery/SPI-Py.git The result is: fatal: unable to access 'https://github.com/...
3
votes
2answers
637 views

Reduce Boot time

I would be interested in finding ways to reduce the boot time, specially in embedded-related environments. I've read somewhere of a method to avoid the kernel to load some drivers or modules but I'm ...
0
votes
1answer
32 views

Problem with SFTP on Arch-ARM

I have installed Arch ARM on a Raspberry Pi 3 and created a new user. Pretty much everything is working; I have copied my public/private keys and can ssh into Arch on the Raspberry Pi. NOTE I am only ...
1
vote
0answers
27 views

Squid with squidguard launch problem [closed]

I'm not able to successfully launch squid with squidguard. Here is my service squid status : ● squid.service - LSB: Squid HTTP Proxy version 3.x Loaded: loaded (/etc/init.d/squid; generated; ...
0
votes
0answers
11 views

How to count the printed sheets with a printer server in Raspi?

I'm trying to make my Raspi work as a printer server, I can print from any computer and make a distinction between one group and another. What I need now is to mark me how many sheets it printed, ...
0
votes
0answers
35 views

window.speechSynthesis.getVoices() always empty

I'm trying to implement some tts in a project I plan to run locally in my raspberry 3 (raspbian Stretch), using chromium (65.0.3325.181) I've tried running chromium using --enable-speech-dispatcher ...
0
votes
0answers
27 views

Cannot touch “/static/a”: Read-only file system

I want to edit /static/volumio/app/plugins/music_service/mpd/mpd.config.tmpl file but when I try, It says read-only file system. On mount command: /dev/loop0 on /static type squashfs (ro,relatime) ...
0
votes
1answer
52 views

/etc/fstab for my usb drive won't boot

I've used sudo blkid to mount my drive with fstab like this on /etc/fstab: UUID=1169dd89-29fe-436c-9aef-fa78ea7ee138 /media/hd ext4 defaults,auto,umask=000,users,rw 0 0 I also tried PARTUUID=...
0
votes
1answer
33 views

Automatically restarting a process when it dies?

I have a process running on a raspberry pi. After ssh ing into in to the process is started like this: nohup .../blah/blah & IIUC this allows me to log out of the pi and the process keeps ...
0
votes
0answers
27 views

Forwarding X session with ssh tunnelling [duplicate]

I am trying to connect with ssh and see what is displayed on raspberry Pi from my PC. I am tried these steps: 1) Edited ~/.ssh/config on PC and added string ForwardX11 yes 2) Edited /etc/ssh/...
0
votes
1answer
32 views

Change default gateway & assigned IP via script

I need some pointing in the right direction as I've tried a lot of different things over the past few days without success. I'm new to using bash and linux in general. I'm trying to detect when the ...
1
vote
1answer
38 views

Why are there .O files in /etc/cups?

I have been working on a project on a Raspberry Pi which has necessitated adding/removing printers pretty frequently (mainly because all of the drivers have issues, but that's another story). I have ...
0
votes
1answer
22 views

OPENVPN: Problem for setup a VPN supporting IPv6 on linux

I have a problem for setup my VPN on OrangePi(This is a micro-computer same as Raspberry Pi) My project is to configure a VPN with ipv6 on him. So, i have find a project on github, which proposes to ...
1
vote
2answers
41 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
40 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
1answer
38 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
59 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 ...
2
votes
2answers
58 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
112 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
215 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 ...
1
vote
1answer
39 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
96 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
32 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
16 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
29 views

Which is the main package of a program?

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) over Raspbian Lite. I am getting very confuse with the package naming. ...
0
votes
1answer
37 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
43 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
49 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
25 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
54 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
24 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
46 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
1answer
40 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
11 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
43 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 ...