Ultra low-cost computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/
17
votes
4answers
3k 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 ...
9
votes
1answer
523 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
269 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
2answers
953 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
503 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
826 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
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
1k 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
3k 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
1answer
861 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) ...
5
votes
1answer
133 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
2answers
951 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
1answer
165 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 ...
4
votes
1answer
2k 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
142 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
158 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
490 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 ...
4
votes
0answers
368 views
Problems with printer page format in CUPS
I'm setting up print server for custom thermal printer on RaspberryPi running Linux Debian and I have a strange problem. If I print a test page it prints OK, same with web page from Firefox, but when ...
3
votes
4answers
322 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
71 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
159 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
50 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
420 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
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
2answers
82 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
130 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
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
97 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
293 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
291 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
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 ...
3
votes
1answer
2k 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
280 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
593 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. ...
3
votes
1answer
777 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 ...
2
votes
2answers
28 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
517 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
110 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
715 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 ...
2
votes
2answers
961 views
run executable on boot
For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi.
running this command from CLI:
/home/pi/domotiga/DomotiGaServer.gambas -d
runs my home automation server.
How ...
2
votes
1answer
61 views
Linux motion user - run it as ssh key as pi to remote server
This question is related to the two other questions I had earlier, about enabling Raspberry Pi to act as a motion sensor that will try to ssh into a more powerful server when it detects motion (the ...
2
votes
1answer
84 views
Redirecting Request on Device in Access Point Mode
I have a Raspberry Pi with a wifi dongle that is configured for Access Point mode (wifi hotspot).
When a user is connected, I want to redirect any url they enter to a specified IP (the devices ...
2
votes
1answer
55 views
Can I apply `tmux` to a bash script?
Is it possible for me to use tmux to SSH into a Raspberry Pi, run a Bash script, and then leave the session (from my laptop), while the Raspberry Pi continues to run the script?
2
votes
1answer
269 views
Use the raspberry pi as a source of entropy for /dev/random
I'm trying to see if I can use my raspberry pi's hardware RNG as a source of entropy for /dev/random. Mostly to see if I can get it to work and find yet another use for this nifty little device. Of ...
2
votes
2answers
2k views
Intermittent ping times on a raspberry pi wifi access point
I have set up a raspberry pi as a wifi access point. At this point, all I want to do is ssh the rpi. I'm finding that the ssh sessions hang for 5-30 seconds ever 1 to 6 minutes or so. My laptop is ...
2
votes
5answers
4k views
Cannot delete bridge - “bridge br0 is still up; can't delete it”
I have the same problem as this guy : Bring down and delete bridge interface that's up
But that solution does not work for me.
I remove all interfaces from the bridge using brctl delif .
I then ...
2
votes
2answers
827 views
Why is rcS required after file system is mounted by the kernel?
I am a beginner in 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 ...
2
votes
2answers
23 views
Backing up a partition
I am pretty new to linux. I mostly started learning after I purchased a couple of Raspberry Pis. I like to make backups of my images as I have often made the mistake of corrupting my data :).
...
2
votes
2answers
3k views
Run a sudo (or startup) python script from cron on a Raspberry Pi?
I'm helping out with an art project (http://stargateeggbeater.com/ for those interested) built on Raspberry Pi. The RPi controls an addressable LED strip through the GPIO, using the spidev device per ...