Questions tagged [raspbian]
Raspian is an Operating System based on Debian optimized for Raspberry Pi hardware.
406
questions
26
votes
5
answers
54k
views
iptables/1.8.2 Failed to initialize nft: Protocol not supported
I'm having a problem using iptables on my Raspberry PI.
I've just downloaded a fresh version of Raspbian Lite on my PI and all I'm trying to do is check my iptables rules but it's not working and I'm ...
24
votes
1
answer
38k
views
How to find out the systemd version on Raspbian
How can I find the systemd version that came as part of my linux (raspbian) installation?
On running lsb_release -a, I get the linux (raspbian) version information as follows
Distributor ID: ...
16
votes
1
answer
44k
views
chown - Operation not permitted even as root user
I'm trying to chown a specific USB drive folder that has been mounted on my RPI 400.
This is my lsblk -f result:
sda1 exfat 1.0 WD Media 0C23-43CD 1.8T 0% /mnt/WD ...
15
votes
6
answers
19k
views
Raspberry Pi SSH Lag
Yesterday I got my Raspberry Pi B+, which I use via SSH. Sometimes the SSH typing takes about 5s and more to respond with an visual feedback after a time of idleness, after that lag everything just ...
10
votes
2
answers
16k
views
"Missing LSB tags and overrides" error on /etc/init.d script
I made a script as showed in this tutorial:
http://edv-huber.com/index.php/problemloesungen/15-custom-splash-screen-for-raspberry-pi-raspbian
But after executing a command:
insserv /etc/init.d/...
9
votes
2
answers
20k
views
Does the Raspberry Pi 2 put USB external drives to sleep when not in use for a while?
I recently got a LaCie 2TB Thunderbolt bus-powered USB external rugged drive. I am using it with the Raspberry Pi 2 and it works fine. It's being used as a remote backup via rsync.
However, I am use ...
7
votes
1
answer
12k
views
Debian/Mint/Raspbian/Ubuntu - How to force SLAAC EUI64 IPv6 autoconfiguration?
I have a static IPv6 /62 prefix and I use radvd on my router (running Debian) to advertise a /64 from within it to my entire network. Other than my router (which is ::1), I let EUI64 set the suffix ...
6
votes
3
answers
31k
views
DHCP failure when rebooting RPI 2
When we start up my Raspberry pi 2, we get the following error:
When the RPI is rebooted, we are getting an IP and we are able to surf on the internet, so we don't know what the error exactly means.
...
6
votes
3
answers
11k
views
Transmission-Daemon does not upload, but can download
I have just installed transmission-daemon on a Raspberry Pi running Raspbian (Jessie).
When adding a torrent to the web interface, downloading works at high speeds, but it doesn't upload anything at ...
5
votes
2
answers
87k
views
Killing processes in Raspbian
I am trying to kill the processes below:
pi@raspberrypi ~ $ ps aux | grep raspi
pi 4647 0.0 0.5 3520 1392 pts/2 S+ 12:05 0:00 grep --color=auto raspi
root 8148 0.0 0.5 ...
5
votes
1
answer
3k
views
podman "The cgroupv2 manager is set to systemd but there is no systemd user session available" warning
Context
I am using a Raspberry Pi running on Raspbian. I connect remotely using ssh.
I want to use podman for building images and running containers, the exact same way I've done on my local machine.
...
5
votes
1
answer
2k
views
Can't set up ad-hoc network (raspberry pi)
Question: How do I manually set my Cell Id? I have tried the following code sudo iwconfig wlan0 ap 02:12:34:56:78:9a but it randomly resets the Cell Id to a different value.
I am trying to create a ...
5
votes
1
answer
5k
views
Windows 10 64 domain computer cannot access Linux (Raspberry Pi3) samba share
Samba server:
Raspberry Pi3, running osmc media server (I believe this is a down-scaled Raspbian version).
Samba version: 4.2.10
Domain controller:
Windows 2012
Windows client:
Windows 10 Evt. 64-...
4
votes
1
answer
7k
views
How to permanently add wireless interfaces with iw
How can I permanently add virtual wireless interfaces to my network configuration with iw?
I created the following interfaces:
iw phy phy0 interface add vwlan0 type station
iw phy phy0 interface ...
4
votes
4
answers
24k
views
Create RDP gateway in Raspberry Pi or Ubuntu
I have a few systems in my local network and want to RDP them from the Internet. One method is to allocate different ports to each system for RDP and configure them in the router. However, what I need ...
4
votes
2
answers
8k
views
How to kill a continuous process started from rc.local?
I'm working on a Raspberry Pi with Raspbian (Debian-based) OS. For testing I added such a command in /etc/rc.local:
python /home/pi/test.py
It works fine starting this script. But the problem is ...
4
votes
1
answer
1k
views
How fix the device icon in macOS Finder's Network location?
This is probably not a macOS (Catalina) problem, but rather a Raspberry Pi-problem. All I did was install the latest Raspbian buster on a Pi 4. (I also installed samba).
Is something perhaps wrongly ...
4
votes
4
answers
15k
views
Raspberry pi has both static and dhcp ip address
I got a Raspberry Pi running Raspbian, connected via Ethernet on my home LAN (on the ISP's default router). The router is configured to give addresses from 192.168.0.10 onwards with dhcp. I wanted to ...
4
votes
2
answers
2k
views
Raspberry PI / systemd: run script on shutdown/poweroff but not on restart
On Raspberry PI (running raspbian) I need to run script on shutdown/poweroff, but not on reboot.
My first attempt was to define a service as following:
[Unit]
Description=Power off service
[Service]
...
4
votes
1
answer
2k
views
Slurm initialization fails in a Raspberry Pi cluster with Raspbian 9.4
I am trying to set up Slurm in a Raspberry Pi cluster with Raspbian 9.4.
I am able to start slurmctld, but when I try to launch slurmd I get the following output:
pi@node1:~ $ slurmd -Dvvvc
slurmd: ...
4
votes
1
answer
6k
views
Reolink RTSP-->ffmpeg, RTP: PT=xx: bad cseq if stopped/restarted quickly
My BeeCam is a Raspberry Pi3/Raspbian Stretch w/freshly compiled ffmpeg version N-89882-g4dbae00bac running this as a service:
#!/bin/bash
cd /usr/local/bin/
while true
do
./ffmpeg -re -...
4
votes
1
answer
2k
views
Cannot login as any user other than root - no error message
I'm sure it's something very simple, once you know where to look.
This is happening on an Orange Pi PC v1.2, running Raspbian, as it is distributed by orangepi.org. I can't login as any user except ...
4
votes
1
answer
679
views
Why can’t I access a device with 4G modem connection over the internet when I can connect to another device with a 4G connection without issue?
I have a Raspberry Pi device where I use a 4G modem (D-Link DWM-222) to connect it to the internet.
The interface PPP0 gets an IP and everything works great. I was thinking that I would get a public ...
4
votes
2
answers
2k
views
Avahi - Chromebook: could not resolve hostname
I have a raspberry pi (raspbian jessie) with ssh & vnc services registered in avahi.
I can see both services in my client (chromebook)
chronos@localhost ~ $ avahi-browse -arl
+ mlan0 IPv4 ...
4
votes
1
answer
6k
views
Software adjustment of LCD monitor brightness in Raspberry Pi
This is my first post here. I'm at the beginning of the road called Raspberry Pi.
Is there any way of changing the gamma/contrast/brightness of monitor via Raspberry Pi?
My Samsung 960BF doesn't ...
4
votes
1
answer
3k
views
Why does wine need a kernel 3G/1G memory split to function?
When trying to run wine on stock Raspbian, you get a message like this:
Warning: Memory above 0x80000000 doesn't seem to be accessible.
Wine requires a 3G/1G user/kernel memory split to work ...
3
votes
3
answers
26k
views
bluez : Can not install bluez-utils
Dose someone try "sudo apt-get install bluez-utils" successfully on raspberry pi ?
and I get this message:
Reading package lists... Done
Building dependency tree
Reading state information... ...
3
votes
2
answers
5k
views
gpg-preset-passphrase: caching passphrase failed: Not supported
I am building a script that is using msmtp to send myself regular system reports by email. I have used gpg to encrypt my email password and used password-eval in msmtp.conf.
I sent a test email ...
3
votes
1
answer
8k
views
Cannot find gpg.conf and gpg-agent.conf using gpg 2.2.12 on Raspbian Buster
I am using gpg to encrypt my email password that I pass on to msmtp in order to send email.
I initially ran gpg --full-gen-key to generate a pair of keys. During the process, it asked me for a ...
3
votes
1
answer
4k
views
Record audio from default device on Linux (Raspbian) with arecord
I can record audio with the following command:
arecord -D plughw:0 --duration=10 -f cd -vv rec7.wav
And ~/.asoundrc has this:
pcm.!default {
type hw
card 0
}
ctl.!default {
...
3
votes
1
answer
172
views
Samba: Identical samba shares on Linux acting differently
Server 1: 10.0.0.10
smb.conf:
[global]
workgroup = WORKGROUP
Server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic ...
3
votes
2
answers
2k
views
Receiving UDP packets from gateway / hotspot
I have a Raspberry Pi setup as a WiFi hotspot (it is a DHCP server and it has HOSTAPD running). It does not have an internet connection and isn't routing traffic. Clients only connect to its network ...
3
votes
1
answer
4k
views
SSH Connection freezes after minutes of unuse?
I run a RaspberryPi with Raspbian operation system. I have installed a WLAN stick and connected the pi only over WLAN to my network.
I can access the pi with
ssh pi@pi-ip-address
This works fine ...
3
votes
0
answers
514
views
Sometimes when I start a video in vlc player the space bar restarts the video instead of pausing/playing, how can I fix that?
As the title says, sometimes when I start a video in vlc player the space bar doesn't work as expected.
I can watch 20 minutes of a program, and when I press the space bar to pause the video it ...
3
votes
1
answer
1k
views
Raspbian : Failed to change fw-clk-arm frequency
When I boot my raspberry pi 3B+ with raspbian, it seems to try to change the clock frequency, but it failed.
And the system loop at this state of boot.
Raspberrypi-clk soc:firmware:clocks: failed to ...
3
votes
0
answers
636
views
Raspberry Pi Zero as boot keyboard USB gadget
I am trying to turn Raspberry Pi Zero W as a "boot compatible" keyboard (USB gadget). I've followed this tutorial to make it work in OS, i.e. when plugged into a Mac computer that has been powered on ...
3
votes
0
answers
2k
views
Mounting Linux Samba share in Linux
It seems that allmost ANY question or explanation on this subject deals with mounting linux shares in windows or the other way around.
I've got a simple linux server (raspbian), running a Samba ...
2
votes
1
answer
3k
views
Is it possible to install TeamViewer Client on a Raspberry Pi?
Is it possible to install the TeamViewer client on a Raspberry Pi? I am running Raspbian on a Raspberry Pi 3 B+. I currently have the host installed, but would like to connect from it as well.
I ...
2
votes
1
answer
15k
views
Cannot install ANY packages because of Python
I cannot install any packages with apt-get on Raspbian (Debian) because of stupid Python packages.
I tried to sudo dpkg --configure -a
but even then I’m getting these errors!
Messages:
Setting up ...
2
votes
2
answers
3k
views
My Raspbian (RPi3) cannot resolve names in my LAN
In my LAN I have:
2 Windows PCs (Peach and Cocotero)
My RPi3 with Rasbian
In any of my Windows PCs, PING works perfectly against any of the host.
But when I perform a PING inside my RPi3 it, it ...
2
votes
2
answers
7k
views
How to send a BREAK on a serial port from command line in Raspbian Linux?
I am looking for a way to send a serial BREAK from a shell script in the Debian Linux that comes default on a Raspberry PI without needing any additional software to be downloaded or compiled.
...
2
votes
1
answer
976
views
How can I control my minecraft server when I run it at boot with a rc.local script?
I have a question your you guys.
I'm running a MC server so far so great. In order to make it autonomous I run it at boot with a bash script load in rc.local, simple.
#!/bin/bash
cd /home/minecraft ...
2
votes
1
answer
8k
views
Is there a terminal command or other way to compltely turn off a Raspberry Pi camera?
I have a Raspberry Pi camera and use my Raspberry Pi a lot, but the camera has a tendency to overheat. Is there a terminal command to turn off the camera and to turn it back on when I need it?
It is ...
2
votes
1
answer
580
views
Running CUPS on Raspberry Pi - Webpage unaccessable
I am trying to configure my Raspberry Pi to connect to my printer and allow me to print wirelessly using the cups webserver.
My Raspberry Pi 3b+ is running headless ubuntu:
Distributor ID: Ubuntu
...
2
votes
1
answer
6k
views
Win 10 connecting to SAMBA on raspbian gives "wrong password"
I'm trying to set up a raspbian server (yes pi) and use a usb drive to share via samba.
Basic setup with no authentication works fine from my windows 10 machine.
[global]
server string = %h (Samba,...
2
votes
2
answers
3k
views
OpenVINO installation on Raspbian - usbboot.rules file issue
I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here:
https:...
2
votes
2
answers
8k
views
PHP works on command line but not in browser
When I run a basic 'hello world' php script from the command line, running the command php test.php, it returns a valid html page. However, when I try to access it by a browser, I get the text of the ...
2
votes
1
answer
4k
views
Connect Linux to specific WLAN Access Point
In my vicinity are 2 WiFi access points with the same SSID (and on the same LAN). The signal strength of one is rather stable, while the other one is fluctuating. This causes devices like my phone to ...
2
votes
1
answer
616
views
How to change Raspbian default apt-get mirror?
The thing is the mirror that was configured on installation is causing checksum mismatch in all packages.
I read everywhere that in order to change de mirror apt-get uses for download I have to edit /...
2
votes
1
answer
92
views
Bash condition not met when executed by crontab
I have a small script to start a fluidsynth server and then connect it to my midi device on my rasberry (OS is raspbian stretch lite).
echo "Starting"
fluidsynth -is -a alsa --gain 3 /usr/share/...