Starting the wpa_supplicant Daemon from rc.conf

Teske, Devin Devin.Teske at
Wed Dec 11 17:23:08 UTC 2013

On Dec 10, 2013, at 1:56 PM, Martin McCormick wrote:

> We are using 802.1x on our wired network and the wpa_supplicant
> on this system works like it should to authenticate with the
> network if manually called as in 
> sudo ./etc/testwpa which is the name I gave the script that
> calls wpa_supplicant and gives it the configuration file and
> interface information to authenticate.
> 	The only thing that is not yet working is getting
> wpa_supplicant to authenticate automatically upon reboot or
> startup. I presently have the following in /etc/rc.conf:
> #wpa_supplicant
> wpa_supplicant_enable="YES"
> wpa_supplicant_program="/usr/sbin/wpa_supplicant"	
> #executable
> wpa_supplicant_flags="-B -c/etc/wpa_supplicant.conf -D wired -i le0"

What you actually want is:

ifconfig_le0="<normal stuff> WPA"
# Don't worry, the WPA will be stripped out when talking to ifconfig(8)
# NB: WPA can appear anywhere in the ifconfig_* value


The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

More information about the freebsd-questions mailing list