Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2007 22:15:32 -0700
From:      "Kevin Downey" <redchin@gmail.com>
To:        "Xihong Yin" <xyin@bluebottle.com>
Cc:        FreeBSD-Questions List <freebsd-questions@freebsd.org>
Subject:   Re: wpa_supplicant question
Message-ID:  <1d3ed48c0708312215j13a0fc9dwf374879469cd533c@mail.gmail.com>
In-Reply-To: <Pine.LNX.4.64.0708312226240.18503@yvahk2.ty.hzop.rqh>
References:  <Pine.LNX.4.64.0708312226240.18503@yvahk2.ty.hzop.rqh>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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