Skip to main content

Questions tagged [dhcpcd]

2 votes
1 answer
96 views

dhcpcd does not send hostname, reverse DNS does not work

I am using Debian Trixie on a server. I have installed it using ZFSBootMenu documentation, without a desktop environment. The installation is quite minimal in term of packages. My motherboard has 2 ...
Gabriel Devillers's user avatar
0 votes
1 answer
98 views

Is it safe to assign multiple IPv4 and IPv6 addresses to a single interface for roaming across multiple networks?

I’m working on a Raspberry Pi-based network device that moves between several known locations, each with its own IPv4 and IPv6 subnet. To streamline connectivity, I’m considering assigning multiple ...
nhz's user avatar
  • 1
0 votes
2 answers
396 views

Why can't ifupdown find dhcpcd?

So I have an embedded system I've built with yocto. I'm trying to enable DHCPv6. But when I try to bring the interface online, ifup says it can't find DHCPv6 software, even though dhcpcd is ...
Dave's user avatar
  • 45
0 votes
1 answer
539 views

Can systemd networkd be configured for netboot, PXE boot, if yes, how?

If I understand this "issue" (systemd-networkd DHCP Server ignores SendOptions #15780), SystemD can be configured to handle network booting. However, I am unable to find more information ...
user212827's user avatar
1 vote
0 answers
256 views

How to use dhcp option 12 (host-name) in dhcp server config

I have Linux system running DHCP server which assigns less than 5 leases to a similar clients, always. The connecting client can have different MAC OUI(first 3 bytes) and client uses the MAC address ...
Ashoka's user avatar
  • 111
0 votes
1 answer
609 views

dhcpcd times out at "waiting for carrier"

When I try to connect to wifi, dhcpcd gets stuck, # dhcpcd wlxf42853190543 dhcpcd-10.0.6 starting DUID 00:01:00:01:2d:1b:d8:8a:f4:e8:53:d9:78:b1 wlxf42853190543: waiting for carrier and times out. I ...
Dan Jacobson's user avatar
0 votes
1 answer
3k views

ARP table shows incomplete entry and connectivity lost

I have Linux device running 4.14.7 kernel. My device-A is directly connected to third-party device(Device-B) over 1Gig port. A UDHCPD server runs on dev-A which always assigns single IP address as per ...
Ashoka's user avatar
  • 111
0 votes
0 answers
65 views

Connecting to Wifi: org.freedesktop.resolve1: Permission denied

I have this problem when I try to connect to the wifi. If I run resolvectl I get the following error: resolvectl Failed to get global data: Failed to execute program org.freedesktop.resolve1: ...
ArtEze's user avatar
  • 137
0 votes
0 answers
248 views

dhcpcd: set priority for link-local connections

I see that there is a metric keyword in the dhcpcd.conf (as explained e.g. https://unix.stackexchange.com/a/413036/47009), which allows me to set the routing priority for a given interface. However, i ...
umläute's user avatar
  • 6,734
0 votes
1 answer
348 views

Get prefix length of IPv6 from dhcpcd

I use dhcpcd to acquire an IPv6 address. Is there a way to find out the prefix length of the acquired IPv6 through dhcpcd? Added this to the dhcpcd.conf to get an IP for eth0 interface eth0 ipv6rs ...
user2384330's user avatar
0 votes
1 answer
721 views

Unable to get IPV4 with dhcpcd on Alpine in a dual stack setup

After installing dhcpcd, the machine is unable to get IPv4 from DHCP, but generate IPv6 as expected and get DHCPv6 options (like DNS, domain, etc.); the config in /etc/networking/interfaces is auto lo ...
leoniDEV's user avatar
-1 votes
2 answers
702 views

Raspbian static IP on Wifi without DCHP service

I've tried to set up a static IP on a RPi4 running the latest Raspbian Lite (Bullseye), so I can remove DHCP entirely. My /etc/network/interfaces file looks like: # Include files from /etc/network/...
CatalinM's user avatar
1 vote
0 answers
403 views

dhcpcd deleting gateway

I'm trying to switch from DHCP to static IP by using dhcpcd. When I switch from static to DHCP I'm configuring that eth0 (which used to have the static address) will also be the one with the DHCP ...
user2384330's user avatar
0 votes
2 answers
233 views

How to "predict" a DHCP IP address?

Before launching a VM from my script, I need to figure out which IP address it will get. So I did: dhclient <interface> And this works, because dhclient uses the MAC address from the macvtap ...
Maestro's user avatar
  • 233
1 vote
1 answer
426 views

Is there an example dhcpd.conf that contains an example for each option?

OS: Debian 11 I'm attempting to create an example isc dhcpd.conf which has an entry for each option. So far I've managed to find about 30 options to include but I can't find the other ~160. I looked ...
Wilhelm de Fheur Gorm's user avatar

15 30 50 per page