[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wpa_supplicant disconnecting problems



On Thu, Nov 08, 2007 at 10:42:52PM +1100, Geoff Crompton wrote:
> Hi,
> 
> I'm a bit of a wireless newbie. I'm trying to connect my tnet1130 PCI
> wifi card (104c:9066) with the ndiswrapper to a Asus WL-500GP access point.
> 
> I've got the ndiswrapper going, using Debian Etch, kernel 2.6.18-5-686,
> and building the ndiswrapper-modules-2.6.18-5-686 package, version
> 1.28-1+2.6.18.dfsg.1-13etch4.
> 
> I'm testing wpa_supplicant with a config file:
> ~$ cat /etc/wpa_supplicant/test.conf
> eapol_version=1
> ap_scan=1
> network={
>     ssid="goose"
>     scan_ssid=1
>     proto=WPA
>     key_mgmt=WPA-PSK
>     psk="test1232"
> }
> 
> However it seems to repeatedly disconnect after it succeeds associating,
> where it says 'CTRL-EVENT-DISCONNECTED':

I am not sure if your problem is that you never successfully fully
connected or that you get disconnected intermittently.

If it never successfully connected then you probably need to replace your
psk value with a value coming out the tool wpa_passphrase. It will
output something like this:

$ wpa_passphrase goose test1232
network={
 ssid="goose"
 #psk="test1232"
 psk=835f1b84d6cc8a206ecd1d7ea6342c1841857db6da0c88e85f168fa0d5cfa88b
}

You should replace the psk with the value from that output.

-- 
Tarek



Reply to: