diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-06-26 14:18:08 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-06-26 14:18:08 +0000 |
commit | 1264cc08ffbf6666583904a5197abfcaec43e53a (patch) | |
tree | d2e8d86913f0273f82e3da4ee41f1302afe70f7e /sbin/ifconfig | |
parent | 430220838880ba76bf87b2b45e5aa9341bbb717a (diff) | |
download | src-1264cc08ffbf6666583904a5197abfcaec43e53a.tar.gz src-1264cc08ffbf6666583904a5197abfcaec43e53a.zip |
Add MATCH option for CONFIG_MATCH_IFACE.
If the interfaces on which wpa_supplicant is to run are not known or do
not exist, wpa_supplicant can match an interface when it arrives. Each
matched interface is separated with -M argument and the -i argument now
allows for pattern matching.
As an example, the following command would start wpa_supplicant for a
specific wired interface called lan0, any interface starting with wlan
and lastly any other interface. Each match has its own configuration
file, and for the wired interface a specific driver has also been given.
wpa_supplicant \
-M -c wpa_wired.conf -ilan0 -D wired \
-M -c wpa1.conf -iwlan* \
-M -c wpa2.conf
PR: 247177
Reported by: greg@unrelenting.technology
MFC after: 1 month
Related to: ports r540412
Notes
Notes:
svn path=/head/; revision=362651
Diffstat (limited to 'sbin/ifconfig')
0 files changed, 0 insertions, 0 deletions