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 ...
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 ...
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 ...
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 ...
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♦
- 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:...
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/...
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";
...
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
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 /...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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'
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/...
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 ...
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 ...
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 $...
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 ...
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 ...
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 ...
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*
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dhcpcd × 57dhcp × 22
networking × 17
linux × 10
arch-linux × 10
debian × 5
systemd × 5
wifi × 5
ipv6 × 5
isc-dhcpd × 5
raspbian × 4
dhclient × 4
iptables × 3
raspberry-pi × 3
dns × 3
network-interface × 3
udhcpc × 3
routing × 2
networkmanager × 2
internet × 2
route × 2
wpa-supplicant × 2
dnsmasq × 2
systemd-networkd × 2
ipv4 × 2