A Linux distribution for the Raspberry Pi, derived from Debian

learn more… | top users | synonyms

0
votes
0answers
25 views

Crontab and python script

On raspian I created a crontab file using the following command: sudo crontab -e Added the following lines to cron @reboot sudo /etc/init.d/cron start 0 * * * * sudo /usr/bin/python3 /home/pi/dev/...
0
votes
0answers
16 views

Making Kodi Autostart

This is a really basic question but I'm losing my mind. I'm currently running the latest Raspian version which is based on Debian v8 (Jessie). I have been trying to get Kodi to autostart when the ...
0
votes
1answer
23 views

Can’t see files on an USB stick attached to a Raspberry PI 2

I have formated an USB stick from my Raspberry in VFAT and use it with Syncthing which works fine (dropping files from Windows 10, store them on the stick and access them on an Android Tablet). But ...
3
votes
2answers
35 views

Why do I keep getting a “cannot connect to X server error”?

I am using the FLIR camera with my Raspberry Pi and running it on a Raspbian destro of linux. I've followed the instructions on the Github page perfectly when trying to setup the raspberrypi_video ...
0
votes
0answers
17 views

Detect 3,5mm Headphone Jack in Raspian Linux

i currently try to detect whether the headphones are plugged in on a raspberry pi zero or not. I want to write an application that starts a .wav file when i plug in, and kill the process when i unplug ...
0
votes
0answers
9 views

Problem with Rails on Redmine installation (Raspbian distro)

When running rails -v and some other command every time appears this error below. Obviously /etc/redmine/default/ permission are well configured. Just for test I set the permission 777 but the problem ...
1
vote
1answer
29 views

IPv6 ULA address source selection

I have two Raspberry Pis (running the 2016-27-5 Raspbian) and i'm trying to set them up to use IPv6 ULA addresses for communications restricted inside my LAN. Everything is fine but one very ...
1
vote
0answers
31 views

Postfix Not sending mail, but can recive

Hey everyone I have an issue with my postfix server not sending emails. The server retrieves emails no problem, but when I go to send an email it just times out. It did sort of work before i added ...
0
votes
0answers
22 views

Owncloud did not recognize new folders

I have installed owncloud on my raspberry PI. I use my external HDD as database for my owncloud. Yesterday I disconnect my HDD from PI and connect it to PC, it is much easier to create and fill ...
0
votes
0answers
26 views

RaspberryPi VPN secure privacy

I have a RaspberryPi running a VPN server with OpenVPN, however local safety conditions are not the best and I'm afraid the Pi can be accessed or stolen by third parties. How can I best protect the ...
3
votes
1answer
48 views

Cannot trigger tmux script on boot

I have a tmux triggering script as mentioned below, running on Raspbian Wheezy 7.10: Step 1 #!/bin/bash # this script is called "sess" tmux new-session -d -s sess1 'sudo /home/pi/bin/myscript.py' ...
1
vote
0answers
30 views

MPD MPC error, timeout after stopping, clearing playlist, load and play again

I'm getting crazy with MPD/MPC. I'm trying a basic use, playing a web playlist. My problem is when I try to stop it and then start playing again. LOADING: pi@raspberrypi:~ $ sudo mpd pi@raspberrypi:~...
0
votes
0answers
16 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, ...
1
vote
1answer
12 views

How to change audio levels of sound card with same control names

I'm trying to write a script that automatically changes the playback/capture audio levels based on the device that is connected. I'm using a MAYA44 USB+ sound with 4 ch in/out. Thanks to a similar ...
0
votes
1answer
31 views

How do I add a user to a group

How do I add a user to a group. This is on a system with no root password and only a single user pi with sudo privileges. usermod seems to have been designed to make this as difficult as possible.
3
votes
0answers
48 views

Upstart services only work on startup

I'm working on Raspbian Jessie and I wrote my upstart script by follows this tutorial. Here is my /etc/init/videostream.conf script file. # RPI Camera Service description "RPICAM streaming" ...
1
vote
1answer
91 views

How to Troubleshoot this apache2 failure of restart?

