Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2007 21:21:07 -0700
From:      Sam Leffler <sam@errno.com>
To:        Kevin Gerry <sfpoof@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Wireless NICs not obeying 'SSID' setting.
Message-ID:  <468488B3.7010607@errno.com>
In-Reply-To: <c027a39a0706282053i4b9cbdd8j421710d950cfd9ea@mail.gmail.com>
References:  <c027a39a0706282053i4b9cbdd8j421710d950cfd9ea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Gerry wrote:
> I've noticed that in a recent patch that when you set a NIC with ifconfig
> ath0 ssid "This One" that it won't always honor that and jump on the
> strongest one.
> 
> Example:
> 
> 3 WAPs: SSIDs WAP1, WAP2, WAP3
> 
> I have set ath0's ssid to "WAP2" and ral0's ssid to "WAP3". They both will
> honor the ssid setting for the first connection. However, after a few
> hours/etc the drivers both associate with WAP1.
> 
> The settings to require the specific SSID are in
> /etc/start_if.ral0/start_if.ath0. There aren't any conflicting
> directives to
> force it to go blank and select a random AP.

You're probably roaming.  wlandebug roam will verify what's going on.
You can disable roaming several ways:

ifconfig ral0 roaming device

should do the trick (if you set it to manual then you won't do what you
want if your beacon is turned off).  Alternatively you can do

ifconfig ral0 -bgscan

as roaming won't take place w/o bg scanning.

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468488B3.7010607>