Re: WPA: specify alternate config file in rc.conf

2009-11-04 Thread Chad Perrin
On Wed, Nov 04, 2009 at 01:32:39AM +0100, Mel Flynn wrote:
> On Tuesday 03 November 2009 00:57:41 jhell wrote:
> > 
> > This is not a option in rc.conf default or otherwise ATM.
> 
> It is on 8.

That's good news.  I'll look for it when 8.0 goes into RELEASE, since I
don't really want the laptop I use for work to run a release candidate
OS.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp8W9MNYNint.pgp
Description: PGP signature


Re: WPA: specify alternate config file in rc.conf

2009-11-03 Thread Mel Flynn
On Tuesday 03 November 2009 00:57:41 jhell wrote:
> On Mon, 2 Nov 2009 17:27, onemda@ wrote:
> > On 11/2/09, Chad Perrin  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.

It is on 8.

Looks pretty safe to apply:
svn diff -c 178022 svn://svn.freebsd.org/base/stable/8
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: WPA: specify alternate config file in rc.conf

2009-11-03 Thread Chad Perrin
On Mon, Nov 02, 2009 at 06:57:41PM -0500, jhell wrote:
> 
> 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.

Thanks.  In retrospect, I probably should have looked in /etc/rc.d on my
own.  Thanks for pointing me in the right direction.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpIhqD7VezGI.pgp
Description: PGP signature


Re: WPA: specify alternate config file in rc.conf

2009-11-02 Thread jhell


On Mon, 2 Nov 2009 17:27, onemda@ wrote:

On 11/2/09, Chad Perrin  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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: WPA: specify alternate config file in rc.conf

2009-11-02 Thread Paul B Mahol
On 11/2/09, Chad Perrin  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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


WPA: specify alternate config file in rc.conf

2009-11-02 Thread Chad Perrin
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?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpk8er4HpGLG.pgp
Description: PGP signature