Questions tagged [raspbian]
Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.
131
questions
0
votes
0
answers
38
views
System performance of Rasperry Pi (running k8s) is very poor - how to debug?
Summary
I'm running a slim homelab (Kubernetes cluster with few pods, Gitea, Drone, Docker Registry, and NFS share) on a 2-Pi4 cluster, and the system performance is poor. I've noted that the ...
0
votes
1
answer
17
views
403 Forbidden on initial load after installing NextCloudPi
I am making this post mostly for awareness in case anyone else is having a similar issue.
Story
I am running nextcloudpi (nextcloudpi.ownyourbits.com) on a Raspberry Pi 4 8GB using the Debian Buster ...
0
votes
1
answer
24
views
'pip3 freeze' and 'sudo pip3 freeze' are different
On my system (Raspbian Buster, raspberry pi CM4), packages installed with 'pip3 install ' are not available when I run 'sudo python3':
$ pip3 freeze |grep numpy
numpy==1.21.5
$ sudo python3
Python 3.7....
0
votes
0
answers
9
views
Failing to start since stuck on service
I have a raspbian server that when I start it get's stuck on a service I defined.
When I see the startup logs they reach:
[FAILED] Failed to start Server.
See 'systemctl status server.service' for ...
0
votes
1
answer
107
views
ERR OpenVPN is not listening (Raspberry PI using pivpn)
I am trying to get my old pi running a VPN server so I can access local resources from outside my local network.
Following the steps below:
curl -L https://install.pivpn.io | bash
Selecting default ...
1
vote
1
answer
42
views
Forbidden ... denying access to be safe [closed]
Total n00b here.
I'm running a LAMP stack using Raspbian OS on a Raspberry Pi 4 Model B.
I tried googling around, but I couldn't find a thread that matched my issue.
My jenga tower seemed pretty ...
0
votes
1
answer
267
views
Internal DNS without Wireguard "proxy" [closed]
Problem: Wireguard obfuscates DNS request, so all DNS lookups from devices connected via VPN are seen as coming from Wireguard server. This prevents me from setting up per-device DNS white/black lists....
-1
votes
1
answer
83
views
dd the entire SD card to one partition on HDD [closed]
This particular question is related to Raspberry Pi, but in fact, this is a general question.
So, I have an SD card with RPI system running on it consisting of two partitions:
Disk /dev/mmcblk0: 59.5 ...
0
votes
2
answers
1k
views
Kubeadm init fails, kubelet fails to start
I'm trying to set up a Kubernetes cluster on a set of raspberry pi 4s, I'm running into a issue with kubelet failing when running the kubeadm init command
I0205 12:29:52.930582 5348 local.go:65] [...
0
votes
1
answer
23
views
Cannot transfer data from one specific system (MTU issue?)
Summary
The default MTU value prevents data transfer for one system. Reducing it manually enables the data transfer once more, but this manual adjustment is unnecessary on an adjacent system.
...
0
votes
1
answer
62
views
iptables: why are outgoing connections working even though no rules allow it
The INPUT and OUTPUT chain policies are set to DROP. Very few rules allowing only specific traffic between directly cable-connected devices. However, if I temporarily add a cable that goes to the ...
0
votes
0
answers
331
views
Can't start isc-dhcp-server due to error " AgentInitCheck: agent comms failure"
I have a Raspberry Pi 4 - Model B, and I'm trying to create an adapter from Wi-Fi to Ethernet using the Pi. I'm currently using this gist as a guide for how to create it, but I keep running into an ...
-2
votes
1
answer
47
views
Can a Raspberry Pi be a viable solution for a small company VPN server? [closed]
I would like to implement an OpenVPN server for a small business (~10 people).
Since the company owns NAS that are located in their office, the VPN server should ideally be physically in the same ...
0
votes
0
answers
59
views
NAT interface after OVPN client connection
I'm looking for advice for this special case.
What I want to achieve:
my gateway should dial PPPoe, should establish OVPN connection as client to my OVPN server. Internet users from outside should ...
0
votes
1
answer
68
views
Apache sends garbage response when requesting a .jpg
I am running Apache/2.4.38 (Raspbian). When requesting HTML and PHP everything works fine. When I request a .jpg file, apache seems to skip a few bytes at the beginning of the response header, and ...
-1
votes
1
answer
99
views
Why is apache logging an internal IP when using an external domain? [closed]
I have a Raspberry Pi running which we're using in the office for small test projects we don't want on our main development server. It is running apache. The DNS is handled via Cloudflare, but in DNS ...
1
vote
1
answer
114
views
Enable UFW temporarily, not on boot?
Scenario: I am on a remote server, and if I set up UFW incorrectly, then I will be locked out without chance for easy recovery. So I want to start ufw and see if it works. If it doesn't, then I want ...
1
vote
1
answer
917
views
E: Unable to locate package mosquitto [closed]
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....
0
votes
1
answer
717
views
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 ...
2
votes
1
answer
298
views
Getting Syslog to log to both syslog and custom log file
In syslog (Raspbian rsyslog swVersion="8.1901.0"),
I am trying to match / filter a system msg containing a specific string BOTH to /var/log/syslog (default) AND to a custom separate log file,...
0
votes
0
answers
134
views
How to setup a VPN Gateway + normal host with 2 interfaces same server
Is it possible and how I should do it to setup a VPN gateway using openvpn on interface eth1 and also have other interface eht0 as normal host user without VPN?
I want to setup VPN gateway on eth1.
...
0
votes
0
answers
182
views
Fail2Ban to ban "pi" user login attempts
I have a Fail2Ban service running on my Raspberry Pi, which is set up to ban SSH failed attempts.
However, it seems like it doesn't ban the IP when someone tries to authenticate with a password for &...
0
votes
1
answer
59
views
How to identify server providing wireless SSID name [closed]
First, a lot of background so that you'll hopefully understand the reason for the question.
We had a catastrophic failure in our network - a surge that took out a couple of systems' network interfaces,...
-1
votes
1
answer
810
views
Can I access an APFS drive plugged into a Pi over a network?
I have a SSD that's formatted for APFS Encrypted. I want to plug it into a Raspberry Pi and access it over a LAN from a Mac. However, as far as I know, there isn't a read / write driver for the Pi for ...
1
vote
1
answer
3k
views
Bind9: Disable DNSSEC validation on per zone basis?
I am trying to make a caching / forwarding only DNS server using Bind9 with DNSSEC validation being enabled by default.
Assume you have the following informations from my config file:
acl "home-...
1
vote
0
answers
88
views
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/...
0
votes
1
answer
171
views
ntpd synchronization not working
I'm running latest Raspbian Lite on Raspberry Pi 3 B.
Just reinstalled ntpd completely and it doesn't synchronize time with upstream NTP servers at all.
ntpdate -u 0.debian.pool.ntp.org
works just ...
1
vote
1
answer
139
views
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/...
0
votes
1
answer
728
views
Exclude remote syslog client logs from /var/log/syslog on host machine
Background:
I have a lil Raspberry Pi server running the latest Raspbian OS running a number of network appliances to help manage a complex IOT LAN for a client.
I have been using rsyslog to write ...
0
votes
1
answer
269
views
"fatal: unknown service: smtp/tcp" from postfix in docker using `start-fg`
I'm trying to get postfix working in a docker container on a raspberry pi.
The following works
ENTRYPOINT service rsyslog restart && service postfix restart && sleep 2s && tail ...
1
vote
1
answer
78
views
Use NGINX as reverse-proxy to another Nginx
I have a kubernetes pods with Nginx serving a static node.js website, with a load balancer IP 192.168.0.223. When I browse http://192.168.0.223:80/, the static website is displayed correctly.
I have a ...
0
votes
1
answer
680
views
OpenVPN routing from server to client
I have two distant places each with a public IP and I want to make the LAN network of these places as if they were one. That is, the machines in place A can communicate with the machines in place B ...
0
votes
1
answer
594
views
Systemd python script won't log (buffer cause)?
Although the problem exposed here seems very similar, none of the solutions provided work. Context :
Raspberry Pi Zero W, Raspbian Lite (2020-08-20)
I want to register a python3 script as a service, ...
-1
votes
1
answer
1k
views
Running django and gunicorn on raspberry pi
So I am trying to follow this here:
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
except on the latest raspberry pi. I think ...
0
votes
1
answer
1k
views
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, ...
0
votes
2
answers
187
views
Device -> device traffic being blocked inside of network
I am running into a weird issue, which I have been trying to understand and fix for a few hours.
I have three main machines, which are setup this way:
M1: Raspberry pi 3 (raspbian lite), running ...
1
vote
0
answers
252
views
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 ...
1
vote
1
answer
809
views
nfs server on linux with windows 10 client [closed]
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 ...
1
vote
1
answer
996
views
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 ...
-2
votes
1
answer
172
views
Identify source of DNS queries [closed]
I am running Pi-hole as the DNS server on our home network. There is a continuous stream of about 400 queries per minute of alternating requests for "A" and "AAAA" records from ...
0
votes
1
answer
708
views
Delay execution of crontab until @reboot was executed [closed]
Every time I start my raspberry pi, I want to update and upgrade it.
No other cronjob should be run before this is finished.
My crontab looks like this now
@reboot sudo apt-get update && sudo ...
0
votes
0
answers
147
views
MariaDB 10.3.22 for RPI started with innodb_force_recovery = 5: mysqldump fails, claims "[mysqld]" is not in configuration but it's actually present
I am running MariaDB 10.3.22 on a Raspberry Pi 3 with Raspbian Buster, using the InnoDB engine. Due to a power outage on my RPI, a table on my innodb_system tablespace corrupted. I eventually managed ...
0
votes
1
answer
215
views
Debugging network issue
I've had this issue ever since I got this new router and flashed it with dd-wrt.
It's not really impactful (I'll describe the scenario) but I'm curious about it...
This is the diagram of the network ...
0
votes
1
answer
241
views
Apache2.4 Raspbian cannot acces VirtualHosts with ServerName, only port number
It isn't critical that I get this working with a named host locally, as the main thing I needed was external network access (which I have already set up with port forwarding), but I'd still like to ...
0
votes
1
answer
706
views
how to proritize UDP port in tc
I have this TC code
sudo tc qdisc add dev eth0 root handle 1: prio
sudo tc filter add dev eth0 protocol ip parent 1: prio 1 u32 match ip dport xxxx 0xffff flowid 1:1
where XXXX is the port number.
...
3
votes
1
answer
3k
views
rasbian - iptables `--to` or `--to-destination` unknown option
I'm trying to run the following commmand on my Raspbian system
sudo iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 2222 -j DNAT --to-destination 192.168.2.241:22
iptables says:
iptables v1.8....
0
votes
3
answers
780
views
User always creating files with 640 permissions
Short introduction: I'm fairly new to Unix-Systems and got a Raspberry 3b+ using it as a Web-Server. Obviously I'm using a different computer for development and transfer the files via sftp. Always ...
2
votes
2
answers
5k
views
NFS server daemon fails to start at boot
I´m trying to export an external disk, so, I configured my nfs-server service to wait for disk1 to mount, however it fails.
This is the situation after boot:
$ systemctl status nfs-server.service
● ...
1
vote
1
answer
2k
views
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 ...
1
vote
1
answer
139
views
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-...