0
votes
0answers
17 views

Files and Directories Dissappearing from Software Raid on Power Failure

I have a home samba file "server" (a raspberry pi) with two hard drives in a software raid 1, which have proven less reliable than any of my non-raid disks. I know there is a chance for data ...
0
votes
0answers
52 views

raspberry pi pulseaudio server connection failure

I purchased a raspberry pi model b , after installing image, the first thing I do is I installed vlc and copy a mp4 video in raspberry pi. Now from command prompt I tried to run my video using vlc. ...
1
vote
0answers
21 views

Recover deleted files on Raspberry Pi? [duplicate]

So I just rm -rf'ed a folder with a few files I need. Yes I know I should've had a backup, but it's just a Pi. It's designed to be played around with! Is there anything I can do to recover that ...
0
votes
2answers
698 views

udev rule trouble on a Raspberry Pi (Raspbrian) using an ACR122U card reader

I am trying to get my ACR122U usable by all users on my Pi. I have the drivers installed correctly and nfc-list is working for root: root@raspberrypi:/etc/udev/rules.d# nfc-list nfc-list uses libnfc ...
3
votes
1answer
177 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 ...
0
votes
0answers
626 views

How to fix startx on Arch Linux on Raspberry pi?

I have a problem when trying to use the command startx. It comes back with /usr/bin/x error while loading shared libraries: libgcrypt.so.20: cannot open shared and then says that it is giving ...
1
vote
2answers
3k views

apt-get install fails with error “Unable to locate package”

Background Hi there. I'm relatively new to linux so you'll have to excuse my noobie question. I'm trying to follow the instructions found here: http://repo.pouf.org/ to install kamailio on my ...
3
votes
2answers
114 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 ...
1
vote
0answers
18 views

Can i run a program on Linux startup instead of a Desktop Manager like Gnome, KDE, etc.? [duplicate]

I have a rasberry pi running raspbian and i would like it to "boot" into my program instead of starting Lxde. So basically let's say i will write a OpenGL program that will go fullscreen and i would ...
0
votes
1answer
200 views

How to start X program on local display? [duplicate]

I'm ssh-ing into a Raspberry Pi. I would like to start an X program remotely, on the Pi's display. I know you can export DISPLAY to have programs open up on your computer when you ssh-in. But I'm ...
5
votes
1answer
2k 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) ...
2
votes
1answer
69 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?
0
votes
2answers
80 views

Command to restore filesystem to state after installation of the OS

How can I wipe all the changes to the filesystem since installing the OS? It's not that I want to destroy the files because they contain sensitive data or anything like that; I just want to start over ...
0
votes
2answers
412 views

Mainline kernel supported Raspberry Pi competitor? (no GPU needed)

The Raspberry Pi uses its own kernel fork. For a headless server (no GPU needed), is there a device with similar specs, performance-wise, that can use the vanilla mainline kernel from kernel.org?
1
vote
1answer
152 views

ACL defaults: files vs directories

Default ACLs on a directory are inherited by files and subdirectories created under that directory. It seems a common requirement that by default subdirectories should be executable (i.e. cd-able) ...
0
votes
2answers
1k views

Creating directory on an external hard drive via command line (SSH) on Linux

I have tried many approaches to create a directory on my external hard drive. Here is the details when I do fdisk -l What I get: pi@raspberrypi:~$ sudo fdisk -l Disk /dev/mmcblk0: 3965 MB, ...
1
vote
1answer
558 views

Capture raw image from V4L (webcam) device

I'm using a Raspberry pi to monitor a self-service fridge. When the door opens, a shell script is being executed to capture pictures until the door closes again. The problem, however, is the speed of ...
2
votes
1answer
311 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 ...
0
votes
0answers
407 views

Permission Denied (PublicKey,keyboard-interactive) linux raspberry pi

I know there are a ton of questions on this. I have read almost all of them. I have also googled this problem to no avail I attempted to git clone git@git.assembla.com:myhubname.git and I get ...
0
votes
2answers
80 views

getting a gui program to start on boot

I have a C program I wrote for debian on the raspberry pi that asks the user to enter a number, 1-4 which it then stores in a configuration file. This only happens if the configuration file is ...
0
votes
1answer
761 views

LIRC does not start after reboot

If I compile LIRC with this patched lirc followed by install using make install it works fine and launches without any error. However, after a reboot the same command fails with following error : ...
1
vote
0answers
205 views

Raspberry PI wifi network setup: switch adhoc mode if a wired/wifi network is unavailable

I'm using raspbian (debian) and I want the system would be able to always be reachable through the network, without the user needs to manually interact with the system. I'm looking for a solution that ...
2
votes
1answer
260 views

parted not recognizing my current partition on external disk. How to fix without losing data?

I have an external (USB) disk, which has been working OK for some time and shows no errors whatsoever in /var/log/$relevantfiles (no errors on reading/writing, for example). Here's the thing: if I ...
3
votes
1answer
342 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
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
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 ...
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 ...