Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 13:35:32 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Jean-Charles Longuet <jclonguet@laposte.net>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: conf/126392: rc.conf ifconfig_xx keywords cannot be escaped
Message-ID:  <48A1F414.3000608@freebsd.org>
In-Reply-To: <200808121940.m7CJe5fu059233@freefall.freebsd.org>
References:  <200808121940.m7CJe5fu059233@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jean-Charles Longuet wrote:
> The following reply was made to PR conf/126392; it has been noted by GNATS.
>
> From: Jean-Charles Longuet <jclonguet@laposte.net>
> To: bug-followup@freebsd.org, jclonguet@free.fr
> Cc:  
> Subject: Re: conf/126392: rc.conf ifconfig_xx keywords cannot be escaped
> Date: Tue, 12 Aug 2008 21:10:04 +0200
>
>   
>   From what I understand, wpa_supplicant is only used by client stations. 
>  In my case, I am configuring an access point with hostapd for the wpa 
>  handling, and do not require wpa_supplicant in any way, hence the 
>  configuration line I added in the intial report.
>  
>  More generaly, keywords can not be used anywhere in the ifconfig command 
>  line: you cannot set your ssid to such values, for example. There are 
>  workarounds, like running an extra ifconfig command in start_if.ath0, 
>  but that's just plain ugly, and I use FreeBSD to avoid this. Having an 
>  extra keyword meaning "do not look thereafter" could do the trick 
>  (something like "--" on command lines).
>
>   
Using ifconfig to enable WPA authmode will never be useful.  I will 
remove it so it's not possible.  Not sure however if the rc scripts will 
recognize use of "WPA" for setting the ssid as distinct from the 
metta-keyword.  If not that is an issue.

    Sam





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A1F414.3000608>