[PATCH 3/5] -m <ifname_match> matches interface names via fnmatch(3) and assigns them the default configuration file, like so
Wed May 27 10:42:22 PDT 2009
On Tue, May 26, 2009 at 10:25:16PM +0100, Roy Marples wrote:
> wpa_supplicant -c /etc/wpa_supplicant.conf -m "*"
> This makes every interface try to initialize with the default driver,
> whch distribution setup a lot easier.
> This can be used in the future to for wpa_supplicant to startup
> on interfaces that do not exist at boot, like for say pcmcia interfaces.
How portable code is this? I did not test this yet, but I would expect
this to break the build with MinGW and Visual Studio..
Furthermore, I'm not sure this type of functionality should really be
part of wpa_supplicant. The more common way of doing this has been to
have an external component that is tracking hotplug devices add new
interfaces (e.g., through dbus or the global control interface; or by
running one wpa_supplicant process per interface, if desired).
Jouni Malinen PGP id EFC895FA
More information about the Hostap