Locking to a specific ap

Jouni Malinen jkmaline
Sun Jul 11 20:01:28 PDT 2004

On Sun, Jul 11, 2004 at 03:21:58PM -0400, Owen B. Mehegan wrote:

> One problem I'm having is, when I'm near two access points with the same 
> essid and similar power levels, my system flips back and forth between 
> them as the signal strength varies. I've tried messing with iwpriv to 
> try to lock myself to a specific AP based on its bssid, but I've had no 
> luck so far. Is there actually a way to do this, or am I SOL? I'm using 
> the Senao 200mw prism2 card.

If you enable host roaming (iwpriv wlan0 host_roaming 1), you should be
able to configure a preferred BSSID with 'iwconfig wlan0 <BSSID>'.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list