Questions tagged [raspbian]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

How to connect to a forticlient vpn using another vpn client?

I am trying to make use of my raspberry pi need to connnect it to my VPN. I have a vpn account and i usually use fortigate client in my mac to connect to it. And now im trying to connect my raspberry ...
0
votes
0answers
9 views

Owncloud on Raspberry Pi fails, apache2 error log says php_intl can't load, PHP CLI fails to load it, tried installing libicu64 but it didn't work

I am running an Apache server on a Raspberry Pi 4 using Raspbian Buster, with Owncloud 10.4.1 installed as a web app. When I start the server, I get the following error message on /var/log/apache2/...
0
votes
0answers
16 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
1answer
112 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
1answer
21 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
0answers
28 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. ...
2
votes
1answer
56 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
0answers
8 views

How to clear all CUPS queues on startup of server?

In our specific application, we need to clear all CUPS print queues of all jobs upon startup of the CUPS server. How can I achieve this? Raspbian 10, CUPS version 2.2.10 What I already tried: 1....
0
votes
0answers
17 views

can't mount an SMB network share from Terrastation NAS on Raspbian LITE

i have 4 networ shares from the same NAS 192.168.178.165 folder 1,2,3 and 4. i created an share via mkdir /mnt/mydrive/1 and the same for the other 3 than sudo mount -t cifs -o username=XXX,...
0
votes
3answers
48 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 ...
1
vote
1answer
42 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 ● ...
0
votes
1answer
79 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
1answer
28 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-...
0
votes
0answers
10 views

Make hard-drive from LAN available for storage on Nextcloud server

I run a nextcloud server on a linux server. I have full root access to this server. this server has a permanent IP address. Unfortunately this server does not have enough storage space. At home I ...
0
votes
0answers
23 views

UFW blocking allowed traffic

UFW on my raspberry pi seems to be dropping traffic it is explicity supposed to allow. It is set up to allow all traffic in and out on tun0, and only allow traffic in/out on wlan0 to/from the load ...
0
votes
0answers
69 views

Cannot ping own interface over ipv6

I have a raspberry pi with two network interfaces; one connected to a traditional managed-mode AP (wlan0), and one that hosts an ad-hoc (IBSS) network (wlan1). Recently, I started from scratch from a ...
0
votes
1answer
80 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 ...
0
votes
1answer
187 views

fail2ban on Raspbian does not create iptables jails

I installed fail2ban 0.10.2-2.1 on Raspbian Buster to protect ssh (and if that works, apache). The default installation only enables de sshd jail, but in my case that does not seem to work. The ...
0
votes
0answers
550 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 ...
0
votes
1answer
59 views

Do private hostnames correlate with or have any direct effect on public hostnames on a running webserver?

I am running a LEMP webserver on my Raspberry pi using Rasbpian. The name of my my pi's hostname is raspi-host123. My local hosts file on my server looks like this: 127.0.0.1 localhost ...
1
vote
1answer
173 views

On raspberry pi static IP DHCP server on eth0 erratic and kills wifi. What's wrong?

On a Raspberry Pi 3B+ I want to have a all the functionality services (ssh, vnc, dhcp) on a wired intranet on eth0 and the Internet wirelessly on wlan0. I have installed the servers and under some ...
0
votes
0answers
21 views

systemd rc.local race condition

Forgive me, I am newer to Linux/Debian/Raspian. The company I work for has a bash script being run from rc.local that updates /etc/hostname file on bootup of a raspberry pi based on the MAC Address ...
0
votes
1answer
32 views

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 ...
0
votes
1answer
55 views

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 ...
1
vote
0answers
334 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 - ...
0
votes
1answer
109 views

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 ...
1
vote
0answers
60 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 ...
0
votes
1answer
45 views

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 ...
1
vote
0answers
34 views

How to get the RSSI of neighboring nodes in an ad hoc wireless network, in Linux?

I'm trying to do an ad hoc wireless network with raspeberry pis. An important primitive to communicate in these networks is the broadcast of messages (1 sends, everyone receives). However, many ...
2
votes
0answers
35 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 ...
0
votes
1answer
52 views

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 ...
0
votes
1answer
57 views

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 ...
0
votes
0answers
54 views

Strange system crash & freez

I am facing a strange problem and trying to find any piece of information to get a direction. my System is loose connection suddenly, I can't reach it in the LAN, also the app process that I'm ...
0
votes
1answer
126 views

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....
0
votes
2answers
463 views

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 ...
-2
votes
1answer
50 views

I can't understand why [closed]

I have a raspberry pi 3 b+ with Raspbian Buster (10) and I am trying to build a router. I have setup the flowing programs: bind9 for local dns resolution hostapd for wifi hotspot bridge-utils to ...
0
votes
1answer
920 views

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 ...
0
votes
0answers
119 views

Loading kernel module dummy_hcd.ko on Raspbian

I try to load g_multi and dmesg shows the following message: [77560.812390] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers To overcome this, I want to use ...
1
vote
1answer
137 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 ...
0
votes
0answers
43 views

raspbian - option to append to system hostname for dhcp client requests (dhcpcd)

I'm running a Raspbian on a bunch of Raspberry Pis. They each have a unique hostname based on their serial numbers and the dhcp client correctly registers those names with my router. The problem I'm ...
0
votes
0answers
306 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 [...
0
votes
1answer
76 views

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 ...
1
vote
0answers
48 views

How to create Stealth or DMZ Name Server? [duplicate]

We need to create an Stealth (DMZ, Split or Hidden Master) Name Server. We are able to create Name Server for our private network and our sub-domain's are resolve in our Local Area Network where not ...
1
vote
1answer
195 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 ...
0
votes
1answer
96 views

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 | ...
-1
votes
1answer
54 views

OpenVPN Tunnel Through Tunnel

I have a Raspberry Pi and two VPN server hosted. In raspberry pi I installed OpenVPN. I did connect Pi with my 1st VPN server. My question is I like to connect 2nd server thought 1st server. Like to ...
2
votes
1answer
457 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
votes
1answer
895 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 ...
8
votes
3answers
15k 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 ...
0
votes
2answers
560 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]/...