[FS#3904] Adding another SSID to a radio prvents the interface from starting due to duplicate BSSID

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Jun 25 03:46:39 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - yoeljacobsen (yoeljacobsen) 

Attached to Project - OpenWrt/LEDE Project
Summary - Adding another SSID  to a radio prvents the interface from starting due to duplicate BSSID
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - Adding a second SSID from Luci results in a configuration error which prevents the radio interface from starting.

resulted configuration:
config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
	option country 'US'
	option htmode 'HT40'
	option channel 'auto'
	option cell_density '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option macaddr '60:38:e0:be:e2:69'
	option ssid 'somename'
	option encryption 'psk2'
	option key 'somepassword'

config wifi-iface 'another_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option ssid 'anothername'
	option encryption 'psk2'
	option key 'anotherpassword'



Log:
Fri Jun 25 10:24:07 2021 daemon.notice netifd: Network device 'wlan1' link is down
Fri Jun 25 10:24:07 2021 daemon.notice netifd: radio1 (14904): sh: acs_survey: out of range
Fri Jun 25 10:24:07 2021 daemon.notice netifd: radio1 (14904): sh: acs_survey: out of range
Fri Jun 25 10:24:07 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Fri Jun 25 10:24:07 2021 daemon.err hostapd: Duplicate BSSID aa:bb:cc:dd:ee:ff on interface 'wlan1-1' and 'wlan1'.
Fri Jun 25 10:24:07 2021 daemon.err hostapd: 1 errors found in configuration file '/var/run/hostapd-phy1.conf'
Fri Jun 25 10:24:07 2021 daemon.err hostapd: Failed to set up interface with /var/run/hostapd-phy1.conf
Fri Jun 25 10:24:07 2021 daemon.notice netifd: radio1 (14904): Command failed: Invalid argument
Fri Jun 25 10:24:07 2021 daemon.notice netifd: radio1 (14904): Device setup failed: HOSTAPD_START_FAILED

"workaround":
If I add a different (fake) macaddr to the 2nd SSID, it works.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3904

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list