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

USB HDD ext4 changes to read-only - what is the problem? - works on other system

I have attached a Seagate external hard drive (FreeAgent 750GB) to Open Media Vault on raspberry pi. As soon as any write operation is attempted the drive is remounted read only. The machine is ...
0
votes
1answer
376 views

ssh: connect to host raspberry port 22: No route to host

I can't log in into ssh to crypt luks encrypted device with installed dropbear but I can while rpi is decrypted. I'm getting error: ssh: connect to host raspberry port 22: No route to host. While ...
0
votes
1answer
2k views

Small update.. Now cannot download/update

Earlier today I was ssh'ing into my box and discovered that the internal IP had changed from what it was, I decided I wanted to make this static and found a tutorial (kind of) how to: nano /etc/...
2
votes
3answers
2k views

Writing openSUSE image to SD card

I am relatively new to Linux and I have assembled a raspberry PI 2 model B and I'm relatively inexperienced with Linux. I have tinkered in the past with SUSE and want to start doing it again. I have ...
1
vote
0answers
15 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 "...
2
votes
1answer
1k views

Networking failed to start on Alpine linux

I keep getting an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface ...
1
vote
1answer
2k views

How do I properly add Chromium to my Yocto linux distribution

Built Yocto (Poky fido branch) linux distro for Raspberry Pi 2 following this excellent tutorial Part 1. Now trying to run Chromium. Added meta-browser to my bblayers.conf Added chromium recipes ...
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 ...
1
vote
1answer
66 views

Raspberry PI: How to display something without keyboard

I have my Raspberry PI (2B) connected to a monitor, but now it asks for my password but the problem is: I don't have a USB keyboard, but SSH access. So how can I display something on it, like a video?...
2
votes
1answer
590 views

Docker installation on Raspberry Pi 3 fail not matching kernel version in aufs

What has changed lately with the Docker installation on Raspbian that makes Docker installation fail and what can be done about it? On Raspberry Pi 3, installation of docker from get.docker.com fails ...
1
vote
1answer
41 views

NetworkManager recognizing only a specific configuration file

I'm trying to connect to the 'eduroam' wireless network at my university through a Raspberry Pi using the command line. After struggling with wpa_supplicant configuration files I decided to use ...
0
votes
1answer
2k views

Usb serial cable (prolific) not working with ftdi_sio driver on rpi-buildroot image

I'm using a raspberry pi to control a LED matrix display with a Prolific USB to serial cable (067b 2303). Using the default raspian image it works perfectly, however with a custom buildroot image (...
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 ...
3
votes
2answers
8k views

Why is rcS required after file system is mounted by the kernel?

I using embedded Linux, I have compiled the kernel without initramfs and kernel is booting fine. But It shows me rcS file is not found I have put it in /etc/init.d/rcS and my rcS file look like #!/...
1
vote
1answer
20 views

How to change the network module of a service?

I just disconnected my Wi-Fi connection on my Raspberry Pi, because it was connected via Ethernet too. (And I only need Ethernet.) So the problem is that my services like xrdp or samba were working on ...
4
votes
1answer
197 views

Saving data from kernel module into userspace

I have been playing around kernel programming for a while and want to create this simple data acquiring interface with some custom hardware. For portability and reusability, I do the whole thing on my ...
1
vote
1answer
780 views

Motion stops streaming on movement (and no logs produced)

I am trying to get a hello-world stream working from a USB webcam to a browser over a local network using Motion. (On a Raspberry Pi). When I run service motion start on the RPi and go to http://192....
2
votes
1answer
148 views

Datalogger with PI

I am building a datalogger with raspberry pi. I have used a Shell script in rc.local, I am capturing the Bytes using tcpdump. The Problem am facing is that the log file is getting replaced each and ...
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) ...
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
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:...
5
votes
2answers
7k views

SSH not landing in the home directory

I have recently installed Raspbian into a Raspberry Pi. As part of the installation process I changed the user name and group from the default (pi) to my own (let's call it user) using usermod and ...
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 ...
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
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/...
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
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 ...
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
vote
0answers
1k views

CUPS & Raspbian - Printer turns on but does not print

I have been setting up a home print server on my raspberry pi using CUPS. I have managed to get it to work with one of my printers, but not with an older Laser printer: Samsung ML-1520. When I print ...
2
votes
2answers
9k views

Can't install locales [closed]

I'm working under Raspbian (for RaspberryPi): Linux version 3.18.14-v7+ (root@vagrant-ubuntu-trusty-32) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro ...
1
vote
1answer
90 views

How to prevent closing a python app in linux?

I am working on a project that uses a raspberry pi for it's computing purposes. It has a touch screen with it that user can choose the options from it. I want to install a light linux distro on this ...
1
vote
1answer
896 views

Mounting external HFS+ device with truecrypt - read only file-system

I´m trying to mount my external HFS+ HDDs on my raspberry pi with raspbian "wheezy". The disks are encrypted with truecrypt so I mount them with the command truecrypt /dev/sda /media/usbdisk/disk1. ...
1
vote
1answer
5k views

Can detect but not connect to wifi network Kali Raspberry Pi

So I've started going through some penetration testing books and tried to set up Kali on the raspberry pi 3b. I'm having some trouble, though, namely that Kali could detect all the WiFi networks ...
4
votes
2answers
1k views

Raspbian - Apache server not accessable over the internet

First of all: I'm a n00b regarding networks and Linux and stuff :) Here is my problem: I want to use my raspberry pi as a webserver. I installed and configured apache and enabled port forwarding on ...
1
vote
2answers
147 views

Automatic Background Processes

I'm running my Raspberry Pi off an SSH server, and want to be able to access it out of home. Sure, all I need is an IP. But with my terrible internet, it's constantly dropping out. My IP is constantly ...
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 ...
2
votes
0answers
22 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 ...
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 ...
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. ...
1
vote
0answers
29 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 ...
1
vote
2answers
887 views

Trouble when building LZ4 from source: “recipe for target 'test-fuzzer' failed”

I am trying to install ROS (Robot Operating System) on Raspbian. There are some dependencies that I need which are unavailable for Raspbian, so I must build them from source. One of these is lz4. Here ...
0
votes
1answer
906 views

Setting www-data (lighttpd) as sudoer not working

I have installed lighttpd with fast-cgi on the raspberry pi. When running a python script that requires root priveleges, I get the following error: RuntimeError: No access to /dev/mem. Try running ...
2
votes
3answers
74 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 ...
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-...
1
vote
2answers
578 views

Assigning persistent interface names, using udev, with a generalized method

I'm currently working on a Raspberry Pi 3, trying to do some IoT stuff. I want it to be able to sniff on a usb wireless adapter, and send its data either via default wireless adapter or ethernet. I ...
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'...
1
vote
2answers
968 views

Cross-Compiling kernel can't find gcc

I am cross compiling the Raspbian kernel since it will take about 12 hours for the Pi to do (Raspberry Pi 1). I have the build tools for ARM and the kernel in two separate folders in /home/gray/...