dhcpcd-discuss

Re: dhcpcd-6.10.0 released

Roy Marples

Wed Mar 23 11:39:03 2016

On 07/01/2016 17:18, Roy Marples wrote:
> Care should be taken for this upgrade because dhcpcd will no longer try
> to manage wpa_supplicant by default - if you rely on this you will have
> to ensure you update the hook yourself or manage starting/stopping
> wpa_supplicant another way.
> The rationale is that it's not really the job of dhcpcd to configure the
> interface.

A slight update on this .... wpa_supplicant upstream just accepted my
patch to allow interface matching
https://w1.fi/cgit/hostap/commit/?id=45e3fc72c61a61dbd1e2fc3fd9fd7bf853b9f5fe
https://w1.fi/cgit/hostap/commit/?id=2e997eece5776eca0a99d53893e343539f9f8eb2

So you can achieve the same functionality that the dhcpcd wpa_supplicant
hook script provided by starting wpa_supplicant like this
wpa_supplicant -B -M -c/etc/wpa_supplicant.conf

and voila :)
Linux users will probably have to disable udev network naming rules though.
BSD users will need to sync src/drivers/driver_bsd.c to the current head
as there are more fixes there which are probably required as well.

Roy

References:
dhcpcd-6.10.0 releasedRoy Marples
Archive administrator: postmaster@marples.name