Date: Mon, 2 Nov 2009 18:57:41 -0500 From: jhell <jhell@DataIX.net> To: Paul B Mahol <onemda@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: WPA: specify alternate config file in rc.conf Message-ID: <alpine.BSF.2.00.0911021849340.55696@qvzrafvba.5c.ybpny> In-Reply-To: <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Nov 2009 17:27, onemda@ wrote: > On 11/2/09, Chad Perrin <perrin@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0911021849340.55696>