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/

4
votes
0answers
364 views

Trouble mounting 5Tb external USB device

I purchased a Seagate Backup Plus 5 TB USB 3.0 Portable 2.5" drive as I've recently maxed out the 1TB drive I have connected to my RPi2 running ArchLinuxARM and serving up music around the home (...
4
votes
0answers
376 views

Alsa/Pulse mute audio after a while with network sink on raspbian

Here is my setup : Raspberry 3 with raspbian, connected to TV (video and sound) and connected to lan with ethernet. (pulseaudio 5.0) Arch Linux Laptop and Desktop (Ethernet / Wifi) - (Pulseaudio 10) ...
4
votes
0answers
386 views

How to make startx open new X Session in tty7 on Raspberry Pi?

Before, when I launched x from the tty1 console, it would start the x session in tty7, allowing me to terminate it easily from tty1. Now (I do not know what changed it), startx from tty1 will open X ...
4
votes
0answers
889 views

Captive Portal on Raspberry Pi (raspbian) with Bridged Adapter

I am trying to create a captive portal on a Raspberry Pi by following the steps from this GitHub project: https://github.com/thgh/pilon I have 2 network interfaces on the pi. wlan0 TP-Link TL-WN821N ...
4
votes
0answers
307 views

How to write to an .img file with two different partitions?

I have been working on building a Linux based OS for Raspberry-pi using buildroot. I am generating the required empty .img file using "dd" and "fdisk" utilities. I am creating two empty partitions as ...
3
votes
0answers
177 views

UDP Multicast not seen on PiZero w/ Raspbian

Looking for help troubleshooting my missing UDP Multicasts. Some background... So I finally got an Amazon Echo and was playing with fauxmo on my PiZero to see if Alexa could find my device, but she ...
3
votes
0answers
230 views

How to publish multiple IP addresses belonging to different interfaces of the same device through Avahi Daemon?

I have a Raspberry Pi 3 Model B. I'm using it as a local Web Server. I want to publish the IP address of the Server on the local network for which I've used Avahi Daemon. My Pi has two interfaces, ...
3
votes
0answers
1k views

Starting systemd service after network-online.target but DNS is still not available

I've got a program that I want to start by systemd on boot but only after DNS is available. The service file depends on network-online.target: $ cat /etc/systemd/system/te-m-pi.service [Unit] ...
3
votes
0answers
1k views

Show a web page, once connected to an open wifi hotspot

I'm trying to create a wifi hotspot without encryption on my Raspberry Pi 3, by using Hostapd. How can I show a window with my own web page every time someone connects to it? I think the closest ...
3
votes
0answers
25 views

Only auto-connect to net one 1 of multiple adapters on RPi

I'm working with Raspbian and Kali Linux on my raspberry pi, and I have multiple wireless adapters (the built-in adapter and a nicer USB adapter). Whenever I start my Pi with the adapter in, which ...
3
votes
0answers
637 views

Can't establish AP with hostapd on RPi

I'm running raspian and am attempting to use my Raspberry Pi to establish an AP using hostapd and dnsmasq. So far, I can't get hostapd to work. The relevant lsusb is Bus 001 Device 006: ID 0bda:8172 ...
3
votes
0answers
226 views

What happens if I install a GNU/Linux distro for ARMv7h in an ARMv7l machine?

I would like to install Parabola in a Banana Pi, which is a SBC based in Raspberry pi. It has an ARMv7l processor, and Parabola is for ARMv7h. I read this stackoverflow question and as far as I ...
3
votes
0answers
69 views

lirc refusing to play

I've installed lirc on a Raspberry Pi (running Wheezy) but can't get it to send any signal. The LED is hooked up correctly (tested it using a python script). See it working here on youtube. I used ...
3
votes
0answers
233 views

fstab doens't read mode value

Following this guide: I set my /etc/fstab file in this way: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults,ro 0 ...
3
votes
0answers
490 views

SSMTP Delivery Error

This is my first post and I don't know how to introduce, so I'm just going to jump right in. So every hour I have cron run a script which outputs a table, and I wanted this delivered as a ...
3
votes
0answers
461 views

How to compile custom kernel for Raspberry Pi

I'm trying to run the Ubuntu 14 Raspberry Pi ARM image in QEMU, and for that I need the kernel that matches the version used in the image. If I mount the image and run file vmlinuz I see: vmlinuz: ...
3
votes
0answers
614 views

