Questions tagged [dhcpcd]

The tag has no usage guidance.

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

AP nginix website shows on newer devices, but not on older ones

I am running my Raspberry (Pi 4, Model B, running latest Raspberry Pi OS bookworm) as an Access Point using hostapd, dnsmasq & dhcpcd to serve a website via nginix. So people can connect wia WLAN ...
Andresch Serj's user avatar
0 votes
0 answers
24 views

Can I use DHCPCD for dynamic IP router and static IP on Raspberry Pi?

Can I use DHCPCD for dynamic IP on router and static IP on Raspberry Pi ? The whole mess is due to the fact that I need dynamic IP on the router, because of the fact that I shared internet through my ...
Cristian Florescu's user avatar
0 votes
2 answers
46 views

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 ...
Ajay Gupta's user avatar
2 votes
1 answer
117 views

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 ...
Grastler Jones's user avatar
0 votes
1 answer
664 views

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 "...
DOSed_And_Confused's user avatar
-1 votes
1 answer
201 views

Why is systemd-hostnamed.service started at boot and by what?

systemd-hostnamed.service on my Bullseye is started at boot time by what? It does not start at boot time on my Buster. It generates problem when no DHCP-server is present on the network. - In that ...
user2304458's user avatar
1 vote
1 answer
225 views

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 ...
user68186's user avatar
  • 494
1 vote
0 answers
75 views

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 - ...
Kevin Van Humbeeck's user avatar
0 votes
1 answer
101 views

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 ...
tim11g's user avatar
  • 267
1 vote
1 answer
382 views

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 ...
maciek's user avatar
  • 131
0 votes
2 answers
2k views

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 ...
Bart Friederichs's user avatar
0 votes
1 answer
104 views

Stop Raspberry Pi automatically assigning additional IP address

I currently have a network of raspberry ip's running Buster connected to a pc on a local network with the wifi interface disabled. The pc is running a DHCP server to assign each of the pi's non-static ...
Odysseys_user's user avatar
0 votes
1 answer
195 views

Deactivate WIFI MAC spoofing on Raspberry Pi Zero 2 W with DHCPCD?

After the same update/upgrade I did to my 10 Raspberries (Pi Zero 2W), 4 out of them keep on using when connecting to my WiFi, a MAC Address which is not the hardware one (the one I see via ifconfig). ...
Gouz's user avatar
  • 115
1 vote
3 answers
1k views

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 ...
Ping Me's user avatar
  • 11
-1 votes
1 answer
146 views

Eth0 accessible via SSH but no internet connection when raspi hosting an AP

I have a raspi 4B running headless v10 (buster). I do have a PC connected to a router and I have a raspi connected to a router via ethernet (eth0). With this setup everything runs, I can ssh into the ...
Slev1n's user avatar
  • 1
0 votes
1 answer
466 views

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" ...
Slev1n's user avatar
  • 1
0 votes
0 answers
810 views

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 ...
leeprevost's user avatar
-1 votes
1 answer
323 views

Raspberry Pi 4B connect to WPA2-Enterprise Wifi Network but loss Ethernet cable connection

I'm trying to connect to the university wifi (WPA2-Enterprise). I do the following modifications on files and successfully connect to the network. However, the Ethernet cable connection is disabled ...
Yichong Chen's user avatar
1 vote
0 answers
491 views

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 ...
tsht's user avatar
  • 11
1 vote
1 answer
1k views

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 ...
maxmet's user avatar
  • 13
0 votes
1 answer
476 views

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 ...
Seamus's user avatar
  • 22k
0 votes
2 answers
2k views

The inform option in DHCPCD.conf assigned two IP addresses. How to remove the dynamic one?

Please note this is not a duplicate of How to disable the dynamic IP address after assigning a static IP in Bullseye? this previous problem occurred when a system that was updated from Buster to ...
user68186's user avatar
  • 494
0 votes
1 answer
147 views

Using Raspberry PI 4 B Wifi with 2 IP Addresses

I need to setup my RPI 4 to use Wi-Fi but with 2 IP addresses, one from DHCP and the other one static, can someone please help I am not sure how to do this, as I need to put this configuration in the ...
EnricoMTB77's user avatar
1 vote
0 answers
79 views

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 ...
John's user avatar
  • 449