WPA: specify alternate config file in rc.conf
jhell
jhell at DataIX.net
Mon Nov 2 23:57:55 UTC 2009
On Mon, 2 Nov 2009 17:27, onemda@ wrote:
> On 11/2/09, Chad Perrin <perrin at apotheon.com> wrote:
>> If I want to start wpa_supplicant directly, and specify a particular
>> configuration file, I can do something like this:
>>
>> wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf
>>
>> How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf
>> ifconfig line, rather than just going with the default
>> /etc/wpa_supplicant.conf file?
>
> Look into /etc/defaults/rc.conf for hint.
>
This is not a option in rc.conf default or otherwise ATM.
The proper place to look for changing this: etc/rc.d/wpa_supplicant where
it is hard-written to the start-up script/routine. This should probably be
something that is handled in the default rc.conf through
wpa_supplicant_flags and a default set for them to start from so it can at
least be changed on a per use basis. I could have swore this was already
in place in earlier sources.
Best regards.
--
Mon Nov 2 18:49:34 2009 -0500
jhell
More information about the freebsd-questions
mailing list