Questions tagged [dhcpcd]

21 questions
2
votes
1 answer

Connect to Raspberry pi through Wifi

I'm currently trying to do something that's quite hard for me. I have a raspberry pi zero w that's running an apache server. I want to be able to access my pi anywhere, even offline by connecting to it from for example my androids wifi tab. I have…
user157476
1
vote
1 answer

dhcpcd.serve failed after recent updates

My System Raspberry Pi 3B running RaspberryPi OS Bullseye 32 bit. Even though it has a desktop I mainly use it as a server, running Pihole inside a docker container. Probable Cause After the most recent system updates that updated systemd and quite…
user68186
  • 524
  • 1
  • 7
  • 16
1
vote
0 answers

Can't ping/wget hostnames resolving IPv6 adresses

This happened after a router restart. I noticed the issue when I ssh'ed to my homelab server. The custom welcome script hangs on: `hostname -I | /usr/bin/cut -d " " -f 1` and `wget -q -O - http://icanhazip.com/ | tail` It used to output a ipv4 and…
1
vote
1 answer

dhcpcd.conf default netmask

I wonder if anyone knows the behaviour of dhcpcd. I know that it is possible to configure wlan0 adapter to static IP in /etc/dhcpcd.conf like that: interface wlan0 static ip_address=192.168.0.1 Omitting the netmask in CIDR notation does not prevent…
maciek
  • 141
  • 1
  • 9
1
vote
3 answers

Local Network Multiple Pi Configurations

I am attempting to put together a small Pi cluster which will sit behind another Pi. (See image) RESTRAINTS: I do not have control over the Gateway, and the Main Pi static IP cannot be changed. Pi-A and Pi-B sit behind a switch, and need to be there…
Ping Me
  • 11
  • 2
1
vote
0 answers

dhcpcd creates and deletes veth* interfaces in thousands

I run a RPi4 (4GB) with Raspbian 10 (buster) from a SSD. It's running docker containters with nginx, nextcloud, pihole and some others. The RPi crashes from time to time. I found out it runs out of inodes on /run. In /run/dhcpcd it creates…
tsht
  • 11
  • 2
1
vote
1 answer

debug dhcpcd using the lease file at /var/lib/dhcpcd/*.lease

I am having problems with the dhcp leases of my eth0 interface. My rpi does not renew its lease when it expires. My lease file has many special characters, is this normal? My configuration : Compute Module 4 with Debian bullseye 11 5.18.0 Thank…
maxmet
  • 13
  • 3
1
vote
0 answers

How does DNS work in Raspbian?

How does DNS work on a Raspberry Pi (a recent version of Raspbian)? From what I understand: When I write a program and want to connect to somedomain.com, I don't specify what DNS server to use. I use a library function built into the language that…
John
  • 467
  • 1
  • 5
  • 10
0
votes
2 answers

Dhcpcd not assigning IPV6 address to LAN Interface

I am trying to use Raspberry Pi Zero 2 W as an IPV6 router . I have a usb wifi adapter (Interface Wlan1 ) facing wan . The inbuilt wifi (Wlan0) is facing LAN with hostapd running on this interface . I have no problem with IPV4 , everything works…
0
votes
1 answer

Troubleshooting "Failed to start dhcpcd.service on all interfaces" - Buster on Raspberry Pi 3

We have been testing "PiSignage", an opensource digital signage solution, on a Raspberry Pi 3 running Buster. We have a webserver that is hosting a webpage we intended on using as an "asset" for PiSignage. Access to the URL is restricted to…
0
votes
1 answer

Installing tcpdump breaks IPv4 networking?

On a Raspberry Pi 2 running Jessie, I just installed tcpdump. It worked when installing, but after rebooting, IPv4 is unavailable on the eth0 interface. It is normally headless and reached by SSH, but now I can only access with the HDMI screen and…
tim11g
  • 301
  • 3
  • 13
0
votes
2 answers

How can I set a fixed IP on Raspberry Pi running Debian bullseye?

I am struggling getting my rPi to get a fixed IP. I have this /etc/dhcpcd.conf, but that doesn't seem to do anything: # A sample configuration for dhcpcd. # See dhcpcd.conf(5) for details. # Allow users of this group to interact with dhcpcd via the…
Bart Friederichs
  • 273
  • 2
  • 10
0
votes
1 answer

Raspi connected to wifi but cant ping network members or outside servers

I have a raspi 4B running headless raspbian version 10 (buster) on it. I have configured my wpa_supplicant.conf as follows: Header... network={ ssid="wifi_A" psk="passwordOfA" priority=1 #lower priority …
Slev1n
  • 1
  • 3
0
votes
0 answers

Wifi Carrier Lost Recovery -- DHCPCD and Avahi problems?

I'm trying to troubleshoot a headless RPI Zero W2 python program that accepts user input via input() over ssh. My python program logs wifi signal strength and performs an iperf upload/download test to a local iperf server instance. As I move the…
0
votes
1 answer

Why does dhcpcd flood my logs with with useless messages when I use the `inform` option?

In accordance with man dhcpcd.conf I used the inform option to set a static IP address. Using this option seems to cause my DHCP client dhcpcd to flood my logfile with useless messages. Here is a sample: # After adding line: `inform…
Seamus
  • 23,558
  • 5
  • 42
  • 83
1
2