Some time ago I compiled wpa-supplicant, but never got around to trying it. Upon reading the man pages and the BLFS 8.1 book, I find some ambiguity.
From the book:
Quote:
If your router/access point uses DHCP to allocate IP addresses, you can install DHCP-4.3.6 client and use it to automatically obtain network addresses. Create the /etc/sysconfig/ifconfig-wifi0 by running the following command as the root user:
Code:
cat > /etc/sysconfig/ifconfig.wifi0 << "EOF"
ONBOOT="yes"
IFACE="wlan0"
SERVICE="wpa"
# Additional arguments to wpa_supplicant
WPA_ARGS=""
WPA_SERVICE="dhclient"
DHCP_START=""
DHCP_STOP=""
# Set PRINTIP="yes" to have the script print
# the DHCP assigned IP address
PRINTIP="no"
# Set PRINTALL="yes" to print the DHCP assigned values for
# IP, SM, DG, and 1st NS. This requires PRINTIP="yes".
PRINTALL="no"
EOF
|
The way I read that file, upon boot, wpa will start dhcpcd. dhcpcd is already started at boot time, for the ethernet interface. My understanding is that this would result in two copies of dhcpcd running, one for the wired and for for the wifi. Does that seem correct?
Thank you.
p.s. I've not actually tried anything yet. This BLFS 8.1 system has gotten comfy and I don't want to screw it up (again, lol?) so I am at the reading man pages and planning phase.