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.

1
vote
4answers
44 views

Pi - own python startup script in the wrong order

I've written a python script to connect to mysql & insert the current time then close. The use case is if my Pi browns out/restarts (often does) the time of this event will be logged. The script ...
0
votes
0answers
19 views

RPi B, dietpi, usb soundcard amplifier, mpd and equalizer - usb and alsamixer equalizer impossible?

The last two days I am busy to config the USB sound on a dietpi config and with success. I turned the default Rpi sound off and use only the USB soundcard amplifier (Logitech). I can play files with ...
4
votes
0answers
31 views

Multiple USB modems issue with HUB external power

When I connect 6 modems ZTE WCDMA Technologies MSM into USB hub Terminus Technology Inc. Hub everything works fine. Modems are detected as eth0, eth1, eth2, eth3, eth4, eth5 When one more modem is ...
1
vote
1answer
70 views

What is the difference between Raspbian Lite and Debian?

I have read the official page but still cannot figure out the difference between Raspbian Light and Debian. The difference between Raspbian and Debian or between Raspbian and Raspbian Light can be ...
0
votes
0answers
30 views

Proper configuration of /etc/network/interfaces

I'm trying to make my Raspberry Pi into Wifi access point, where the internet connection is provided by Android device attached to it. I'm trying to achieve this by mildly configuring this guide, and ...
0
votes
1answer
53 views

Watchdog configuration Raspberry pi 3

My plan is to configure the file /etc/watchdog.conf to detect if the process that I want is down and reboot the system to run again. For example, I work on a Raspberry Pi 3 in Debian 9. I would like ...
3
votes
0answers
98 views

sources.list broken in Raspbian

I have updated the /etc/apt/sources.list file and ended up breaking it. I've restored it to its original contents from my backup as follows deb http://raspbian.raspberrypi.org/raspbian/ stretch main ...
2
votes
2answers
111 views

Moving sd card to a larger one

I'm sure there are lots and lots of people asking this but I couldnt find a good answer. How should i move my x GB sd card content to the new XX gb sd card since i have multiple partitions? I ...
1
vote
0answers
118 views

Unable to install a Map Tile Server on Raspberry Pi

I have a Raspberry Pi 3 B+ running Raspbian uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" ...
0
votes
0answers
27 views

How to stream audio samples to a DAC - exclusively & low latency

I have an audio add-on card to my Raspi Zero called "raspiaudio", it seems to be reporting as hifiberry, although it is not. It's some NXP DAC conencted via I²C, and the driver was apparently in the ...
-1
votes
2answers
102 views

Raspberry Pi Desktop, Guest Additions: Access denied under root

I've been trying to install Guest Additions for Raspbian Desktop on VirtualBox hosted on Linux. The script won't run even under root. How is it possible?
0
votes
0answers
69 views

Installing “Testing” version of a package on stable Stretch

I recently made a seedbox with Transmission 2.92, which is the latest stable package update on Raspbian, but the tracker I use only accepts Transmission 2.93 and up. I went to the package page for ...
0
votes
0answers
12 views

RPI access point and how to share the internet with connected devices

I want to share the Internet from my USB modem stick on my raspberry pi to other devices by turning my pi into a WiFi access point. I am using a pi 3 model B+ running raspbian stretch and I am able to ...
0
votes
1answer
352 views

No default gateway with dhcpcd

I hope some can help me. I installed dhcpcd (to be able to use WiFi) on a custom Debian build for a Raspberry (so I can have a 64 bit OS). It seems to work all fine. The WiFi link is getting ...
2
votes
1answer
314 views

Using debian repositories for Raspberry Pi

Can we use Debian armhf .deb newer packages instead of Rapbian official repository packages?
1
vote
3answers
32 views

Debian RPi distro that can automatically backup itself regularly

I'm looking for either a complete Raspberry Pi distro or something that I can install on top of a Raspberry Pi distro that can do the following: -Automatically make backups of itself to either the ...
1
vote
1answer
44 views

debian PXE server don't boot twice

I'm planning to do a Debian server which can deliver picore pxe to RPI 3/3+. I have dnsmasq which gives a correct IP in the range and will provide the correct tftpboot option with the "Raspberry Pi ...
1
vote
1answer
250 views

“sudo apt-get install xstlproc” returns “E:Unable to locate package xstlproc”

I'm following https://www.raspberrypi.org/forums/viewtopic.php?t=196010#p1226096 to install a mosquitto server on Raspberry Pi 3 Model B sudo apt-get install libc-ares-dev uuid-dev libwebsockets-...
2
votes
1answer
4k 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 (...
3
votes
1answer
3k 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 ...
3
votes
2answers
315 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
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?
1
vote
1answer
195 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
120 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
141 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 ...
1
vote
0answers
131 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
93 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
79 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
1k 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
276 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
1answer
36 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
3answers
2k 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
79 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
4k 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 ...
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
108 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
3answers
8k 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: ...
2
votes
2answers
8k 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
1answer
4k 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
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 ...
0
votes
1answer
1k 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
3k 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
2answers
10k 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
59 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
859 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
1answer
2k 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 ...
4
votes
1answer
563 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
652 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
73 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
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 ...