On Sat, Feb 26, 2022 at 12:06 PM Martin-Éric Racine
<martin-eric.rac...@iki.fi> wrote:
>
> On Sat, Feb 26, 2022 at 11:54 AM Roy Marples <r...@marples.name> wrote:
> > >> dhcpcd's wpa_supplicant hook was written to solely support hotplugging a 
> > >> USB
> > >> wireless stick into a machine without any kind of hotplug support.
> > >> Since then I have added then -M flag to wpa_supplicant so it can do it 
> > >> by itself.
> > >
> > > Which is a problem. dhcpcd and systemd currently compete for control
> > > of the wireless device. systemd tries to rename it to follow
> > > Predictable Network Interface Names at the same time as dhcpcd tries
> > > to to connect it to a network. It results in configuration failing.
> >
> > Oh please.
> > This issue was 9 solved years ago when I wrote a udev plugin for dhcpcd that
> > forces dhcpcd to only "use" the interface when udev says the name has 
> > settled.
> > https://github.com/NetworkConfiguration/dhcpcd/commit/12bbc8cb5c7507be15a7e0af4140c3d81125c46c
>
> Sure enough, existing Build-Dep inherited from the current packaging
> did not pull libudev-dev. Added. Built and tested. Works well. Thanks
> for pointing that out.

Btw, it would be a good idea for BUILDING.md to mention which
libraries can optionally be used, such as libudev-dev in the above
case.

Ditto for configure to mention the package-specific options such as
where to find and include additional hooks. Right now, it only shows
generic instructions.

Martin-Éric

Reply via email to