Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.
Questions tagged [raspbian]
139 questions
1
vote
1 answer
How to switch off "Not RRM Network" messages
My system's logs are being swamped by these messages:
wpa_supplicant[390]: RRM: Ignoring radio measurement request: Not RRM network
I have searched extensively; I've even found the sources for wpa_supplicant here: git clone…
![](../../users/profiles/324494.webp)
Mausy5043
- 1,327
- 3
- 9
- 13
1
vote
1 answer
fail2ban jail.local/jail.conf does not have [ssh] section
I am new to fail2ban and am trying to harden a ssh server which is set up on a raspberry pi running raspbian buster. I understood that changes should be made to jail.local and I did that by copying and renaming jail.conf to jail.local.
However when…
![](../../users/profiles/567711.webp)
iLW
- 121
- 3
1
vote
1 answer
Using 2 key pairs simultaneously for ssh authentication
I have a ssh server running on a raspberry pi. This ssh server can only be accessed by 1 user on my ubuntu laptop only.
I have created 2 pairs of ssh keys using:
ssh-keygen -t ed25519 -o -a 100
ssh-keygen -t rsa -b 4096 -o -a 100
The 2 public keys…
![](../../users/profiles/567711.webp)
iLW
- 121
- 3
1
vote
1 answer
Running a python script with systemd at boot fails but manual start works fine
I'm running a couple scripts to drive a dot matrix display on boot of a Pi 3 B. A nodejs script just writes an image file to a path. The python script calls Adafruit_RGBmatrix to send the image to the display. The nodejs runs fine at boot. The…
![](../../users/profiles/42953.webp)
notbrain
- 209
- 3
- 16
0
votes
1 answer
No uidrange rule with IProute2
When I run "ip rule help" there is no uidrange option in the selection sectors. I also get an error when I try to add a uidrange rule.
Iproute2: 4.9.0-1
Command: sudo ip rule add uidrange $uid-$uid table vpn
Output: Error: argument "uidrange" is…
![](../../users/profiles/556511.webp)
Vernox Vernax
- 13
- 3
0
votes
1 answer
use different network interface for specific user/service
I want to run "megatools" with a vpn. The problem is it has to be ONLY megatools. I googled multiply hours and found a concept where I have a new user and every packet sent by this user gets marked with iptables and then routed to the network…
![](../../users/profiles/556511.webp)
Vernox Vernax
- 13
- 3
0
votes
1 answer
Pi4+ runs Elasticsearch cluster of 1, gives yellow status
I am currently running Elasticsearch 7.3.2 on a Rasbian (Buster) instance on a Raspberry Pi 4+. It looks like it was running in a green status for a few days, processing files, but suddenly, i noticed a Yellow Status. I looked into gc.log and the…
![](../../users/profiles/431440.webp)
Fallenreaper
- 101
- 3
0
votes
1 answer
Cron job to detect when system power is lost returning invalid timings
We are having issues with our electrics, so I wrote a simple bash script to try to log when the events were happening. I've created a cron job that runs every minute to run the script.
The idea of the script is quite simple, write the timestamp to…
![](../../users/profiles/408911.webp)
mrswadge
- 111
- 6
0
votes
1 answer
raspi cups prints pdf input as garbage on paper
I'm trying to print a pdf onto paper programmatically, using lp from a raspberry pi as part of an application for work. The PDF comes out of the printer looking like completely random unicode nonsense, and it prints page after page, even though the…
![](../../users/profiles/256361.webp)
James M. Lay
- 113
- 6
0
votes
1 answer
several RPis sharing wifi internet by cable, with same hostname. Precedence lookup?
I've a Lab with a wifi AP. Students connect their laptops to this AP. Each student has a RPi3 that shares wifi internet by cable. i.e each student laptop acts as a gateway with wlan0, the external internet interface and eth0 the internal LAN…
![](../../users/profiles/548605.webp)
user548605
- 3
- 1
0
votes
1 answer
Redirect all http traffic to external web site using dnsmasq/iptables on Pi
I want to redirect all port 80 traffic (regardless of the domain name) to go to a specific external website. Therefore, if the user enters "www.google.com" or anything, it sends them to "www.mysite.com" Bonus points if it also works with IP…
![](../../users/profiles/546861.webp)
R OMS
- 101
- 1
0
votes
2 answers
NetworkManager gsm connection on Simcom SIM5320A via serial port is failing
Device
Hardware: Raspberry Pi 3
OS: Raspbian GNU/Linux 10 (buster)
NetworkManager: 1.14.6
ModemManager: 1.10.0
Modem: Simcom SIM5320A connected via UART to the port ttyAMA0
Problem
I don't think I fully understand what is causing the modem to…
![](../../users/profiles/546697.webp)
Dien
- 9
- 5
0
votes
1 answer
Can't connect to access point because of iptables/filter
Setup
Raspberry Pi connected to router using ethernet on subnet 192.168.0.0/24
Raspberry pi access point on subnet 192.168.43.0/24
I am using the nordvpn application and when I connect to the vpn it applies a filter on my network:
Problem
After this…
![](../../users/profiles/545046.webp)
Sap
- 43
- 1
- 8
0
votes
1 answer
Hostapd client unable to connect to docker container network
I've setup hostapd on a RP3 so I could connect some IoT devices to it. Inside the RP3 I have several docker containers, one of which is running a MQTT Broker.
The MQTT Broker is running on a bridge network (172.16.1.0), Hostapd is configured under…
![](../../users/profiles/534538.webp)
jtomasrl
- 101
- 1
0
votes
1 answer
OpenVPN AS can not ping client's private subnet
The setup I am trying is as follows:
Device A (PLC, static IP=10.10.10.11)
|
| eth0 connection
|
Device B (raspberry B 3, Jessie)
VPN IP. 10.8.0.160
|
| OpenVPN (connected via Wi-Fi)
…
![](../../users/profiles/526204.webp)
Spriya
- 1