Condition: http://192.168.1.107/ and http://192.168.1.107/owncloud (with/without https) not alive after reconfiguring settings with self-signed SSL certifigates for HTTPS as described by the thread ...
1
vote
0answers
27 views

VPN SoftEther - I can't access VPN server directly from VPN connected device

I have installed and run VPN server (SoftEther) on my Raspberry Pi 3 (Raspbian) and it works fine except the fact that my PI works not only as VPN server but offers other services (SAMBA, FTP, APACHE, ...
1
vote
1answer
62 views

Can I check if create_ap works?

I am currently using the script create_ap to emit a Wifi Access Point (WAP) using my Raspberry Pi, which is running Raspbian. How can I check if the AP is up and running using a bash script? For your ...
1
vote
2answers
53 views

Copy compiled application to another system

I compiled the latest version of netatalk (3.1.8) from source to replace the rather outdated version on my Raspberry Pi. This was quite successful, and I would like to use this version on other ...
1
vote
1answer
18 views

Raspbian uses the complete dhcp range

I temporarily had a static ip for my raspberry. Now the config looks like this. /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp But this leads to a ...
0
votes
1answer
24 views

saned accepting scans initiated on scanner/MFP [duplicate]

I'd like to use my Raspberry Pi as a home print and scanner server. I successfully made it to half way, installed hplips and cups, we can print now from OSX, Windows, Ubuntu and Android, there's sane/...
3
votes
0answers
60 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 ...
2
votes
0answers
27 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 ...
1
vote
1answer
44 views

How to :Autorun scriptshell after user log-in

I am writing a program in java programming language on Raspberry pi. As you know Raspberry pi is working on Rasbian Unix based OS. I have created my java fx gui application and set it to myscript ...
1
vote
0answers
43 views

Why does perl complain about locales? [duplicate]

This thread is not a duplicate to locale not found/setting locale failed - what should I do? because the file /etc/locale.gen has uncommented the line en_US.UTF-8 UTF-8 which should sufficient no ...
3
votes
1answer
32 views

Raspbian - Apache server not accessable over the internet

First of all: I'm a n00b regarding networks and Linux and stuff :) Here is my problem: I want to use my raspberry pi as a webserver. I installed and configured apache and enabled port forwarding on ...
3
votes
1answer
116 views

Why failing to delete user in Raspbian?

I do successfully in Raspbian Jessie of Raspberry Pi 3b % http://askubuntu.com/a/227513/25388 masi@raspberrypi:~ $ sudo locale-gen en_US en_US.UTF-8 masi@raspberrypi:~ $ sudo dpkg-reconfigure locales ...
0
votes
0answers
26 views

To forward-search in Raspbian's Bash?

Keybinding CTRL-S is enabled by default in Debian/Ubuntu/OS X bun not in Raspbian. I can enable the reverse-search by in $HOME/.bashrc, which disables XON/XOFF, but it does not help with the forward-...
0
votes
1answer
43 views

To wget as New User without sudo in Raspbian

I have a new user masi in Raspbian Jessie. I want that it has access to /usr/bin/ etc wget. I did sudo adduser masi sudo visudo root ALL=(ALL:ALL) ALL masi ALL= NOPASSWD: ALL % ...
2
votes
0answers
21 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 ...
0
votes
1answer
36 views

Systemd pause boot while script runs

I have a script that I want to run at boot, and whilst it runs I would like it to pause the boot process. I have tried the systemd service [Unit] Description=setup script Before=default.target [...
2
votes
1answer
17 views

Update on reboot with init.d

I created a script to add a bunch of packages and update the system on a fresh install. Here's the relevant part of my init.d script that is giving me trouble: #!/bin/sh ### BEGIN INIT INFO # ...
1
vote
0answers
56 views

Raspbian Jessie Lite “Factory Reset”

I am currently remoting offsite to my Raspberry and since I think I messed up all packages and configuration files I would like to return to default settings before installing all the packages and ...
0
votes
0answers
45 views

Why does Linux seem to automount NTFS USB drives under /media/LABEL but FAT32 USB drives under /media/usb[some_weird_number]?

I need them fat ones to be mounted under /media/LABEL as well... Running Raspbian (7.x something if I remember correctly). Does anybody know the solution?
0
votes
2answers
50 views

How can I create an output file from ARP in json format?

How can I create an output file from ARP in json format? I have a raspberry pi running openremote2 and want to format an output file that openremote understands - here is an example { 'command':'...
1
vote
1answer
59 views

launch process foreground on boot

I know how to launch programs in the background with cron on boot or at certain intervals, but in this case, I want to launch a python script in the foreground, automatically when the computer starts, ...
1
vote
2answers
323 views

Raspberry Pi 3 TP-LINK AC 600 (T2UH) wireless USB adapter (Raspbian Lite)

I'm trying to install my TP-LINK AC 600 (T2UH) wireless USB adapter on my Raspberry Pi 3b running Raspbian Jessie Lite. I was following a guide for Ubuntu but it looks like i'm missing something but ...
1
vote
1answer
70 views

Running Java GUI on Raspi without a connected display

I have a Java GUI app that runs fine on my windows PC and on a Raspi running Raspian when the Raspi has a monitor connected. I want to run the java app on the Raspi without a monitor attached. I'm ...
1
vote
1answer
61 views

Two cronjobs not working (one to start a process, one to stop a process)

I typed the following into crontab -e 0 0 * * * bitcoind -datadir=/home/pi/bitcoinData -daemon 0 6 * * * bitcoin-cli -datadir=/home/pi/bitcoinData stop I expect this to run bitcoind -datadir=/home/...
3
votes
2answers
165 views

WPA supplicant dropping/disconnecting NIC in hotel wifi

TL;DR WPA Supplicant intermittently fails on my Raspberry Pi 3 when using a USB Wifi dongle. It appears to do this when "reconnecting" to or changing access points in the hotel. WPA GUI states: "...
0
votes
1answer
32 views

Cannot switch to a non-admin user

Seems like I can't su unless the user is admin. When trying to ssh into the user or su username i get: Cannot execute /bin/bash: Permission denied Have tried almost every solution I could find on ...
0
votes
1answer
27 views

Remove script under profile.d which “freezes” the system on boot

Is there a way during the boot to go to console instead of loading all "things"? Need to go to profile.d-directory and remove script which "freezes" system during the boot. I don't know the word for ...
0
votes
0answers
60 views

CLI connection from Raspberry Pi3 to bluetooth in solar PV inverter

I am new to bluetooth & trying to learn more so I can connect to my inverter. We have been able to use various command-line tools to: - scan & find my bluetooth mac address. - browse the mac &...
1
vote
1answer
21 views

Trying to get .py scripts running through apache (mod_python) [closed]

All the tutorials say to look for <directory...> </directory>, but I cannot find this in my default 000-default.conf (on my raspberry pi). Can someone explain what I am supposed to do? All ...
0
votes
0answers
50 views

Raspbian Jessie: /etc/network/interfaces doesn't apply inet6 address. How to diagnose?

I'm experiencing a strange issue, and I don't really know how to diagnose it, or how to fix it. My problem is, that the static ipv6 assignment that used to work suddenly isn't applied any more at ...
0
votes
2answers
32 views

How do I thoroughly check bad sectors of a HDD connected over USB (in Raspbian)

I have a RaspberryPi 1 Model B and a, running Raspbian Wheezy. I recently bought a new hard disk - Western Digital WD10JPVX. I want to thoroughly check its health status, bad sectors if any. So I have ...
1
vote
0answers
30 views

How to get packets queued by the kernel packet filter?

I made simple HTTP proxy which accepts connections from clients on a fixed port; the proxy forks for every incoming connection, and the forked process deals with the flow of packets to the Internet ...
0
votes
1answer
10 views

Is there a simple menu-based app that shows the LOCAL IP#?

Is there a simple menu-based app that shows the LOCAL IP#? This so I can provide the IP# to anyone wanting to contact my new RPI3 on a LOCAL network (Apache web server initially).
1
vote
0answers
16 views

Create two boot options for the same distro but with post run options

I have a Raspberry Pi with Raspbian. I installed Kodi (with autorun) but I'd like to install RetroPie into Raspbian also. I'd like to have several grub options: one with Kodi in autorun, another ...