Questions tagged [raspbian]

Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.

145 questions
1
vote
1 answer

E: Unable to locate package mosquitto

I'm trying to install the mosquitto package, but when I type sudo apt-get install mosquitto it returns E: Unable to locate package mosquitto. I already ran sudo apt-get update and sudo apt-get upgrade. Output from apt search mosquitto: Sortierung...…
Schneggl
  • 13
  • 1
  • 4
1
vote
1 answer

openVPN TLS Error: TLS handshake failed but was previously working

I have an openvpn configured on my raspberrypi, I followed this guide: https://juncotic.com/openvpn-easyrsa-3-montando-la-vpn/ and everything was working fine for weeks. Suddenly a cupple days ago the vpn stopped working and is throwing the TLS…
PAH
  • 11
  • 1
  • 3
1
vote
0 answers

Kubernetes in RasPi 4B does not detect RAM

I'm trying to set up a Kubernetes cluster on a bunch of Raspberry Pi 4B nodes. I adopted the setup I use for my v-kube-cluster (Kubernetes in virtual boxed using vagrant). See https://github.com/sebastian9486/v-kube-cluster (but not essential to my…
1
vote
1 answer

overwriting default $PATH

I am trying to lock down regular users on a Raspbian installation. I'll be using rbash for that. I want to edit the PATH file so that only ~/bin files can be executed. I've stripped $PATH from /etc/profile/: if [ "`id -u`" -eq 0 ]; then …
Tuinslak
  • 1,465
  • 8
  • 32
  • 56
1
vote
1 answer

How to automatically set a default route on RPI when ppp0 (3G) connection is established?

I want to connect a RPI to the internet via an UMTS stick. I could get it working with some manual interaction. As the RPI is place on an external location where i don't have access to all the time, it should completely "come up" automatically when…
CodeNinja
  • 305
  • 1
  • 8
  • 18
1
vote
0 answers

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is running in a separate docker container. To bring…
1
vote
1 answer

nfs server on linux with windows 10 client

I have a nfs server on a raspberry pi 3 b+, that share an ext4 directory. The nfs client is a windows 10 computer. I have a problem with filename characters encoding on client side. All accent characters are displayed badly (I am a french speaker,…
geo667
  • 29
  • 5
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…
Mausy5043
  • 1,347
  • 3
  • 9
  • 14
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…
iLW
  • 131
  • 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…
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…
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…
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…
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…
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…
James M. Lay
  • 113
  • 6