Low-cost single-board computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

learn more… | top users | synonyms

18
votes
4answers
4k views

How can I put my HDMI display into (and out of) power save mode?

I am using a Raspberry Pi to run an information display in an office. I want the display in power save mode when outside of business hours. I was going to use cron to execute something at the ...
10
votes
1answer
636 views

Redirect linux console on boot

Is it possible on boot to redirect the console output to a screen session? The server has no monitor attached, and I'd like to be able to see the primary console output. I've seen other posts about ...
8
votes
1answer
327 views

RasPi - USB microphone locks up

On my RasPi board, Debian Linux, the USB microphone occasionally gets locked up such that nothing can use it. The microphone has a LED which is usually flashing, when it's locked, it turns off. The ...
7
votes
3answers
1k views

Optimizing a `while` loop

I have created a mini script to reboot my Raspberry Pi upon the push of a button. The script simply uses wiringPi (gpio command) to set pin 0 (pin 17 in Raspberry Pi standard numbering order) to ...
7
votes
1answer
606 views

Raspberry Pi, serial console, minicom, and gnome-terminal

I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not ...
7
votes
1answer
1k views

Problems running python script from motion

I'm trying to set up the raspberry pi with my webcam as a motion detecting cctv that uploads the videos to google drive using Jeremy Blythe's script I have motion working correctly and the python ...
6
votes
5answers
906 views

Can you make a linux system halt and boot my Raspberry-pi at certain times?

How to make a system turn itself off and back on at different times. For example I would have my "server" turn off at 4 A.M then turn back on at 5 A.M every day. Is this possible? I am using a ...
6
votes
3answers
2k views

Mounting and modifying a loopback file without sudo/root, is it possible?

