X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=wpa_supplicant%2FREADME;h=11ab01a9c17101a84e71e4da7e6fd0f95606842d;hb=9c21b2bf45e35ba169d9123941c46cf3b2896d9c;hp=fefc0d375fe8906b461e435707bc1219955ac3f3;hpb=2bf9a53a8bc0ea8bcae6c25cd9c0e00b71405434;p=mech_eap.git diff --git a/wpa_supplicant/README b/wpa_supplicant/README index fefc0d3..11ab01a 100644 --- a/wpa_supplicant/README +++ b/wpa_supplicant/README @@ -410,7 +410,7 @@ usage: wpa_supplicant [-BddfhKLqqtuvW] [-P] [-g] \ [-G] \ -i -c [-C] [-D] [-p] \ - [-b [-N -i -c [-C] [-D] \ + [-b [-MN -i -c [-C] [-D] \ [-p] [-b] [-m] ... options: @@ -434,6 +434,7 @@ options: -u = enable DBus control interface -v = show version -W = wait for a control interface monitor before starting + -M = start describing matching interface -N = start describing new interface -m = Configuration file for the P2P Device @@ -476,6 +477,22 @@ wpa_supplicant \ -c wpa2.conf -i wlan1 -D wext +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 + + If the interface is added in a Linux bridge (e.g., br0), the bridge interface needs to be configured to wpa_supplicant in addition to the main interface: