MT7613BE cannot create mote than 1 wifi [SOLVED]

Archer c6u (ru(openwrt)) MT7613BE just stop his working when i create another network. Only network deletion make MT7613 works normal again

Thu Dec 22 00:25:09 2022 daemon.notice wpa_supplicant[1890]: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Thu Dec 22 00:25:09 2022 daemon.err wpa_supplicant[1890]: rmdir[ctrl_interface=/var/run/wpa_supplicant]: Permission denied
Thu Dec 22 00:25:09 2022 kern.info kernel: [ 3988.488023] br-lan: port 5(wlan1) entered disabled state
Thu Dec 22 00:25:10 2022 kern.info kernel: [ 3988.569313] device wlan1 left promiscuous mode
Thu Dec 22 00:25:10 2022 kern.info kernel: [ 3988.573789] br-lan: port 5(wlan1) entered disabled state
Thu Dec 22 00:25:10 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Thu Dec 22 00:25:12 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1-1) --> new PHY
Thu Dec 22 00:25:12 2022 daemon.err hostapd: Line 6: Invalid country_code '00'
Thu Dec 22 00:25:12 2022 daemon.err hostapd: Cannot enable IEEE 802.11d without setting the country_code
Thu Dec 22 00:25:12 2022 daemon.err hostapd: 2 errors found in configuration file '/var/run/hostapd-phy1.conf'
Thu Dec 22 00:25:12 2022 daemon.err hostapd: Failed to set up interface with /var/run/hostapd-phy1.conf
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): Command failed: ubus call hostapd config_add {"iface":"wlan1-1", "config":"/var/run/hostapd-phy1.conf"} (Invalid argument)
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): Options:
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -s <socket>:		Set the unix domain socket to connect to
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -t <timeout>:		Set the timeout (in seconds) for a command to complete
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -S:			Use simplified output (for scripts)
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -v:			More verbose output
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -m <type>:		(for monitor): include a specific message type
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): 			(can be used more than once)
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  -M <r|t>		(for monitor): only capture received or transmitted traffic
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): Commands:
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - list [<path>]			List objects
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - call <path> <method> [<message>]	Call an object method
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - subscribe <path> [<path>...]	Subscribe to object(s) notifications
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - listen [<path>...]			Listen for events
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - send <type> [<message>]		Send an event
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - wait_for <object> [<object>...]	Wait for multiple objects to appear on ubus
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):  - monitor				Monitor ubus traffic
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102):
Thu Dec 22 00:25:12 2022 daemon.notice netifd: radio1 (8102): Device setup failed: HOSTAPD_START_FAILED
Thu Dec 22 00:25:12 2022 daemon.notice netifd: Wireless device 'radio1' set retry=0
Thu Dec 22 00:25:12 2022 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Thu Dec 22 00:25:12 2022 daemon.notice netifd: Wireless

Which OpenWrt version are you running exactly?

# cat /etc/openwrt_release

BusyBox v1.35.0 (2022-10-14 22:44:41 UTC) built-in shell (ash)

root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='22.03.2'
DISTRIB_REVISION='r19803-9a599fee93'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 22.03.2 r19803-9a599fee93'
DISTRIB_TAINTS=''
root@OpenWrt:~#

Thanks. Use code </> tags for output please, that improves readability.

Did you act upon this error message in your log?

Thu Dec 22 00:25:12 2022 daemon.err hostapd: Line 6: Invalid country_code '00'

It's talking about two errors, so are you omitting or wrongfully setting the country code twice?

Thu Dec 22 00:25:12 2022 daemon.err hostapd: 2 errors found in configuration file '/var/run/hostapd-phy1.conf'

Always set the country code (to your actual country) for best results. Do this in the wifi-device section, in both sections if there are two radios. Operation is very limited with the code left at the default of 00, which only allows the subset of operations that are legal in every country.

If the problem continues, please post your /etc/config/wireless file.

2 Likes

Thanks, i try this.

I made all from luci

Thank you, i now can use my 5ghz mesh(мышь) at maximum inky with 2 routers

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.