Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2007 10:47:49 -0400 (EDT)
From:      Xihong Yin <xyin@bluebottle.com>
To:        Kevin Downey <redchin@gmail.com>
Cc:        FreeBSD-Questions List <freebsd-questions@freebsd.org>
Subject:   Re: wpa_supplicant question
Message-ID:  <200709011447.l81ElnsJ024085@mi0.bluebottle.com>
In-Reply-To: <1d3ed48c0708312215j13a0fc9dwf374879469cd533c@mail.gmail.com>
References:  <Pine.LNX.4.64.0708312226240.18503@yvahk2.ty.hzop.rqh> <1d3ed48c0708312215j13a0fc9dwf374879469cd533c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I thought it was the problem of the argument. But I still can not connect to my
Access Point using wap_supplicant while I can connect by 'ifconfig'. It always
connects to a different network which is in the previous DHCP leases. But this
network is not what I specified in my /etc/wap_supplicant.conf file.

My /etc/wap_supplicant.conf looks like this:

network={
   ssid="home"
   key_mgmt=NONE
   wep_key1=1234567890
   wep_tx_keyidx=1
}


Any suggestions about the problem?




On Fri, 31 Aug 2007, Kevin Downey wrote:

> 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
>

----------------------------------------------------------------------
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5




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