Questions tagged [dhcpcd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

How to set a new version number in a .deb package I've built

I've just completed a simple source code modification & rebuild on a Raspberry Pi OS - bullseye machine. Because this is new to me, I'll list the steps I followed in an effort to avoid ambiguity: $...
user avatar
  • 2,079
1 vote
1 answer
62 views

DHCP client send hostname "linux"

I start by saying that my experience in networking is somewhere between low and medium. I'm working on a Linux machine with DHCP configured and from tcpdump traces I see that the dhclient send the ...
user avatar
  • 113
1 vote
1 answer
16 views

Conditional evaluation with unnamed option ISC DHCPD

I would like to know how one properly checks for unnamed dhcp options. This link for configuring UEFI is where I got the inspiration. However, I'm completely lost because not even the latest ISC DHCP ...
user avatar
1 vote
0 answers
170 views

Wifi no longer working, cannot start dhcpcd@wlan0

After the last update on my archlinux install, the wifi is no longer working. I check the packages updated and the package iwd got updated. When I try to connect to my modem in wifi using iwctl, I get ...
user avatar
  • 111
-1 votes
2 answers
152 views

Dynamically update resolv.conf when created by DHCP in limited embeded environment

I am working with a custom Linux image for an embedded device built with yocto. It has no network management other than the interface configurations for ifup/ifdown. /etc/resolv.conf is created dhcp (...
user avatar
1 vote
2 answers
163 views

How to list DHCP options sent to a client from a DHCP server in Linux?

How does one list the options that are sent to a client from a DHCP server? Using a utility run from bash?
user avatar
  • 4,039
0 votes
0 answers
207 views

SystemD restarting DHCPD error: Job for dhcpcd@wlan0.service failed because the service did not take the steps required by its unit configuration

I have Arch linux on Lenovo thinkpad. I have Linux 5.13.13-arch1-1. In recent time, my wifi just stops working some time after start. Only solution to make it work again is reboot. When I run sudo ...
user avatar
1 vote
1 answer
5k views

dhcpcd.service does not exist

I have a new Arch Linux installation but trouble getting network. When I boot up interface eth0 is DOWN by default so run ip link set eth0 up. The problem is when I trying to run systemctl enable ...
user avatar
0 votes
1 answer
500 views

Eth0 Has two IP addresses

I have a Pihole with a fixed IP, 192.168.0.3. It works, and I can get to the GUI interface with that IP. Recently I noticed my router displaying alternating IP addresses for the Pi in its UI (the ...
user avatar
2 votes
1 answer
32 views

airplane mode in wpa_supplicant

I believe "airplane mode" on various applets is equivalent to nmcli radio wifi off. What is its equivalence when we use dhcpcd/wpa_supplicant? pkill wpa_supplicant?
user avatar
  • 135
0 votes
1 answer
432 views

disable 169.254.x.x routes for veth interfaces - pi4 buster

I'm trying to disable 169.254.xx routes from being added to the route table on a pi4 (Raspbian 10 Buster). All I have read so far points to dhcp configuring link local address, APIPA, zeroconf. Added ...
user avatar
1 vote
1 answer
99 views

How to configure dhcpcd.conf to ingore DHCP request from a particular DHCP server?

In a network with multiple DHCP servers, how should we configure the dhcpcd.conf file for an interface to accept offers from a specific DHCP server and ignore all others? I tried blacklisting one DHCP ...
user avatar
  • 11
0 votes
1 answer
660 views

Using dhcpcd to assign a static IP address on Debian

I'm wanting to assign a static IP address to a Debian Stretch installed on a local network server. Previously I was using /etc/network/interfaces to do it, the server has only one nic and my network ...
user avatar
0 votes
1 answer
123 views

dhcpcd queries for an IP address even with static profile?

Here is the situation: I configured my Raspberry Pi /etc/dhcpcd.conf file in order to use a static profile with a static ip address. # A sample configuration for dhcpcd. # See dhcpcd.conf(5) for ...
user avatar
1 vote
2 answers
479 views

Temporarily launch dhcp server for point to point ethernet connection [duplicate]

I have a headless computer configured to use a dhcp client which is directly connected to my laptop using an ethernet cable. I'm virtually sure I have seen a one liner before (using dnsmasq?) which ...
user avatar
  • 492
0 votes
1 answer
552 views

Arch linux: automatic start of dhcpd on boot

I am using arch linux and every time I boot y system I have to manually run: sudo dhcpcd enp0s31f6 sudo dhcpcd wlan0 to have internet connection. How Can I make start these services automaticly after ...
user avatar
1 vote
0 answers
113 views

DHCLIENT not getting the intended static IP configured in DHCP Server

We have a Linux client that is running a Yocto Thud image. I have set my dhcp to reserve a static address for this client alone. However, the client still continues to get a dynamic IP from the DHCP ...
user avatar
0 votes
2 answers
508 views

There are two `dhcpcd` files in Debian buster - why is that?

I was digging into dhcpcd behavior, and I've found something that confuses me: dhcpcd vs. dhcpcd5. $ which dhcpcd /sbin/dhcpcd But dhcpcd is only a link: dhcpcd -> /etc/alternatives/dhcpcd, which ...
user avatar
  • 2,079
2 votes
1 answer
6k views

Installing DHCPD on Arch Linux

I've installed Arch Linux today and am a bit of a noob at using it, so when I had done the installation my system would connect too my network fine, but after rebooting it stopped and gave me an error ...
user avatar
  • 783
1 vote
1 answer
6k views

Static IP and DHCP Lease in dnsmasq?

I'm setting up a couple of Raspberry Pi's on my router's DMZ (don't worry all the ports are closed); my router uses DNSMasq for DNS and so I added the MAC addresses; hostnames and IPs of the pi's to ...
user avatar
  • 4,039
1 vote
1 answer
616 views

dhcpcd dhcpv6 times out after Router Advertise, never sends a DHCPv6 Request

I use a linux host as an IPv4 router and looked into enabling IPv6 (it's the future, I'm told). I already use dhcpcd as a dhcpv4 client to get an address from my ISP, so I figured I'd use it for ...
user avatar
  • 905
0 votes
0 answers
553 views

Nixos VM no IPv4 address assigned via dhcpcd

I'm using a vm setup with the following options: qemu.networkingOptions = [ "-device e1000,netdev=abc,mac=52:55:00:d1:55:02" "-netdev ...
user avatar
0 votes
0 answers
100 views

Issue with Internet connection on fresh Arch install

I am trying to connect to the Internet via Ethernet on a freshly installed Arch Linux system. I am following this YouTube tutorial. Once I got to the Internet part, I started having issues. I cannot ...
user avatar
  • 101
1 vote
1 answer
1k views

How to start dhcpcd in background on boot?

I would like to accomplish the following on Arch Linux: start dhcpcd in the background on boot while simultaneously automatically logging myself in and starting the X window server. Here's what I've ...
user avatar
1 vote
1 answer
3k views

dhcp and dns dynamic update, is possible to override/renew the DHCID record?

I have a working dns+dhcp server. When clients receive the ip from dchpd server, it send the hostname to dhcpd+dns server and works fine. But there is only a problem: suppose a client called nagios1....
user avatar
  • 10.9k
0 votes
0 answers
773 views

dhcpcd listening on port 68

I'm using dhcpcd to statically set the interface addresses. However, dhcpcd always listens on port 68, even if setting the interfaces as static addresses. It's probably strange to have a dhcp client ...
user avatar
3 votes
1 answer
3k views

Configure static values in /etc/dhcpcd.conf

What are the valid values (and what are they used for) for the static option in /etc/dhcpcd.conf file? I'm configuring a network interface of a Raspberry (running raspbian stretch) by editing the /...
user avatar
  • 473
1 vote
1 answer
991 views

A stop job is running... if I execute dhcpcd and don't kill it on ARCH

I have recently installed arch. Noticed that when shutting it down often a "A stop job is running for session 3 of root.." message appears which takes 1:30 minutes to dissapear. Further investigation ...
user avatar
2 votes
3 answers
3k views

A start job is running for eth0

I am using a new installation of Arch Linux and whenever I boot my system I have to wait for 90 seconds as there is a start job running for my network interfaces. I installed Arch yesterday and ...
user avatar
0 votes
1 answer
659 views

Trouble setting up Raspbian network bridge

I'm trying to set up a raspberry pi as a network bridge between a wireless access point and a router (the reason for this being that I'd like to connect a device to the AP and use tc on the pi to ...
user avatar
5 votes
2 answers
12k views

"Not running dhcpcd because /etc/network/interfaces defines some interfaces that will use a DHCP client or static address"

Deployment: VM -- (eth0)RPI(wlan0) -- Router -- ISP ^ ^ ^ ^ DHCP Static DHCP GW NOTE: RPI hostname: gateway • The goal was to make VMs accessible from the outside ...
user avatar
-1 votes
1 answer
892 views

I can't connect my Android Devices to my Wifi Hotspot in Linux Mint LMDE 3

I recently installed Linux Mint LMDE 3 on my PC, all normal until today, when I proceed to configure my Wifi Hotspot, I put the SSID of the network, the password, and the surprise? no device has a ...
user avatar
1 vote
1 answer
2k views

Double entry in DHCP lease file

I noticed that my DHCP lease file (/var/lib/dhcp/dhclient.eth1.leases) has more than one entry for my external Internet-facing IP interface. Some of the lease entries have overlapping timeframe. I'm ...
user avatar
-4 votes
1 answer
827 views

accidentally deleted dhcpcd5 package [closed]

I have deleted dhcpcd5 package with the sudo apt-get purge dhcpcd5 command and now my wireless interface isn’t recognized, so I can’t install it again. How can I access the internet again without ...
user avatar
  • 1
0 votes
0 answers
927 views

Prevent Network Manager from starting wpa_supplicant

I am using a Debian distribution (based on stretch) and I am trying to prevent NetworkManager (NM) from starting the wpa_supplicant service. The reason I want to do that is that I want dhcpcd to ...
user avatar
8 votes
3 answers
8k views

How to set a static IPv6 default route with dhcpcd?

I am going to set a static IPv6 address and a corresponding IPv6 default route with dhcpcd. I have looked through man dhcpcd.conf, but to find nowhere mentioning how to set an IPv6 default route. My ...
user avatar
  • 203
1 vote
0 answers
255 views

Switching between USB-Ethernet Device and WiFi

I am trying to setup the network configuration of Raspberry Pi 3 with Raspbian Stretch so that I can use my AT&T LTE (WNC) kit (A USB-Ethernet Device) when it is physically connected and WiFi ...
user avatar
  • 11
4 votes
1 answer
824 views

How to avoid dhcpcd sabotaging docker0 network?

How to reproduce: Start dhcpcd unless it's already running Restart the docker daemon Run docker run -it busybox ping -c 1 1.1.1.1 Expected behaviour: The command should succeed. Actual behaviour: ...
user avatar
  • 46.8k