I'm trying to adapt a tutorial into an easy to use script http://qt-project.org/wiki/RaspberryPi_Beginners_guide. I'm trying to reduce the need for sudo/root as much as possible (preferably, only ...
6
votes
1answer
3k views

Arch ntpd/ntpdate not synchronizng clock

My raspi running Arch isnt updating time with NTPD. Im running [root@fatpi ~]# cat /proc/version Linux version 3.10.28-1-ARCH (nobody@root-armv6-copy) (gcc version 4.8.2 20131219 (prerelease) ...
6
votes
1answer
2k views

apt-get -f install is stuck on “corrupted filesystem tarfile”

I am having issues with apt-get on my Raspberry Pi. This is the output when I try and install a package: pi@raspberrypi ~ $ sudo apt-get -f install cowsay Reading package lists... Done Building ...
6
votes
1answer
4k views

How to get my bluetooth keyboard to be recognized before log in?

Because I need to use my keyboard to log in, I would like my keyboard pair automatically, pre-log in. I am using Debian squeeze, and am new to linux. All tutorials I have found seem to require the ...
5
votes
3answers
3k views

How can I tell if my wifi dongle has access-point capabilities?

I have a Realtek 8191SU USB wifi dongle for use on my Raspberry Pi. I'm trying to set up a wifi access point using this tutorial. However, I'm running into a few errors, and I suspect it might be ...
5
votes
2answers
769 views

How can I launch applications from 2 ttys on launch?

I've currently got 2 ttys logging in automatically, but I need to launch a node script from one and a C program from another as soon as the device loads. The device is a Raspberry Pi running ...
5
votes
2answers
299 views

Stream audio from Linux to Raspbmc

I'd like to stream audio (mainly Spotify) to my Raspberry Pi. I am running Fedora 19 and Raspbmc is running on the Raspberry Pi. I'd like to stream wireless. My first thought was to use AirPlay, as ...
5
votes
1answer
252 views

Secure access to remote SSH tunnel

So I wish to be able to access my Raspberry Pi (which I keep at home behind a firewall) remotely. One option is to use a static IP address, but as a poor student I don't want to fork out for one, and ...
5
votes
1answer
364 views

Emulate RaspberryPi using QEMU

I would like to run a RaspberryPi system on my MacOSX using QEMU. I tried the following, using this tutorial: ./qemu-system-arm -M versatilepb -cpu arm1176 -m 256 -hda ArchLinuxARM-2014.06-rpi.img ...
4
votes
1answer
3k views

How can I take a screenshot in LXDE using scrot and the Print Screen button on my keyboard?

I have already installed scrot following the instructions here. The Windows Manager appears to be Openbox.
4
votes
1answer
607 views

How can I most simply transparently bridge traffic between wlan0 and eth0?

I am looking to do this on a Raspberry Pi, but I don't mind which operating system I have to install, so the easiest most out-of-the-box solution for Pidora (Fedora 20 Remix), Raspbian (Debian) or ...
4
votes
1answer
272 views

Reset running process when certain ammount of memory is consumed

I'm running a Hydra on Rasppberry PI. There were some problems with the program, but aside from these, there is a hidden memory leak in the program. The source is pretty big and really can't find the ...
4
votes
1answer
157 views

Arch Linux RPI: How accurate is the time on the RPi in Linux?

Currently I'm working on a application on my RPi which will be monitoring a set of GPIOs in real-time where the exact time when the GPIO turns HIGH is crucial for my application. And I need to know ...
4
votes
1answer
217 views

How Can I Automate the Change between a Python Script and a Nohup Python Script?

I have a Raspberry Pi connected to a digital temperature probe, which measures my fermenting beer. A python script reads the temperature every second and prints it to the console, and stores it in a ...
4
votes
2answers
2k 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 ...
4
votes
1answer
990 views

How do I mount a Windows folder with cifs on Raspian

I'd like to access the music library from my desktop with my Raspberry Pi, and I'd like to do this via Samba/cifs. I did the following: Set the folder Q:\musik as a shared folder on my Windows ...
4
votes
2answers
10k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
4
votes
1answer
1k views

Disable PIN request for pairing on Raspbian

I'm running a Raspberry Pi with Raspbian Wheezy. I have a BT (Bluetooth) dongle attached to one of the USB ports (I have a model B RPi), I've downloaded and installed the following packages: ...
3
votes
4answers
636 views

Execute a program at login

I'm running Arch-Linux ARM on a Raspberry Pi. My project goal is to have a barcode scanner attached to the Pi that forwards the scanned messages to a server in a LAN. To harden the system against ...
3
votes
2answers
184 views

leaking memory with shell script and tty [closed]

I'm running a shell script on a raspberry pi to communicate with a arduino. Every hour my ram gets used up by about 50 megabytes more. The script itself just connects to ttyACM0 (the arduino's usb ...
3
votes
2answers
146 views

fake monitor in a headless device

I have a raspberry running headless (no monitor nor TV) I have some programs that need X11 environment to start (but for nothing more) like for instance a midi sampler. I tried forwarding the X11 via ...
3
votes
2answers
271 views

Mount harddrive under different name?

When I plug a external HDD into my Rasberry Pi (running Raspbian) it automatically mounts as /media/2ad496774-3eb8-47bb-2bf5e-788f8eb89e54 where folder underneath it are then accessible by going ...
3
votes
1answer
3k views

Raspberry Pi Wireless USB stick

I recently acquired a Raspberry Pi, and have installed Debian Squeeze on it, and after doing a small bit of research (I'm not too proficient with Linux) I found and ordered a USB wireless dongle ...
3
votes
1answer
5k views

channel 1: open failed: administratively prohibited: open failed

I am trying to set up an SSH tunnel (on a Raspberry Pi) with the following command: ssh user@terbank.cs.kuleuven.be -L 5672:tabor.cs.kotnet.leuven.be:5672 -N (I should note that I can, or at least ...
3
votes
1answer
87 views

how to write a startup dependency on Internet availability?

Some of the services on my Raspberry Pi (~ Debian) depend on the availability of Internet (especially ntpd, for cryptic reasons). Specifically, the availability of a network device or a link being up ...
3
votes
1answer
483 views

Streaming music to a raspberry pi

I have a laptop and a raspberry pi connected to a soundsystem via the jack output. I'd like to have the output of the soundcard of my laptop redirected to the raspberry through my local network. I ...
3
votes
2answers
140 views

Pipe / direct image / video output to foreign server

I am working on a Project that involves taking the output from a Webcam which is in either jpg or h.264 format, and outputting it to a foreign server (HTTP / FTP would work, I am open minded). What is ...
3
votes
1answer
359 views

Arch Linux Encrypt entire drive

My Raspberry Pi is set up as a PHP MySQL (Percona) server and I think that I have managed to make it quite resilient against online attacks but it is still very vulnerable against someone just taking ...
3
votes
1answer
89 views

How-to diff distributions?

I am using a Raspberry Pi. There seem to be all kinds of linux distributions, all in .img Format that I use Win32DiskImager for to burn to SD-card. How do I find out, which files were changed(some ...
3
votes
3answers
4k views

Is it possible to repair Linux system files? Or is reinstall the only option?

I've got a question about something that always bothered me about Linux. On Windows, if any of the system files become damaged, you can just reinstall the system files, without having to re-format ...
3
votes
1answer
254 views

Init script leaves thousands of defunct processes

My problem is that I have an init script that is generating thousands of defunct bash processes. My goal is to have a program called "fr24feed" in its own screen session on boot. After looking at ...
3
votes
1answer
241 views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
3
votes
1answer
2k views

Help compiling a Linux driver for a TV card stack

I've been trying to get my Raspberry Pi to work with one of two TV Cards that I have available on me. Unfortunately I live in Hong Kong where due to the digital broadcast standard, leaves me with few ...
3
votes
1answer
369 views

Tunnel AFP over SSH over Internet

I can't seem to figure out how to connect to AFP over SSH. Here is my setup: [Raspberry Pi] <---> [router] <---> (Internet) <---> [Client] I'd like to be able to connect to my ...
3
votes
1answer
380 views

Why does wlan1 not get a static IP?

I have a Raspberry Pi with two USB wlan adapters. wlan0 is configured with DHCP and wlan1 is configured with a static IP address and hostapd (access point) is running on this interface. The adapter ...
3
votes
2answers
3k views

OMXplayer and HDMI audio on the Raspberry Pi

When I try playing video using the command: omxplayer -o hdmi sound will not work unless I also include the -r switch. The only problem with this is when the video is done it leaves a black screen ...
3
votes
1answer
5k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
3
votes
0answers
521 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 ...
3
votes
0answers
923 views

How do I reset a USB device using a script?

I have a USB GSM modem that does not always work property (Huawei E367u-2) Sometimes it gets reset (USB device disconnect/reconnect in logs) and when it comes back up, it has different ttyUSB numbers. ...
2
votes
2answers
153 views

Automatically reboot, if no wifi connection for a certain time

It seems that my Raspberry Pi server loses wifi connection after a random time and is somehow not able to recover automatically. Usually a reboot done by hand resolves the problem. I would like to ...
2
votes
1answer
5k views

How to setup a RAID system using USB sticks as storage media

I want to create an inexpensive self-hosted private git server with redundant storage. To that end I have bought a Raspberry Pi and configured both git and ssh on the Pi. I can access the Pi both from ...
2
votes
2answers
3k views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
2
votes
1answer
1k views

“No such file or directory” when executing a cross-compiled program on a Raspberry Pi

I recently bought a Raspberry Pi. I already have configured it, and I install a cross compiler for arm on my desktop (amd64). I compiled a simple "hello world" program and then I copy it from my ...