Running a btrfs RAID 5 array on Arch Linux

For two weeks, I've been trying to run my Raspberry Pi (model B) as root from a btrfs RAID 5 without success. The RAID runs on three 1TB disks /dev/sda, /dev/sdb and /dev/sdc. The three disks were ...
3
votes
0answers
1k views

Systemd config for later mounted encrypted volume with services working on it

Hi everyone, I am working on a Banana Pi with Arch Linux and i am currently trying to accomplish the following: After someone mounted the encrypted keyfiles for my external storage systemd shall use ...
3
votes
0answers
511 views

Resources usage in x-forwarding

AFAIK, it's possible to forward X-Window sessions, i.e. a computer ("client") may work as a (dumb?) terminal for another ("server"), displaying the desktop, GUI, etc. (and playing sounds, etc.) This ...
3
votes
0answers
866 views

Rsync - Corrupted MAC on input

Background I have a script on my NAS which is a Synology DS212J which is running on a special distro where uname -a gives me Linux DS212J 2.6.32.12 #4493 Wed Jul 16 11:37:16 CST 2014 armv5tel GNU/...
3
votes
0answers
1k views

How can I connect to my RPi NFS server using version 4?

I've set my Raspberry Pi up as an NFS server, but I cannot connect to it with NFS version 4. However, version 3 works. From my Kubuntu 13.04 client: $ sudo mount -t nfs -o proto=tcp,port=2049,vers=4 ...
2
votes
0answers
29 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 ...
2
votes
0answers
254 views

Raspbian restart network without reboot

When I am using raspbian with a 4g USB modem, sometimes the network goes down and there is no option to bring back the network unless I reboot the raspbian. In such cases, I try: service networking ...
2
votes
0answers
119 views

Adding a higher-priority route allows communication?

So for some reason I am having connection issues with my raspberry pi. The weird thing is that I can easily ping everything else I have on the local network. I "solved" it in the end by manually ...
2
votes
0answers
923 views

Access one Serial Port with two Python Scripts

I am trying to access one serial port (/dev/ttyACM0) on my Rasbperry with two Python scripts, which obviously doesn't work because one blocks the other. The thing is that one script only needs to read ...
2
votes
0answers
4k views

Samba SMB Daemon fails to start; installation incomplete

I'm attempting to create a Samba server on a Raspberry Pi running Raspbian. The install gives the following error message. Setting up samba (2:4.5.12+dfsg-2+deb9u1) ... Failed to preset unit: Unit ...
2
votes
0answers
446 views

Bluez Obex daemon not starting

my Bluez obexd daemon is not starting. I connect via: ssh -X something@something I have a running dbus user session and set the DISPLAY env var with DISPLAY=:0 like the www told me. My daemon.log ...
2
votes
0answers
332 views

Why do I get a random MAC address every boot in a linux embedded system?

I started messing around with my raspberry pi and I build a simple linux embedded system using buildroot and I found my IP address was different to what I was expecting (I had DHCP configured) then I ...
2
votes
0answers
51 views

OpenVPN: raspberry pi AP to other pi w/ VPN

I've established, I hope, an openvpn server on my raspberry pi at my house. I have another Raspberry Pi acting as an AP at my university so that my lab can connect to the internet through the AP. I'm ...
2
votes
0answers
31 views

How to find specific RPi image?

I need to replicate client's RPi setup as close as possible. I have output of uname -a on their RPi: Linux lumberjack 4.4.10-hypriotos-v7+ #1 SMP PREEMPT Fri May 20 14:49:10 UTC 2016 armv7l GNU/Linux ...
2
votes
0answers
595 views

ALSA mix mpd and line-in input through equaliser

I'm setting up MPD on rPi and using a Behringer UCA202 as output. However, I also want to use this hardware to play a line-in (eg to play video etc from my computer) - and apply an equalizer setting ...
2
votes
0answers
764 views

black screen when connecting to xrdp server

I have installed archLinux on rapberry-pi, and everything is just working fine, till i have came across setting up remote dektop. am trying to access xrdp server using remmina client from another ...
2
votes
0answers
1k views

apt-get: Almost all packages “have no installation candidate”

Note: I am aware that this question appears to be a duplicate of "E: Package '' has no installation candidate", but the only posted answer in that question did not help me at all. I've attempted to ...
2
votes
0answers
433 views

Setting up static ip for a hotspot using connman

