Skip to main content
10 votes

How to set a static IPv6 default route with dhcpcd?

You cannot use DHCPv4 to give out default IPv6 routes. You cannot even use DHCPv6 to give out default IPv6 routes. The reason is that IPv6 is different from IPv4 in many respects, and one of them is ...
dirkt's user avatar
  • 33.4k
6 votes

Installing DHCPD on Arch Linux

What you want is the dhcpcd package. It’s part of the installation environment and I assume it worked when you installed. To install dhcpcd on your system do the following Boot the installation ...
PonJar's user avatar
  • 401
6 votes
Accepted

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

Question 1.) Sorry, it looks like you've misunderstood a few things. dhcpcd is a DHCP client daemon, which is normally started by NetworkManager or ifupdown, not directly by systemd. It is what will ...
telcoM's user avatar
  • 114k
5 votes
Accepted

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

You can either add the relevant lines at the top of debian/changelog (find here details on the contents of that file). You can duplicate the current top stanza and change the version number (making an ...
Eduardo Trápani's user avatar
4 votes

How to set a static IPv6 default route with dhcpcd?

Googling for "dhcp ipv6 defaultroute" led me to this AU Q&A titled: how to set default gateway in dhcpd6.conf. According to this Q&A IPv6: DHCPv6 does not support options to set routers/...
slm's user avatar
  • 380k
4 votes

Temporarily launch dhcp server for point to point ethernet connection

You can connect to it using a local link IPv6 address. Find out the address of the headless computer (let's say connected to eth3) with: $ ping6 -L -I eth3 ff02::1 64 bytes from fe80::2671:89ff:ddb9:...
Eduardo Trápani's user avatar
4 votes

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

I found the reason for this "error". dhcpcd uses some kind of "noob/newbie protection", which guarantees a safe way for handling the network management, should some "noob/...
paladin's user avatar
  • 41
4 votes
Accepted

DHCP client send hostname "linux"

From man 5 dhclient.conf, the config entry is send host-name <...>. It's near the bottom. The example they give is: interface "ep0" { send host-name "andare.example.com"; ...
Bob Goddard's user avatar
  • 2,751
3 votes

dhcpcd.service does not exist

I think you don't have dhcpcd isntalled.Try pacman -S dhcpcd. This will install dhcpcd and the service
Akshat Vats's user avatar
3 votes

Temporarily launch dhcp server for point to point ethernet connection

dnsmasq --port 0 --no-daemon will launch dnsmasq in the foreground (so that you can see leases being allocated), as a DHCP server only (--port 0 disables DNS). dnsmasq will use the configuration in /...
sjy's user avatar
  • 966
3 votes
Accepted

Static IP and DHCP Lease in dnsmasq?

I am a bit confused about your setup. Maybe I am misunderstanding it. Anyhow, the way it's normally done is to have one central place to configure everything (in your case, that should probably your ...
dirkt's user avatar
  • 33.4k
3 votes
Accepted

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

The DHCID records are parts of a scheme to identify which client currently holds the corresponding other dynamically-updated DNS record(s) with the same name; see RFC 4701. The TXT records are an ...
telcoM's user avatar
  • 114k
3 votes
Accepted

A start job is running for eth0

I'd say it's very likely the problem you're seeing is with the [email protected] that's configured on your system. So my recommendation would be to disable it, hopefully that's enough to make that ...
filbranden's user avatar
  • 22.6k
3 votes
Accepted

dhcpcd does not send hostname, reverse DNS does not work

What's happening Your /etc/nsswitch.conf has the classic dns keyword, but the fact that dig output says ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP) indicates you're using systemd-resolved through its ...
telcoM's user avatar
  • 114k
2 votes
Accepted

Trouble setting up Raspbian network bridge

After looking at the linked tutorial ( https://pimylifeup.com/raspberry-pi-wifi-bridge/ ), I could conclude that this is not a bridge tutorial, but a NAT/router tutorial. Even a comment in it also ...
A.B's user avatar
  • 39.5k
2 votes

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

Assuming you have access to at least one dhcp client machine, the received DHCP options can be found in /var/lib/dhcp/dhclient.leases. This question should probably be marked as a duplicate of How to ...
2.718's user avatar
  • 161
2 votes

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

The only way to see the options (unless the machine you are running this on is the client, then you can see the effect of the options) is to capture the traffic for the DHCP exchange. So you use ...
dirkt's user avatar
  • 33.4k
2 votes
Accepted

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

You can use tshark, the commandline version of wireshark, tshark -tad -nn -VOdhcp -ixenbr0 -f 'ip and udp port 67'
oogway's user avatar
  • 199
2 votes
Accepted

Why can't ifupdown find dhcpcd?

$ apt-get source ifupdown [...] $ grep -rB2 'No DHCPv6 client software found' ifupdown-0.8.44 ifupdown-0.8.44/inet6.defn- dhclient -6 -1 -v -S -pf /run/dhclient6.%iface%.pid -lf /var/lib/dhcp/...
Stéphane Chazelas's user avatar
2 votes

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

Potential routing conflicts, especially if multiple addresses try to inject default routes. Addresses don't inject default routes. (They only inject "local subnet" routes.) Default routes ...
grawity's user avatar
  • 15.2k
1 vote

Raspbian static IP on Wifi without DCHP service

Option 1: Using /etc/network/interfaces.d You need to provide wireless parameters in your /etc/network/interfaces.d/wlan0 file, either a path to a valid wpa_supplicant.conf: auto wlan0 iface wlan0 ...
larsks's user avatar
  • 38.4k
1 vote
Accepted

How to "predict" a DHCP IP address?

dhcp does not change the local configuration directly, it calls a script once it gets the lease (by default /sbin/dhclient-script in Debian). You can specify your own script with -sf and use the $...
Eduardo Trápani's user avatar
1 vote

DHCP client keeps stopping on Raspbian

You said, "DHCP keeps stopping seemingly at random", but you didn't say how you determined that it is "stopping". I suspect that it's not stopping at all, but that it is forking to ...
Seamus's user avatar
  • 3,833
1 vote

Conditional evaluation with unnamed option ISC DHCPD

I have finally found the secret sauce thanks to this discussion thread. Apparently, one must "define" the option (I'm assuming, I haven't yet confirmed this understanding from DHCPD docs). I ...
Andrew Falanga's user avatar
1 vote
Accepted

Eth0 Has two IP addresses

Got some help over here NetworkManager was taking over. I probably installed it at some point for one of it's tools, never intending it to actively take over my Pi as a DHCP client. Honestly, I'm ...
square_eyes's user avatar
1 vote
Accepted

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

I added this to the bottom of the dhcpcd.conf file and 169.254.x.x route is not added. denyinterfaces veth* br*
m0ng00se's user avatar
1 vote

How to start dhcpcd in background on boot?

I found the answer on the Arch Wiki. The solution is to use instead the following drop in snippet for dhcpcd. [Service] ExecStart= ExecStart=/usr/bin/dhcpcd -b -q %I The -b flag starts dhcpcd in the ...
alligator's user avatar
1 vote
Accepted

Arch linux: automatic start of dhcpd on boot

Thanks for comments. The solution was combination of enabling systemd service: sudo systemctl enable --now dhcpcd and uninstalling Networkmanager which I did not know I had installed and was causing ...
Jan Černý's user avatar
  • 1,763
1 vote

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

This is the "alternatives" system in action. In this system the conventional name of the program is a symbolic link into /etc/alternatives/ and the actual program binary is a differently ...
JdeBP's user avatar
  • 71.9k
1 vote
Accepted

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

This is all for historical reasons. There used to be a dhcpd package which integrated with ifupdown, running one instance of dhpcd per interface. Version 5 of the project changed behaviour, with a ...
Stephen Kitt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible