Wireless page crash (rpc err 500) after 4.6.4 update

Greetings!

I have a GL-AXT1800. After update to Version 4.6.4 \ release1 \ 2024-09-05 00:22:50 (UTC+00:00) the Wireless page starts permanently crashing.

In general, this is RPC 500 err code error:

2024/09/20 11:31:46 [error] 4586#0: *370 lua entry thread aborted: runtime error: ...rm_cortex-a7/gl-sdk4-wifi/usr/lib/oui-httpd/rpc/wifi:31: attempt to concatenate local 'ifname' (a nil value)
stack traceback:
coroutine 0:
	[C]: in function 'foreach'
	...rm_cortex-a7/gl-sdk4-wifi/usr/lib/oui-httpd/rpc/wifi:45: in function 'get_wifi_iface_config'
	...rm_cortex-a7/gl-sdk4-wifi/usr/lib/oui-httpd/rpc/wifi:553: in function <...rm_cortex-a7/gl-sdk4-wifi/usr/lib/oui-httpd/rpc/wifi:326>
	(tail call): ?
	/usr/share/gl-ngx/oui-rpc.lua:108: in function '?'
	/usr/share/gl-ngx/oui-rpc.lua:160: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 192.168.8.231, server: , request: "POST /rpc HTTP/1.1", host: "192.168.8.1", referrer: "https://192.168.8.1/"

Looks like, for some reason, ifname is nil now for wlan0\1. I didn't make any deep customization, and my home network is pretty typical. So, I didn't think, than I broke smth.

Do you guys have some ideas, how may I fix it? I thought to check for a new firmware, but GL.iNet download center seems to be down (I got timeout error).

1 Like

Hi, please try to execute these commands in the SSH:

uci set wireless.default_radio0.ifname='wlan1'
uci set wireless.default_radio1.ifname='wlan0'
uci set wireless.guest5g.ifname='wlan1-1'
uci set wireless.guest2g.ifname='wlan0-1'
uci commit wireless
reboot
3 Likes

Hi, Bruce! Nice to see you again :slight_smile:

Your solution fixed the problem. Thanks a lot!

1 Like

Nice to see you :wink:
we will improve this.

1 Like

How do I execute a command in the SSH? It is this?

UPD: Yes, it looks like this is the correct link to the instructions on how to access the router over SSH. It would be nice if this was done as an OTA hot fix instead of asking the user to fix.. I appreciate your help and thank you. But still.

3 Likes