Questions tagged [dhcpcd]
8 questions
2
votes
2 answers
How to ignore rogue DHCP assignments?
I have a box connected to a largish local IPv4 network (no IPv6 at all) through a single Ethernet interface; normally, it is assigned an IP address from the 172.16.0.0 range.
From time to time, however, somebody plugs in a DHCP server by mistake,…

Piskvor left the building
- 2,153
- 1
- 18
- 18
2
votes
1 answer
DHCPCD does not delegate an assigned IPv6 prefix
I've been trying to get IPv6 PD with dhcpcd working on my home server along with ppp and radvd to allow for SLAAC to work and eventually replace my ISP-provided router. Unfortunately, the prefix which dhcpcd receives on the ppp0 interface via RAs…

Marcus K
- 23
- 5
2
votes
1 answer
Set sysfs network option before interface is up
I want to set /sys/class/net/wwan0/qmi/raw_ip, and I don't want to do it by writing a shell script to take wwan0 down set it, then put wwan0 back up as a systemd unit. I'm trying this on Raspbian Stretch, but I doubt the distribution matters much…

Joshua D. Boyd
- 185
- 8
1
vote
2 answers
dhcpcd ipv6 excessive adding/removing route in log
This correlates with router advertising. For now, I removed ipv6rs from the config and added the route manually. Is there a better way to eliminate the excessive log?
Apr 22 16:53:39 prince dhcpcd[2358]: eth1: adding default route via…

niry
- 155
- 7
1
vote
1 answer
disable automatic running of dhcpcd at startup
I installed the DHCP client dhcpcd on Debian to run it manually on a given set of interfaces, but I see that at reboot dhcpcd tries to configure my entire set of interfaces. Not being able to do so, it assigns a zero-conf address to each interface…

Ricky Robinson
- 215
- 1
- 5
- 20
1
vote
1 answer
How to hide system information when using dhcpcd?
I'm using dhcpcd to obtain an IP address on a laptop via WiFi. After logging in to the router, I noticed that it knows too much about my system:
Host Name: hostname
Device Type: dhcpcd-6.11.3:Linux-4.8.4-1-ARCH:x86_64:GenuineIntel
IP…

Eugene Yarmash
- 2,433
- 5
- 34
- 54
0
votes
1 answer
dhclient.conf - append to system hostname
I'm running a Raspbian on a bunch of Raspberry Pis. They each have a unique hostname set in /etc/hostname and the dhcp client correctly registers that name with my router.
The problem I'm running into stems from having these Pis connected to the…

Cameron Tacklind
- 137
- 8
0
votes
0 answers
Difference in routing between systemd-networkd and dhcpcd?
When using systemd-networkd with the configuration below, I cannot connect over SSH (connection time out) to a certain server on our network. Bizarrely, there are no problems when I use dhcpcd instead. Everything else works with both…

Konrad Höffner
- 195
- 1
- 9