[pkg-wpa-devel] WPA connects to wrong network

Short Steve helycos at yahoo.co.uk
Sat Jul 15 11:57:01 UTC 2006


I have tried all the suggestions to no avail:

>To change the location, you can use either wpa_cli or wpa_gui.

wpa_gui has only my network (goodview) available, and gives the message "association request to the driver failed"

>Do you have your neighbors wifi in your wpasupplicant.conf? Could you
>please attach your config here (clearing credentials, of course).

I have tried adding that network, with low priority

tim at debian:~$ more /etc/wpa_supplicant.conf
# Minimal /etc/wpa_supplicant.conf to associate with open
#  access points. Please see
#  /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
#  configuration parameters.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Associate with any open access point
###  Scans/ESSID changes can be done with wpa_cli
# network={
#         ssid="tim"
#         key_mgmt=NONE
# }

# Only WPA-PSK is used. Any valid cipher combination is accepted.
network={
        ssid="goodview"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk="********"
        priority=5
}

network={
        ssid="NETGEAR"
        key-mgmt=NONE
        priority=1
}


>And could you please try to specifiy different ap_scan parameters?
>(either in wpa_supplicant.conf, or using the 'wpa-ap-scan' stanze in
>/e/n/interfaces). Try all '0', '1' and '2', and tell us if they make a
>difference for you.

No difference.  I also apt-got removed wireless-tools AND wpa_supplicant, and pruned /e/n/interfaces to

allow-hotplug wlan0
iface wlan0 inet dhcp

And I still got connected to NETGEAR!  Is there a line I can add to interfaces to stop this bevahiour?  Or a parameter to the ndiswrapper module?

Thanks!

Tim



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20060715/48b6b5ff/attachment.html


More information about the Pkg-wpa-devel mailing list