Questions tagged [raspbian]

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

139 questions
1
vote
0 answers

How to use a custom skeleton directory with useradd?

I'm trying to create a new user account using a custom skeleton directory instead of the default /etc/skel. Reading man useradd I'm pretty sure this should work: useradd -m -d /home/foo -k /usr/local/etc/custom-skel foo But it seems like the -k…
Haprog
  • 111
  • 4
1
vote
2 answers

Something is regenerate ports.conf

Since the last update of my Raspbian "something" is updating my apache ports.conf file by adding these two lines automatically: Listen 81 And: Listen 443 But I need you to listen to the port 4443 because I'm using…
gokuhs
  • 31
  • 3
1
vote
1 answer

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 interfere with my testcases. How can I disable those…
icehawk
  • 111
  • 2
1
vote
2 answers

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 I try to access from the outside world the…
1
vote
1 answer

Forbidden ... denying access to be safe

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 stable. However, in the last week, I've started…
didvids
  • 11
  • 2
1
vote
1 answer

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 some garbage is included at the end of the…
Harald
  • 11
  • 1
1
vote
1 answer

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 to restart the server and have ufw disabled. Note…
feklee
  • 505
  • 3
  • 18
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
  • 4
1
vote
1 answer

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-net" { 127.0.0.1; ::1; 192.168.1.0/24; …
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,435
  • 7
  • 30
  • 54
1
vote
1 answer

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 reverse-proxy NGINX, due to limitations of my…
Baptise
  • 23
  • 6
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
  • 265
  • 4
  • 15
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
  • 4
1 2
3
9 10