Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 22:27:59 GMT
From:      Kim Culhan <w8hdkim@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/170098: virtual access points with Atheros ath driver
Message-ID:  <201207232227.q6NMRxWG014709@red.freebsd.org>
Resent-Message-ID: <201207232230.q6NMUCab081863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170098
>Category:       conf
>Synopsis:       virtual access points with Atheros ath driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 22:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kim Culhan
>Release:        10-current
>Organization:
>Environment:
FreeBSD foo.bar.com 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r238721M: Mon Jul 23 16:31:48 EDT 2012     felix@foo.bar.com:/usr/obj/usr/src/sys/foo  amd64
>Description:
At this time the maximum number of VAPs is 4, and the VAPs may be configured
for any combination of OPEN access and WPA2 controlled access/encrypted.

A configuration in /etc/rc.conf for 4 VAPs, 1 OPEN and 3 WPA2 could look like:

wlans_ath0="wlan0 wlan1 wlan2 wlan3"
ifconfig_wlan0="channel 6 ssid ap1"
ifconfig_wlan1="channel 6 ssid ap2"
ifconfig_wlan2="channel 6 ssid ap3"
ifconfig_wlan3="channel 6 ssid ap4"
create_args_wlan0="wlanmode hostap wlanaddr f8:d1:11:38:3c:e5"
create_args_wlan1="wlanmode hostap wlanaddr fa:d1:11:38:3c:e5"
create_args_wlan2="wlanmode hostap wlanaddr fc:d1:11:38:3c:e5"
create_args_wlan3="wlanmode hostap wlanaddr fe:d1:11:38:3c:e5"
hostapd1_enable="YES"
hostapd2_enable="YES"
hostapd3_enable="YES"

VAPs operating in WPA2 encrypted mode will require an instance of
hostapd with it's associated configuration file: hostapd1.conf 

interface=wlan1
driver=bsd
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
dump_file=/tmp/hostapd1.dump
ctrl_interface=/var/run/hostapd1
ctrl_interface_group=wheel
ssid=ap2
ieee8021x=0
wpa=2
wpa_passphrase=supersecret
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP

For the other instances of hostapd, substitute the numbering for
interface, dump_file and ctrl_interface and ssid for each of
hostapd1.conf, hostapd2.conf etc.

>How-To-Repeat:
How to repeat the problem:

When the BSSID and MAC address and duplicated among VAPs the client machine
may not display some SSID's and and will be unable to connect to many of
the SSID's which are visible.

Recently is has been noted this situation appears to exacerbate problems with
ieee80211 Lock Order Reversal, although LOR's are still observed even
when there are no BSSID/MAC duplicates.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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