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

Kel Modderman kelrin at tpg.com.au
Tue Jul 18 10:37:56 UTC 2006


Reinhard Tartler wrote:
> 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.
>   

IMHO, this is the intended behaviour of all good wifi modules, something 
is definitely strange here; I suspect that wpa_supplicant may not be 
launching due to the use of the 'wpa-driver ndiswrapper' option, but I 
am not 100% sure about that . . . In this case, wpa_supplicant would not 
bind to the interface, but it would still be ifup'd, and thus would 
connect to the open access point.


Thanks, kel.



More information about the Pkg-wpa-devel mailing list