Questions tagged [debian]

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.

Filter by
Sorted by
Tagged with
1
vote
4answers
9k views

noobs reset password Debian

Hello I'm a Raspberry Pi newbie and It seems that I lost my password. I was trying to ssh but unable to because of password problems. Connecting pi to my TV, I can get to the command prompt #, but ...
2
votes
1answer
6k 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
1answer
40 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?
3
votes
2answers
4k 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 ...
7
votes
3answers
10k views

Can't access shared libraries when running with sudo

I'm trying to get a demo working writing PCM to the I2S; I've created a small demo program that gives an error when I run with the following command ./demo stereo_small.wav can't open /dev/mem So I ...
1
vote
1answer
272 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
127 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 ...
1
vote
0answers
154 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: ...
0
votes
2answers
2k 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" ...
1
vote
0answers
110 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 /...
3
votes
3answers
3k views

How do I run a single line of code (with sudo) on boot up?

I'm creating a server on my RPi that's on a timer, so I want to have a command run at startup to begin the server processes. I've seen this: Execute script on start-up, but it doesn't explain it well ...
8
votes
2answers
21k views

Why does USB port enumeration change?

I'm using a Huawei GMS/UMTS USB modem with Gnokii and Gammu. The modem was in the lower port on Pi. With dmesg | grep tty it would show up on /dev/ttyUSB0 and /dev/ttyUSB1. (2 USB devices on 1 stick ...
0
votes
1answer
37 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 ...
4
votes
1answer
590 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
5k 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 ...
1
vote
1answer
90 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 ...
23
votes
2answers
3k views

Playstation Emulation

Does anyone know if it is possible to get the PCSXR (Playstation 1) emulator to work on the Raspberry Pi? On both Debian Squeeze and Wheezy, running any game on it with the xvideo plugin just gives. ...
0
votes
2answers
1k 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 ...
2
votes
2answers
2k 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
121 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 ...
10
votes
3answers
9k views

Running Debian (Debian, not Raspbian) on a Raspberry Pi 3

The original Raspberry Pis had an ARM11 core which used the ARMv6 architecture, and most distribution's ARM hardfloat ports require at least ARMv7-A, the reason for Raspberry Pi-specific distributions ...
2
votes
2answers
659 views

Unable to install systemd on debian 7

I am following the link [ packages.elastic.co/beats/apt stable main ] to install systemd on my raspberry pi b+. When I try the command $ sudo apt-get -t wheezy-backports install systemd It gives ...
5
votes
4answers
6k views

Turning on HDMI programmatically doesn't work

I would like to turn on/off the HDMI via SSH. I use this command to turn off the HDMI: sudo tvservice -o and it works fine, my monitor turns off. But after that I would like to turn on the monitor ...
1
vote
0answers
759 views

u-Blox SARA and ModemManager

I have a u-Blox SARA-U270 device connected to a Raspberry Pi 3 via UART GPIO pins, that I am trying to use for a 3G connection as a backup. I would like to manage this via NetworkManager/ModemManager ...
23
votes
3answers
19k views

How can I change the RAM split?

By default, the Pi is set to a 192MiB:64MiB RAM:VRAM split. As I will not be using the Pi for graphical purposes, I would like to change the split to allocate more normal RAM to ease swap usage.
5
votes
3answers
21k 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 ...
2
votes
2answers
60 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
970 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 ...
1
vote
3answers
4k views

Connected to RPI3 via SSH, no internet access

I am running Debian on my laptop, and Raspbian on my Raspberry Pi 3. I am connected (via an ethernet cable, no router in between) via ssh to the raspberry, but when I try to access the internet via ...
0
votes
1answer
692 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....
0
votes
1answer
476 views

Weird behaviour of ALSA with both paplay and vlc

Jack sound works well on my headless Debian Raspberry with omxplayer and pretty much any file. However, alsa-based programs output a buggish sound and regularly fail. Here is a (maybe) interesting ...
2
votes
1answer
75 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
412 views

install opencv on raspberry Pi 3 and create Mat vector in opencv in linux

I am writing a code for object detection and coordination finding in OpenCV. In windows, everything is done and the program is working wit no problem, but I need to move it to Linux and run OpenCV in ...
2
votes
5answers
22k views

automatically uninstall all non essential packages

I want to make my debian server cleaner, easier to manage and have better performance. Is there a command that I can run to clean up (uninstall) all non essential packages so that I can start from the ...
1
vote
1answer
2k 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 ...
36
votes
3answers
27k views

How can I tell if I am using the hard-float or the soft-float version of Debian/Raspbian?

Let's assume that I am dropped into a room with a Raspberry Pi running either Debian or Raspbian. How do I find out if it has hard float support or if it is just using soft float?
0
votes
0answers
358 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 ...
3
votes
1answer
6k views

RaspberryPi as a passive Man in the Middle

I think about using a Pi to sniff LAN traffic in an fixed environment. Main problem is that the Pi should not have an IP adress nor being "visible" in the network. I got an second lan interface (USB) ...
4
votes
3answers
79k views

Checking sdcard for errors, unmount problem

I've tried running running a disk check, then I got a complain pi@raspberrypi ~ $ /sbin/fsck fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) /dev/mmcblk0p2 is mounted. WARNING!!! The ...
1
vote
0answers
600 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
3answers
3k views

Impossible to update and upgrade Raspberry Pi 3

I am working with a Raspberry Pi 3 and I got a problem with these commands : sudo apt-get update and sudo apt-get upgrade I got this output for the error : W: Failed to fetch http://...
4
votes
1answer
3k 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 ...
0
votes
1answer
637 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 ...
6
votes
1answer
11k views

cowsay not working?

I have Debian Squeeze installed on my Raspberry Pi and I'm trying to learn some basic Linux commands. I stumbled upon an article titled Funny things to do in the terminal and proceeded to install ...
6
votes
3answers
10k views

How to Wake the Raspbery Pi Display Without Disabling The Screensaver

People have asked how to disable the screen from going blank or to sleep, but I have a slightly different question. I would like to be able to remotely wake a sleeping or blank display, but then ...
0
votes
1answer
303 views

deepstreamio - Unable to locate package deepstream.io

I am trying to install deepstreamio in my raspberrypi by following the tutorial here but cannot get it to work. Basically I do: sudo apt-get install -y deepstream.io and this is what I got: ...
1
vote
1answer
592 views

Configure a device with spi ( Pi Zero )

I am looking for how I can configure a kernel devices ports, I have a MAX3421 usb host shield and I found and compiled the kernel driver for it ( http://lxr.free-electrons.com/source/drivers/usb/host/...
1
vote
3answers
12k views

using a SSH and can't login on my raspberry

I'm on a Mac and using Ethernet through a thunderbolt adapter. I use Raspbian Debian Wheezy 2014-09-09. I'm using VirtualBox (program) for school, and Cyberduck to setup the SSH connection. I'm ...
6
votes
0answers
10k views

How Can I Emulate An x86 CPU on a Raspberry Pi with Qemu?

!!DISCLAIMER!! I am aware that this question has been asked before HERE, but after having followed that question step by step, troubleshooted on my own and having done plenty of research on the ...
29
votes
2answers
41k views

How to program a USB device with Debian/Python

The Pi is being promoted as an educational device primarily for Python. Inline with this, there have already been some great examples online of people accessing the GPIO from Python. However, most ...