You are not logged in.
Hello. I was looking into installing and configuring dhclient. First thing I did was check the wiki for documentation. But, there is surprisingly nothing in the wiki for dhclient...
https://wiki.archlinux.org/index.php/Ne … ation#DHCP
Based on the very limited info in the wiki, I started off like this.
# Install dhclient
# pacman -S dhclient
# Get the name of my wireless interface (wlp2s0 also shows up with lshw)
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether 9c:b6:d0:96:26:6d brd ff:ff:ff:ff:ff:ff
# Configure dhclient at /etc/dhclient.conf
# interface "wlp2s0" {
# send dhcp-client-identifier 9c:b6:d0:96:26:6d;
# }
# Start the dhclient for my wireless
systemctl enable --now dhclient@wlp2s0.service
I thought this would work, but then I checked the dhclient logs and it looks like it's failing.
Internet Systems Consortium DHCP Client 4.4.1
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "wlp2s0"
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
The unit is marked Active: failed.
Last edited by 1ptb3b (2020-01-22 22:49:34)
Offline
Probably should have read what Seth linked for you.
Offline
I did read it. That's why I went down the rabbithole of installing dhclient.
A nicer more helpful answer would have been something like:
Hey, you missed a small detail in the wiki. "Do not enable the systemd units shipped with the dhclient and dhcpcd packages.".
But, sure. I'll take it. Thanks for the help. I rererererererere-read the section and noticed that part.
Offline
Nah...your problem is you don't read...anything.
Offline