Questions tagged [raspbian]
Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.
145
questions
0
votes
0
answers
8
views
remove network discovered printers in cups web page
I am trying to remove network discovered from cups webpages. I am working on a cloud print service and run a raspbian bulleyes. I will have to deploy my system to customers and I want to remove every ...
0
votes
0
answers
35
views
Redirect traffic in "sniff/tap?" mode to specific ip address(es), that is: rewrite destination headers to target other machine(s)
I have incoming traffic on eth1 (vlan id 201) which is emitted by another machine which is doing
sudo tcpreplay -x 0.01 --loop=0 --intf1=eth12 Wireshark_bidirectional_data.pcap
I would like to ...
0
votes
0
answers
25
views
Not able to receive email on postfix
So I am trying to set up a catchall forwarder using postfix on a pi using my own domain name and a ddns service.
I followed this guide https://notepad.patheticcockroach.com/2762/how-to-simply-create-a-...
0
votes
0
answers
45
views
CORS handling for an external host serving source that connects to local socketServer
tldr; The idea is for a server to host javascript that connects to the connected-device's socketServer.
MyDevice's Browser > http://myserver.local > socket.io().connect('http://myDeviceIp:5000');...
0
votes
0
answers
17
views
dhcpcd "carrier acquired" when wpa_supplicant stopped
A system I am working on was based on Debian Buster (via Raspberry Pi OS).
I could shut down Wi-Fi by stopping wpa_supplicant, and it worked fine.
I have now updated my system to be based on Debian ...
0
votes
0
answers
61
views
CUPS print server on Raspberry Pi Zero W: usb issue?
I am trying to setup a print server with a Raspbian installed on a Raspberry PI Zero W.
The printer, connected via USB, is a mfp Samsung SCX-3400.
I have setup everything and i can print, but the ...
1
vote
1
answer
198
views
Moving linux server from ARM to x86
I've got a RPi LAMP server; Apache alone drives our Nextcloud, Zabbix, Prestashop, Guacamole and few other - we're unhappy with the performance as my 1GBit fiber is wasting on RPi(only 100Mb/s) and ...
0
votes
0
answers
27
views
Route OpenVPN traffic via vNIC
I'm cracking my brains on the following, and I hope you guys can help me out.
I'm trying to setup an OpenVPN server on a Raspbian distro. Since I'm also using this server as a DNS server in multiple ...
-1
votes
2
answers
154
views
How to determine if NTP has updated the time
I am on a Raspberry Pi and have a service that wants to know how inaccurate (ie - number of seconds) the system time is if the system time is off by at least one minute. When Raspberry Pi starts up, ...
0
votes
1
answer
133
views
MULTI: bad source address from client [x.x.x.x], packet dropped
I had a running OpenVPN server on a RPi (buster, Debian 10). After upgrade it stopped working completely. Before that I had some issues with some public networks, which I did not investigate.
When I ...
0
votes
0
answers
38
views
Tentative of shh->rsync to wrong IP; potential security risk?
I have set up a little RPI backup 'server' (with rpi OS) on my LAN. I use it to create a backup of my main personal machine data using rsync, and I reach it from outside my network through SSH (key-...
0
votes
1
answer
305
views
ping, but no throughput to server via wireguard from raspberry pi
I have a wireguard setup with a dedicated root server machine acting as the vpn subnet`s server.
As clients, I want to connect a lot of raspberry-pi clients (3&4) - all of them having their own ...
0
votes
1
answer
348
views
Proper way to put http-server into background
I'm using raspbian on a pi Zero to serve a simple static HTML page with an index.js and some styling.
I'm using the npm package http-server I've installed it globally.
https://www.npmjs.com/package/...
0
votes
0
answers
92
views
MariaDB randomly crashed and unable to restart
I've been running mariadb on a Pi zero for several weeks now with no problem. It's just for a couple pet projects. Small DBs and only couple relatively light queries per hour.
Server crashed few days ...
1
vote
0
answers
126
views
postfix, cannot send any email, timed out
I try to add a email server on my raspberry (with a apache server already runing)
I Try a lot of things and conf for a while and it look like all mail are sent on port 25 even if the config si ...
-1
votes
1
answer
815
views
Dropbear has stopped accepting my SSH key
I have two Raspberry Pis, both running Raspbian Buster, both set up with full disk encryption, with dropbear (version 2018.76-5) to support remote unlocking of the disk encryption. This has been ...
0
votes
0
answers
294
views
firewalld: forward traffic as a wireguard VPN gateway
I have setup a pi running Pi OS 11 as a VPN gateway for my local network using Wireguard & Nftables, that all works fine.
However, I wish to switch over to firewalld to be compatible with docker ...
0
votes
1
answer
2k
views
Apache2 server PHP access to files outside document root
I have a Raspberry Pi that I use to host a web server. I am using apache2 2.4.38, php8.1 and MariaDB 15.1 and I wanted to add a Nextcloud server to it. I am using the web installer version. I already ...
0
votes
0
answers
218
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 ...
1
vote
1
answer
526
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
182
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
1
answer
1k
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
180
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
2k
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
397
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
7k
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
59
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
143
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
926
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
53
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 ...
1
vote
1
answer
171
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
237
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
450
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
2k
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
5k
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
1k
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
1
answer
135
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
1k
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 ...
3
votes
2
answers
7k
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
104
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
655
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
238
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
1k
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
454
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
552
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
2k
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
1k
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
2k
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 ...
1
vote
1
answer
3k
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
372
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 ...