wpa_supplicant question

Kevin Downey redchin at gmail.com
Fri Aug 31 22:15:49 PDT 2007


On 8/31/07, Xihong Yin <xyin at bluebottle.com> wrote:
> I use wpa_supplicant and have set the 'ifconfig_ndis0="WPA DHCP"' in my
> /etc/rc.conf. However I am using the NDIS driver, so how do I pass the "-Dndis"
> argument to the wpa_supplicant?
>
> Thanks

It looks like /etc/rc.d/wpa_supplicant contains logic to take care of that:

case ${ifn} in
ndis*)
        driver="ndis"
        ;;
*)
        driver="bsd"
        ;;
esac

and then:

command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pid_file"

-- 
I am the kwisatz haderach


More information about the freebsd-questions mailing list