A Linux distribution for the Raspberry Pi, derived from Debian

learn more… | top users | synonyms

1
vote
1answer
11 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
19 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
37 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
32 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 { ...
1
vote
1answer
35 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, ...
0
votes
1answer
70 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
57 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 ...
0
votes
0answers
9 views

Rasbian AFP-SSH-Tunnel

I've Rasbian running on my Raspberry Pi which is connected to the internet over a router and registered on a free DNS-Server to connect to it. I have configured Rasbian to work as an afp-server to ...
3
votes
2answers
97 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
23 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
22 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
38 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
18 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
35 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
24 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 ...
0
votes
0answers
24 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
15 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 ...
0
votes
0answers
12 views

debian/ can't read raspi sd

I'm facing serious issues here, with a fully functioning SD card containing Raspbian (created dding the image into the sd) not being read by Debian. My /dev shows the drive as sdb but, where other SDs ...
2
votes
1answer
64 views

How to resolve “mount.nfs: access denied by server” error

I am trying to mount a directory from a Raspberry Pi 2 (the NFS server) from an Ubuntu 15.10 PC (the NFS client). When I try, I get the error: mount.nfs: access denied by server while mounting ...
2
votes
1answer
45 views

Why are my if-up.d scripts running before DHCP(v6) has completed?

I'm using DHCP and have both IPv4 and IPv6. I want to run a script that updates an IPv6 DDNS service when my network is configured. I created a script at /etc/network/if-up.d/update_dns however this ...
1
vote
0answers
76 views

forcing proxy traffic to route via a specific 3G dongle interface

I've searched for details on how to do this but I've been unsuccessful - I wondered if someone could offer up some advice. I have 2 network cards (LAN and 3G in my case), LAN is my main interface ...
0
votes
2answers
52 views

How to Connect Raspbian to Internet in Eth0?

I have Raspbian Jessie in a Raspberry 3b. My test experiment is ping google.com, which I do when studying network. My configs in Raspberry in /etc/network/interfaces based on this thread but changed ...
1
vote
1answer
107 views

What's the best way to install apt packages from Debian Stretch on Raspbian Jessie?

I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any ...
1
vote
2answers
72 views

How can I make Chromium start full-screen under X?

I've installed Raspian Jessie Lite and added on the minimum I can to get a browser running fullscreen. I started off with IceWeasel: sudo apt-get install -y x-window-system iceweasel And put this ...
1
vote
1answer
37 views

Why is unattended-upgrades not sending emails?

I'm using Raspbian Jessie Lite. I've configured unattended upgrades as detailed here, but I don't seem to be getting any emails. Updates were installed this morning: 2016-04-03 06:52:55,942 INFO ...
0
votes
0answers
113 views

Can I stop IPv6 “Router Advertisement” filling syslog without disabling IPv6?

My syslog looks like this: Apr 1 19:05:25 raspberrypi dhcpcd[699]: eth0: Router Advertisement from fe80::c23e:fff:fe63:5170 Apr 1 19:07:35 raspberrypi dhcpcd[699]: eth0: Router Advertisement from ...
0
votes
0answers
12 views

Browsing Public Windows Shares

I have a Windows machine that shares a few folders publicly on my network. These shares worked fine over OpenELEC, I simply left the account and password field blank. But on Rasbian when I browse to ...
3
votes
1answer
231 views

How do I make “startx iceweasel” launch full-screen?

I've done a clean install of Raspian Lite on my Rasperry Pi (there is no desktop environment installed). I'd like a kiosk-mode browser running fullscreen without having to worry about ...
0
votes
0answers
11 views

Raspbian Kernel Oops at fs/dcache.c

We have a Raspberry Pi 2 running Raspbian 8 Jessie. We are running a simple Python 3 based Flask server to read from GPIO pins and toggle a relay (Externally powered). This system is polled every ...
3
votes
2answers
119 views

(Raspian) DHCP startup race conditions - lots of service failures at startup (no DNS for ~5-10 seconds)

(Edit: This applies to much more than postfix; it's just where I noticed/debugged it) I've installed postfix, but when it starts up and creates its chroot, it gets an empty copy of /etc/resolv.conf ...
1
vote
2answers
40 views

Renew Kerberos ticket for daemon

Using ISC-DHCPD to renew DHCP leases in an Active Directory domain. This requires using ktutil to generate a keytab for DHCPd to use in order to update secure dynamic DNS. What I need to do is to be ...
0
votes
0answers
18 views

allow just running of two specific programs (scripts) for user's account

I don't have much experience with user privileges in Raspbian (Debian for Raspberry Pi). Sorry for "stupid" question but I would like to ask you for help with this. (I think it has something to do ...
0
votes
1answer
32 views

Retrieve apt-get package in differing distros

I have ROS Indigo installed in Ubuntu 14.04 on a macbook pro. I can find and install the package ros-indigo-openni-launch. $ sudo apt-get install ros-indigo-openni-launch [sudo] password for jackson: ...
0
votes
1answer
28 views

Giving a user permission to modify/edit/delete files in “/” directory (Not using Terminal, but with File Explorer)

I'm currently having an issue trying to give a user the permissions that the 'root' user has, which is to modify anything in the / directory. I've changed the /etc/passwd file but still no luck. I've ...
0
votes
1answer
56 views

Recurring ext4 “bad header invalid magic” errors on a healty drive

I'm getting frequent and recurring ext4 "bad header invalid magic" errors on an apparently healthy, brand new (few months old) external USB drive (WD MyBook 1230) connected to a Raspberry Pi running ...
0
votes
0answers
33 views

Maximising resources for a Raspberry Pi 2 while streaming Steam

I've set up my Raspberry Pi 2 to stream Steam games from my computer, however I would like to have a script that basically closes the X server completely before streaming so it's not using the few ...
1
vote
0answers
39 views

Raspberry Pi 2 running raspbian unmounts external hard drive every so often

I hope this is an ok place to ask this out of all the stack overflow communities there are. Anyway I have a raspberry pi 2 in my house that I keep around to backup some files and host media files ...
4
votes
2answers
187 views

Understanding wpa_supplicant

TL;DR. I need help getting to the bottom of: why there are errors related to ioctl when using wext driver, why I'm not able to use nl80211 driver. When running wpa_supplicant I get weird errors ...
3
votes
2answers
98 views

Crontab shell script git pull and forever start

I'm trying to set up a Raspberry Pi to check a repo on startup and then fire up a node script with forever. I got the second part working, but I tried a dozen git commands with no success. Here is ...
0
votes
1answer
54 views

Raspbian Jessie wired LAN no DHCPOFFERS from pfSense 2.2.6 DHCP server

Raspberry Pi B+ running Jessie. Spare Compaq laptop running pfSense 2.2.6 with onboard Realtek NIC for the WAN and a Micro Center Inland USB Ethernet adapter for the LAN port. This configuration ...
2
votes
2answers
96 views

Traffic of specific program through vpn [duplicate]

is it possible to only let the traffic of Deluge through a VPN (OpenVPN) and the other traffic not with iptables? Kind regards
0
votes
0answers
42 views

mpd fails to start after upgrade to Jessie

I upgraded from Wheezy to Jessie and now my mpd won't start. The error I get is: /usr/bin/mpd: relocation error: /usr/bin/mpd: symbol mpd_directory_get_last_modified, version libmpdclient2 not ...
0
votes
0answers
87 views

MPD/MPC save absolute paths in playlist --> song filename?

I have a MPD (Music Player Daemon) Server and an MPC client to control the server. When i issue the command mpc playlist the output shows me the all the songs in the playlist. I think if the music ...
0
votes
1answer
25 views

Hosts are not found by server after restart and require manual input of DNS server to work

My Raspbian server "forgets" it's hosts after resrtat. The only solution that I have found is to manually run: sudo sh -c 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf' However, it is ...
0
votes
1answer
71 views

Bash script not working with crontab

I own a raspberry pi that runs raspbian jessie. I'm using this raspberry with motioneye as a system surveillance. Motioneye records files to a sd card but i want to delete older files in folder ...
0
votes
2answers
22 views

Why doesn't the -x exclude option in zip seem to actually exclude the path?

Using Raspbian on a Raspberry Pi, I want to back up the /etc files, but not all of them. I'd like to exclude /etc/alternatives, so I used this command: sudo zip -r ...
0
votes
1answer
12 views

Setting www-data (lighttpd) as sudoer not working

I have installed lighttpd with fast-cgi on the raspberry pi. When running a python script that requires root priveleges, I get the following error: RuntimeError: No access to /dev/mem. Try running ...
1
vote
1answer
113 views

Mounting NTFS drive or folder as a Samba share on Raspbian Jessie

I'm working on a Raspberry Pi B+ with Raspbian Jessie. As far as I can tell, the drive is mounted read/write, but there's some kind of problem with where my Samba share is pointing to the mount point ...
-1
votes
3answers
61 views

Using grep to remove comments from a file

I'm trying to use grep to remove the comments from a file, smb.conf to be specific, and bash is giving me an error. I found this question How to remove all comments from a file? that gives the syntax ...