3
votes
1answer
36 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 ...
1
vote
2answers
52 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 ...
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 ...
1
vote
4answers
102 views

Why does “sudo ./foo” return “./foo Command not found”?

I'm having trouble with my new Raspberry Pi. Any time I try to run ./foo, it returns -bash: ./foo: Permission denied But if I try to run sudo ./bar, then it returns sudo: ./bar: command not found ...
4
votes
1answer
87 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 ...
1
vote
1answer
371 views

Fail to install node.js on Debian

I'm running Raspbmc which is running a minimal Linux distribution based on Debian. And I would like to install node.js via package manager but I'm fail to install on my system. Which it come with this ...
1
vote
2answers
1k views

I always need to ifdown/ifup wlan0 after reboot

I'm trying to create an ad-hoc wifi made of 5 computers (one windows pc and 4 raspberry pi loaded with a raspbian) the raspberry pi will talk through mqtt, but tha'ts not the point. The problem I have ...
0
votes
1answer
373 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
1answer
203 views

No bluez device after pactl list sources short

I am using pulseaudio on a Raspberry Debian (Wheezy) but my bt-headset(Iqua BHS-611) does not show up in sources or sinks. What I did: I followed the Raspbian Wheezy Installation Guide at: ...
2
votes
0answers
76 views

Debian based Raspberry – samba invisible unless I restart

I have a Raspberry Pi running Raspbian along with other computers on the same network. I installed, configured and started samba to share files from my home folder of the Raspberry Pi to my other ...
3
votes
1answer
673 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 ...
0
votes
1answer
198 views

USB Drive Software Disk Mirroring - Is this the right approach?

I have a 1TB NTFS USB Data Drive (no boot, etc...) that I would like to keep a mirror of as a backup in case of hardware failure. It is always connected to my raspberry pi running the raspbian ...
2
votes
1answer
471 views

How do I start a gui framebuffer (no X) application on startup instead of console login prompt?

I have a python application that uses pygame to access the framebuffer directly without using X. I want to start this application on startup instead of showing the console login prompt. I haven't ...
2
votes
2answers
597 views

init.d script causes boot hang

I successfully installed a script to automatically launch in /etc/init.d on my new Raspberry Pi. Unfortunately, it is a node.js app that never returns, and therefore hangs the device during boot ...
3
votes
1answer
256 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 ...
2
votes
3answers
728 views

CUPS - check if print successful (either python or in system)

EDIT: I forgot to make it clear I'm using python and pycups. The code is python but I shouldn't have thought that was enough. I've dug through the cups documentation a few times and couldn't find ...
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 ...
2
votes
2answers
796 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 ...
4
votes
2answers
384 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
335 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 ...
2
votes
1answer
2k views

Getting webcam to work in Raspberry Pi

I am trying to get a HAMA webcam to work with my raspberry pi with the raspbian os. When I type usb-devices I get: pi@raspberrypi ~ $ usb-devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 ...
2
votes
1answer
8k 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 ...
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 ...