Re: wpa_supplicant question

[ Available lists | Index of freebsd-questions | Month of Sep 2007 | Week of 1 Sep 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kevin Downey <redchin@gmail.com>
Date
1 Sep 2007 05:15:49
Subject
Re: wpa_supplicant question
Message-ID
1d3ed48c0708312215j13a0fc9dwf374879469cd533c@mail.gmail.com

In reply to
References to
Replies
Referenced by

[ Hide this part ]
On 8/31/07, Xihong Yin <xyin@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


Elapsed time: 0.267 seconds