Questions tagged [dhcpcd]
The dhcpcd tag has no summary.
57 questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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
...
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
...
-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/...
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 ...
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 ...
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 ...