STA+AP mode

kiran k ikirank at gmail.com
Tue Jun 26 22:04:04 PDT 2018


Hi,
Is it possible to run WPA Supplicant on primary interface so that
primary interface would act as station interface and hostapd would run
on other VAPs. From second interface the VAPs would function in AP
mode.
I have started supplicant and the primary STA interface connects to
upstream interface. When I start hostapd, hostapd sets the interface
mode in kernel to AP using  nl command NL80211_CMD_SET_INTERFACE. The
driver sets the interface to AP mode. The driver supports AP+station
mode. The config files I am using are
wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="UPSTREAM"
key_mgmt=NONE
}

hostapd.conf
interface=eth6
driver=nl80211
ssid=UPSTREAM
hw_mode=b
channel=1
start_disabled=1
wpa=0
bss=wl1.1
wpa=0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
bssid=02:90:4C:2C:20:84
ssid=VAP1
ctrl_interface=/var/run/hostapd_wl01
ctrl_interface_group=0


Can someone please provide more information how this is configured
from hostapd or is there an issue with the configuration or other
issues.

Thanks & Regards,
Kiran



More information about the Hostap mailing list