I have OSMC installed on a pi3 and it has connman as the network manager. I keep the pi3 connected to internet using a lan cable and run a hotspot using the wifi. Now, sometimes when the pi reboots,...
2
votes
0answers
603 views

Raspberry Pi (Sort of) Captive Portal

I am trying to build a sort of captive portal out of a RPi3. I started by creating an access point following these instructions. Next I configured dnsmasq to point all traffic on wlan0 at itself. ...
2
votes
0answers
125 views

What is the proper encoding for a v4l device, what chromium can accept?

I use uv4l driver for Raspberry Pi Camera Module V2, which gives me the possibility to choose the encoding, framerate etc... The following encodings were tested: yuv420, nv21, yvu420, rgb565, ...
2
votes
0answers
681 views

ssh connection to OSMC fails after giving the correct password

I have a freshly setup Raspberry Pi 3 with OSMC; I can't login via ssh. I can open a shell when using my wireless keyboard, sudo -s works, and AFAICS, WiFi connection is fully functional, including ...
2
votes
0answers
1k views

Failed to get D-Bus connection: unknown error -1

Running OSMC on my Raspberry Pi 2b. I set up a samba share a few days ago, there is nothing else I've done for the last few weeks with the Pi besides running a few daemons. It's running 24/7. Now ...
2
votes
0answers
46 views

Mounting USB stick in place of HDD

I'm currently working on a raspian automated box. I've connected an HDD Drive to use as a Samba server and the download and temp folder for the transmission client installed. As the HDD is noisy (and ...
2
votes
0answers
821 views

Read another processes memory using ptrace() in C/CPP [RaspberryPi]

So, initially, process A created a file containing data (37 Bytes) read from a stream(UART). Process B has to acquire that data, which is stored in /dev/shm. Process A has an absolute maximum of 4ms ...
2
votes
0answers
122 views

SNR or signal and noise levels in ad-hoc mode

I am using the WiPi dongle which is based on the rt2800usb driver on my Raspberry Pis (running raspbian) in an ad-hoc network, and I can't seem to be able to get any SNR, signal or noise level ...
2
votes
0answers
972 views

TCP SYN,ACK Retransmissions

The following network trace was recorded on a Raspberry PI running Debian Linux. It seems the Raspberry is not seeing the data packet #36995 for some reason; it is just stupidly repeating his SYN,ACK ...
2
votes
0answers
83 views

ALSA skipping initially during playback

I have an ALSA configuration that provides the following at the moment: Take default audio and make it mono Pass through alsaequal Expand audio to 4 channels, all mono Split 4 channels between 2 ...
2
votes
0answers
501 views

usb-device number changes over time

I am trying to use on my RP a camre usb device - Logitech, Inc. Webcam C270. When I connect it directly to the USB port of the RP, other USB devices stop working (such as WIFI device) I guess this is ...
2
votes
0answers
1k views

kernel: bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

I have a Raspberry Pi running Raspbian. Towards the end of the startup log, I see this error. I believe it has been there a while, and I'm not sure what it may imply. kernel: bcm2708_fb soc:fb: ...
2
votes
0answers
170 views

Can a Window Manager simulate virtual screen size?

Following these instructions, I now have a Raspberry Pi connected to an Adafruit 3.5" TFT display. The display has a fixed resolution of 480x320, which presents problems when viewing some fixed-sized ...
2
votes
0answers
850 views

Wi-Fi drops, it's really complicated to autoreconnect? Raspberry Pi with Octopi/Octoprint

I loaded up Octopi, the distro version of Octoprint to a Raspberry Pi B+. I finally got things working and a few things printed, and then all of a sudden I'm greeted with a message in the interface ...
2
votes
0answers
1k views

bluez paired but disconnected

I'm running bluez=4.99-2 on a Raspberry with Raspian installed and an old usb dongle 0a5c:200a Broadcom Corp. BCM2035. I use an Android device to connect to it, the dongle doesn't support sspmode so ...
2
votes
0answers
902 views

Send message to Android phone using bluetooth

I have a Raspberry Pi which you can assume to be just a Linux machine. It runs BlueZ and is successfully paired with my Android phone. What I want to do is, my Python program should be able to send a ...
2
votes
0answers
391 views

Cannot connect to OpenVPN server

I'm trying to run an OpenVPN server on a Raspberry Pi. After installation using apt, I wanted to establish just a raw connection to test it, but I can't connect to the server from another computer. ...