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

Reinhard Tartler siretart at tauware.de
Sat Jul 15 09:37:01 UTC 2006


On Fri, Jul 14, 2006 at 10:57:32PM +0000, Short Steve wrote:
> I've a problem with my WPA network; how can I force it to connect to
> my own network?
> 
> My desktop connects automatically to my neighbour's unsecure wireless
> network, ignoring my /etc/network/interfaces file, of which I have
> tried three methods of connection (wpa_supplicant-within the
> interfaces file or using wpa_supplicant.conf and wireless-tools).  I
> tried  altering the wlan0 line to read auto and manual.  In fact, I
> can hash out all but the first two lines in the interfaces file
> relating to the wlan0 connection, and it will still connect to the
> neighbours!  The end result is that I cannot send emails via SMTP as
> their ISP refuses my  connection.

This is interesting, because on my wifi hardware (madwifi), I'm
experiencing different behavior: I have to enter ALL networks I want to
connect to, even the unencrypted ones in my wpasupplicant.conf. There,
you can define 'priorities' your locations.

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

> My system is running Debian unstable, Linux 2.6.17 custom with
> ndiswrapper compiled from  source.

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

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.

Gruesse,
	Reinhard




More information about the Pkg-wpa-devel mailing list