Questions tagged [raspbian]
Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.
144
questions
36
votes
2
answers
103k
views
How to disable "WARNING: apt does not have a stable CLI interface..." [closed]
I'm trying to write a script which will output the number of upgrade-able packages from apt. However it keeps giving me this warning with it also:
# sudo apt update | grep packages | cut -d '.' -f 1
...
15
votes
2
answers
13k
views
Postfix/postfix-script warning symlink leaves directory: /etc/postfix/./makedefs.out
I trying to get an email server up and running on a raspberry pi running Raspbian Buster.
In my postfix checks I am getting a strange notification about a symlink that I definitely did not create ...
10
votes
3
answers
9k
views
After enabling HTTPS on my Apache2 server - I get 404 errors on every request [closed]
Okay, so I've had no experience with SSL/HTTPS ever before, I've only ever dealt with standard HTTP. Recently I've started work on a site which will need SSL. So of course, I've gone out and ...
8
votes
2
answers
9k
views
Cron job vs NodeJS setInterval for optimal performance
I'm building a simple nodejs script that updates a DNS record based on my current IP. The script works fine but I have some concerns regarding how should I run it. The check for my IP must be ...
5
votes
1
answer
6k
views
Cygwin Windows < Linux rsync - connection unexpectedly closed
I'm trying to backup my Raspberry Pi 3 (Raspbian) to my desktop computer (Windows 10 Pro). At the moment I can SSH each way, specifying the private key file.
To SSH into the RPi from Windows: ssh ...
5
votes
2
answers
2k
views
Why do I get this APT warning: Signature by key [...] uses weak digest algorithm (SHA1)?
I'm hosting a private Debian repository for some custom Raspberry Pi code. I originally built the software on Raspbian Jessie (version 8), generated a GPG key which I use to sign the repository, and ...
4
votes
2
answers
3k
views
Is there a way to make apt-get upgrade not show changelogs?
I want to be able to script apt-get upgrade to run seamlessly without prompts, but in my experiments, I can't get it to stop showing prompts, even with -y or --force yes. Lately, when setting up RPis ...
4
votes
2
answers
9k
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-...
3
votes
1
answer
2k
views
Error When Setting up SSL on Alternate Port [closed]
I have a web server running on a Raspberry Pi. I am running stunnel on port 443, so I have been working to move my web server to port 8443. I use Let's Encrypt (Certbot) for my SSL certificates, and ...
3
votes
1
answer
5k
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....
2
votes
2
answers
13k
views
Can't get upsmon service started to monitor (and respond to) remote UPS
I am having difficulty getting my nut install to simply monitor a single remote UPS attached to a Buffalo LinkStation Duo. I can manually correctly read its status using upsc [email protected] and it ...
2
votes
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 ...
2
votes
1
answer
7k
views
How to get multiple Ethernet-Ports (NICs) working simultaneously on a linux device
I'm new to routing and networking so I hope some of you can help me to understand the issue and how to fix it.
Current Situation:
I have a linux server (raspbian/ubuntu). This server has two ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
2k
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-...
2
votes
1
answer
4k
views
fsck on boot leads to systemd dependency failure and subsequent boot failure
If a fsck takes longer than 90 seconds during boot, the systemd unit times out and the system falls into emergency mode. This is obviously very unfortunate with headless devices without KVM, as the ...
2
votes
1
answer
4k
views
Where to save ip rule, ip route and iptables commands on Debian Stretch?
To make an SSH server work properly while still maintaining an OpenVPN connection, I have a small mixture of ip-related commands I need to persist and run on startup on a Debian Stretch (actually ...
2
votes
2
answers
8k
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
● ...
2
votes
1
answer
167
views
USB Modem soft reinitialization [closed]
I'm using an USB 3G/4G modem to access the Internet (connection with wvdial) but also to query my account usage, recharge and buy data offers with AT commands on the serial ports. Sometimes the modem ...
2
votes
1
answer
1k
views
Postfix (Imap) with Dovecot: no auth available
I'm using Dovecot to get Imap access to my mail server (on Raspbian). I'm using system users and am able to successfully test logins (doveadm auth test ...). But I'm not able to get auth option via ...
2
votes
1
answer
11k
views
Getting squid proxy to authenticate with AD or LDAP
So, I've been running a project lately, which is to mount a Squid proxy on Raspbian (on Raspberry pi via webmin). This project is divided into two parts;
The first, which I have already completed, is ...
2
votes
1
answer
2k
views
ZFS on Linux: clear receive_resume_token pointing to a no longer existing snapshot
I am using syncoid from sanoid project to create copies of ZFS filesystems on a different machine in my test environment (a couple of Raspberry Pi)
I messed up with a snapshot on origin machine: one ...
2
votes
1
answer
4k
views
Error recovering Local SID
What is fine :
LDAP is alright, and can be accessed with phpLdapadmin without problem.
LDAP hybris95home.local contains "dn=admin,dc=hybris95home,dc=local" value.
What is wrong:
Using net ...
2
votes
1
answer
2k
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,...
2
votes
0
answers
449
views
Why won't TCP adjust the size of the segment?
I am sending an HTTP request with body that it is large enough for request to get segmented into multiple packets of sizes 374B (headers), 1500B and 199B.
Since some of our network equipment has a ...
2
votes
1
answer
770
views
Multi-client architecture AWS EC Nginx rtmp server setup with raspberry pi camera as client for live video streaming
Our Approach
Set up ngnix rtmp webserver on AWS EC ubuntu 16.04. Successfully completed single client(RPi Camera) streaming. Now we want to send multiple Pi Cameras live Feed on this server which ...
1
vote
2
answers
2k
views
HTTP connections are fast from local network, very slow from the outside world
I setup a Wordpress server in a Raspberry Pi with nginx, MariaDB and ufw. I also setup the No-IP service. When I access the server from my local network (192.168.0.173) I get a fast response but when ...
1
vote
1
answer
1k
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
751
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 ...
1
vote
1
answer
3k
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....
1
vote
1
answer
288
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/...
1
vote
2
answers
2k
views
Puppet ssh_authorized_key type not available
I am using Puppet to manage SSH keys on all my devices including a bunch of Raspberry Pi's but only the Raspberry Pi's are complaining about the ssh_authorized_key type missing.
Warning: /Stage[main]/...
1
vote
2
answers
214
views
Something is regenerate ports.conf [closed]
Since the last update of my Raspbian "something" is updating my apache ports.conf file by adding these two lines automatically:
Listen 81
And:
<IfModule mod_ssl.c>
Listen 443
</IfModule>...
1
vote
1
answer
337
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 ...
1
vote
1
answer
224
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
vote
1
answer
2k
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 ...
1
vote
1
answer
3k
views
DNS server information not provided to DHCP clients by dnsmasq
I am trying to utilize a Raspberry Pi with Raspbian Stretch (Linux) so provide additional network monitoring and also routing capabilities. To this end I have the following setup:
Internet router [...
1
vote
1
answer
2k
views
How to disable IGMP in Raspbian
I am writing testcases for the IGMP and MLD implementation of a network switch. Those testcases run on Raspbian. However, Raspbian seems to regularly send IGMP reports/queries of its own, which ...
1
vote
1
answer
137
views
Unattended-Upgrade sends status e-mail to wrong address
I have a strange error that I cannot figure out myself.
I want unattended upgrades to send a status e-mail to a certain address. But somehow it always changes the "to" field in that email to ...
1
vote
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
185
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 ...
1
vote
1
answer
651
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
6k
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 ...
1
vote
0
answers
110
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/...
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, ...
1
vote
0
answers
555
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
2k
views
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 ...
1
vote
0
answers
1k
views
Route private network traffic through VPN
I use a RaspberryPi as a DHCP and DNS server for my home network as well as a wireguard server to gain remote access to my network.
My setup is as follows:
192.168.1.4 - ISP Router
192.168.1.1 - ...
1
vote
0
answers
3k
views
nginx too many redirects HTTP to HTTPS
I have a problem with accessing my site from Internet.
When I am trying to do that the browser is showing the error "too many redirections" or "redirection loop".
This is my site conf file. I ...
1
vote
1
answer
558
views
SMA LCS tool through open VPN
I'm trying to make SMA LCS tool work through openVPN.
Context
The hardware Inverter Manager permits to manage the inverters. The LCS tool, is the only windows application (no other OS) which ...