Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Debian is an operating system that is based on GNU/Linux. It was previously recommended by the Raspberry Pi Foundation as the standard distribution, but Raspbian is now being recommended.

1
vote
1answer
52 views

Best 64 bit OS for Pi 3 without screen [closed]

So I've been running my Pi 3 with Raspbian Jessie Headless and I've run into some issues with the fact that Raspbian seems to be 32bit and MongoDB requires 64bit. So I am looking for the best (...
0
votes
0answers
51 views

wlan0: link is not ready

I have had my pi3 for a while now all of a sudden I start to get IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready and stalls there ...
0
votes
1answer
23 views

Is it safe to configure unattended-upgrades to use Debian security updates on Raspbian Lite?

When setting up Raspbian Lite and installing unattended-upgrades, the origins list defaults to this: "o=Debian,codename=${distro_codename},label=Debian-Security"; Is it safe (or wise) to use this, ...
0
votes
0answers
17 views

Can not start mysql on debian9

pi@raspberrypi:~ $ sudo systemctl status mariadb ● mariadb.service - MariaDB database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Active: failed (...
0
votes
1answer
36 views

Show me how to a start a background process and then be able to kill it at later time [closed]

Can someone please show me an example of starting a simple background process on the command line; and then later maybe have to open a new command line and then kill the background process?
0
votes
0answers
19 views

DHT11 problem in kernel module

I think that is not a faulty device but, instead, kernel problem. If my CPU is too busy the frequency of messages below come up. I'm using the dht11 dtoverlay with Debian Stretch. dmesg output (...
0
votes
0answers
24 views

Transmission-daemon permission denied in /home/pi/ folder. How to fix it?

I don't want to use any USB drive with my Raspberry Pi because my SD card has 32GB storage. So i put /home/pi/torrent/downloads and /home/pi/torrent/incompleted location in the /etc/transmission-...
0
votes
0answers
26 views

Apache2 - not running sudo command

i've problem with apache2. It is not executing Python Scripts which includes "sudo" command. Those scripts are working fine while running from terminal (as a "pi" user) Apache2 is using "pi" user: ...
0
votes
0answers
13 views

Mplayer unable to play online video

I am trying to play a video hosted on the cloud from the URL using mplayer https://someurl.com/video.mp4 But it throws an error No stream found to handle URL https://someurl.com/video.mp4 What is ...
1
vote
1answer
32 views

Missing cpu.cfs_period_us cgroup subsystem in Raspbian Stretch on Raspberry Pi Zero

I'm dabbling about with cgroups on my Raspberry Pi Zero using the latest version of Raspbian Stretch and I was surprised to see only the following cpu cgroup subsystems available: cgroup....
1
vote
0answers
46 views

Securing Raspberry Pi 3B+ Web Server with NAS [closed]

I have been researching about the security threats to a web server. It makes me want to secure my own on my Raspbian OS system. What are the list of things that are recommended or optional to install ...
0
votes
1answer
40 views

“bash: rbenv: command not found” and “bash: nodenv: command not found”

After trying to install this script using these commands: $ git clone git://github.com/mislav/dotfiles.git ~/dotfiles $ ~/dotfiles/script/bootstrap I restarted my Raspberry Pi and I'm seeing these ...
0
votes
0answers
52 views

Audioinjector streaming over RTP input errors: “hw:0,0: Protocol not found”, “Unknown input format: 'alsa'”

Using a RPI 3B running Debian Jessie, I've been trying to get a simple stream of the "flatmax" audioinjector's onboard mic over RTP to a VLC player. I've tried many different commands such as: ...
1
vote
0answers
21 views

LIRC Doesn't detect remotes

I've got some data that I want to send through IR, and I've got one remote working, with this config file. However, this is the only config file that LIRC recognizes. I've been putting all files into /...
0
votes
1answer
21 views

Error apache2 in Debian 9

I am trying to configure apache2 in debian 9, execute the command service apache2 start and I get this error Job for apache2.service failed because the control process exited with error code. See "...
0
votes
2answers
192 views

Install “libssl1.0-dev” package on Raspbian Stretch

I'd like to install telegram (Github Link) on my RPi 3 B+ (running the newest stretch) but I get an error when compiling. I asked on GitHub (Link) and was told I need to install the "libssl1.0-dev" ...
0
votes
0answers
93 views

xdotool not working as expected at startup

I am trying to simply launch Chromium at startup, then have xdotool press F11 to make it fullscreen. I don't want to use --kiosk mode so please don't suggest that. My autostart file is: @lxpanel --...
0
votes
0answers
148 views

libjson0-dev installation error

sudo apt-get install libjson0-dev when I try to run above command, it gives the following error Reading package lists... Done Building dependency tree Reading state information... Done E: ...
0
votes
1answer
28 views

How do I connect my Debian 9 computer to my Raspberry pi 2 using the ethernet connection to share the pi2 wireless?

I have the recent version of Debian in my computer and a recent version of raspbian in my PI2. I want to connect Debian to Raspberry pi 2 using an ethernet cable, connecting my Debian to share ...
0
votes
0answers
14 views

Audio on some programs is grainy and buffery

My system is Raspbian + Debian + some Debian Sid packages. I have a Pi-Top with no extra accessories, so am using the headphone jack. In the program Denemo (sudo apt-get install denemo/sid), the ...
0
votes
1answer
509 views

Linux modules mismatch version

I have a very unusual condition, perhaps a partial update or unknown condition. #>uname -a Linux sip02 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux #>uname -r 4.14.30-v7+...
1
vote
1answer
39 views

Raspberry Pi LED Not Turning On With Button

So, I am trying to use the raspberry pi model 2b with Debian to control a LED light using a button. But, when I run the python script (made with python2 btw), it brings up no errors, but instead when ...
0
votes
1answer
3k views

boot hang on random: crng init dome

I have kernel 4.9.80 (arm64) installed on a Debian stable system. This is on a RPI 3b. When the kernel gets to the line random: crng init done, it stops and never continues. I have read other articles ...
0
votes
0answers
217 views

facing problem with install Librosa package on my raspberry pi2

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-BanuQS/llvmlite/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(...
2
votes
2answers
906 views

Error while loading shared libraries: foo.so: cannot open shared object file: No such file or directory

I have cross compiled c++ code for raspberry pi. Below is process I followed: 1) Cloned the official toolchain from raspberry pi github. Set the environment variable of arm-linux-gnueabihf-c++ (in ....
-1
votes
1answer
77 views

How to export a Linux instance from VirtualBox to a plain text filesystem?

For example, Raspberry Pi images can be "burned" to an SD card from an image file that contains a simple plain-text file tree that is the Raspbian (a Debian sub-flavor) filesystem (e.g., as discussed ...
0
votes
2answers
3k views

Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

I'm trying to execute the command sudo apt-get -y install linux-headers-rpi to install this driver for a pm sensor. However, my raspi gives me this output every time when I execute this command: E: ...
1
vote
2answers
3k views

Running a script after an internet connection is established

I am trying to run a very small python script AFTER internet has been established. I am currently editing /etc/network/if-up.d/upstart by adding the following code directly under all_interfaces_up(): ...
0
votes
0answers
100 views

RPi Zero USB OTG - share host internet automatically

I have a pi zero that I have configure to be an ethernet device via the OTG USB, I will like to find a way that as soon as I plug it to a computer it will run a script to pull the Hosts external IP. ...
0
votes
1answer
2k views

No audio output Raspberry Pi3 (Raspbian-stretch)

Update The below is for Raspbian Jessie and does not work for Stretch Any help on how to go about getting bluetooth to work with Stretch would be appreciated... Original question I am new to Pi ...
0
votes
2answers
624 views

fswebcam - every other attempt results in device busy

I am using fswebcam on a debian image on a rpi3 with a logitech webcam. Fswebcam works great... when it works. I've plugged in a powered USB to make sure it was not a power issue of some sort, but ...
0
votes
1answer
730 views

SNES emulator for Raspberry Pi 3b / Debian 9 (stretch)

Is there any SNES emulator that will work on a Debian 9 (stretch) based Raspbian system? SNES9X is missing the libjpeg8 libraries which don't seem to exist in the latest Debian release. ZSNES doesn'...
0
votes
1answer
1k views

libjpeg8 on Debian 9 (Stretch)

I have huge problems getting the snes9x emulator to run on a Raspberry Pi 3b with the Debian 9 (Stretch) + Pixel desktop. It all boils down to libjpeg8 (libjpeg.so.8 library) missing. This library ...
5
votes
1answer
3k views

Entrusted Certificates installation

I have a very noob problem with my Raspberry Pi 3b (all updated to latest stable version available). I want to use it to automate some scripts I've written in R that run smoothly on my Win10 machine ...
2
votes
2answers
48 views

Which capabilities do I need to give my binary (or user) to use GPIO?

Which capabilities(7) do I need to give my binary or user to work with GPIO? Is it CAP_SYS_RAWIO? I would like to avoid sudo for giving admin rights to a whole process. Capabilities seem like the ...
1
vote
2answers
525 views

Error when installing Gdebi core

I have tried to install the gdebi core in the termial but this comes up: T he following packages have unmet dependencies: gdebi-core : Depends: python3-debian but it is not going to be installed ...
0
votes
0answers
306 views

What setting changes size or resolution of the terminal window in desktop environment?

I clean installed Raspbian Stretch Lite on two RPi's, each followed by sudo apt-get update && sudo apt-get install xserver-xorg xinit lxde-core lxterminal lxappearance lightdm python3-rpi.gpio ...
1
vote
1answer
1k views

How do I make a desktop shortcut for rdesktop?

I want know how to make a shortcut for rdesktop, the remote desktop client? I installed it with this command: sudo apt-get install rdesktop I searched in the path /usr/share/applications/ but I see ...
5
votes
1answer
446 views

Edimax EW-7811Un WiFi not working with RPi2 on cold-boot

I use a freshly installed Volumio (based on Debian) instance on a Raspberry Pi 2 Model B Rev 1.1 equipped with an Edimax EW-7811Un USB device to get WiFi. Power is supplied from a HifiBerry AMP+ sound ...
0
votes
1answer
392 views

How do I prevent the screen from going blank only during certain hours of the day?

I am running Debian on my Pi and I'm using it for a magic mirror. I originally wanted to just prevent the screen from being blank after 10 minutes and keep it on 24/7. So I opened /etc/lightdm/lightdm....
2
votes
1answer
57 views

Unaccounted for 16MB RAM. vcgencmd and free showing different RAM available

I'm running Debian Wheezy on a Model B+ which has 512MB of RAM. I've set start_x=0 and gpu_mem=16 in /boot/config.txt and the command vcgencmd get_mem arm && vcgencmd get_mem gpu is showing an ...
1
vote
1answer
1k views

Retrieve default sshd_config file

I updated Raspbian from Jessie to Stretch. During this update process I kept my existing sshd_config file and didn't update to the new one. I'd now like to see the changes which come with the new ...
0
votes
0answers
132 views

HTTP 500 Error - Debugging??

I've been troubleshooting my RPi and I keep getting an internal 500 error in my errors.log for a script written in python. I actually get 2 errors in the logs, wondering how I would go about fixing ...
0
votes
0answers
469 views

Error on Raspberry Pi says 'Read-only file system'?

For reference, this is the project I'm talking about here https://github.com/MichMich/MagicMirror bash command being referenced: bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/...
1
vote
1answer
65 views

Cannot Load Library “./pxcore.so” to autorun a python script on boot using systemd

I want to run a code at startup but I am getting this error below. The script works when running in python, but I am unsure how to allocate permissions or where to make a path to the pxcore.so file so ...
6
votes
3answers
15k views

Unable to install mongodb 3.4 on Pi 3

I have been trying to install the latest version of mongodb on my Pi 3. I currently am running the latest version of node (8.0.0) and am running Raspbian lite - Jessie (8). I have been following this ...
3
votes
2answers
3k views

Debian Jessie (Raspberry Pi) Install Postgres 9.6

I'm having difficulty installing Postgres 9.6 on my Raspberry Pi running Debian 8 (Jessie). I've tried two paths: According to these instructions: Add a pgdg.list file to /etc/apt/sources.list.d ...
5
votes
1answer
2k views

Creating Alexa Start Up File

I've installed AlexaPi onto my Pi 3 running Debian. I currently have to open 3 terminal tabs and run 3 commands to start Alexa. I'm trying to create a start up file so these load on boot. I've tried ...
5
votes
3answers
11k views

“Failed to connect to non-global ctrl_ifname” when running wpa_cli reconfigure

I am using a Raspberry Pi 2, running Debian Jessie, and I have a problem with my Wi-Fi connection, after setting my /etc/network/interfaces: # interfaces(5) file used by ifup(8) and ifdown(8) ...
0
votes
1answer
430 views

Segmentation Fault on mplayer and mpv

I'm trying to run mplayer or mpv on my Raspberry Pi, but even after multiple apt-get removes and even apt-get install --reinstalls, I'm still getting the annoyingly undetailed Segmentation fault error ...