Page 1 of 1

WRT1200AC + 1.13.0

Posted: Wed May 18, 2022 6:42 am
by fifonik
Upgraded gargoyle on my WRT1200AC from 1.12.x to 1.13.0 (I have NOT preserved settings or restored any files over SSH, everything configured from the scratch in UI in the similar way).

It works fine (with QoS, Quota, BW monitoring) and looks stable (up time 3+ days).

However, I have faced 2 issues that I did not have with 1.12.0 & 1.12.x:

1. Most LEDs on the device are off (only "T" LEDs are flashing). Is it known issue? Any suggestions?

2. Some devices (Kobo Glo, Kobo Libre H2O) see 2.4GHz WiFi network, but unable to connect to it. They were working fine with previous version of gargoyle. The only difference in wireless configuration in UI -- WPA3/WPA2 SAE/PSK vs WPA2 PSK in 1.12.x. Should I switch to WPA2 PSK? What else should I try?

UPDATE: WiFi issue resolved when I switched to WPA2 PSK.

Thanks.

Re: WRT1200AC + 1.13.0

Posted: Wed May 18, 2022 8:44 am
by Lantis
Your device isn't capable of WPA3 unfortunately.

I've not seen that issue with the LEDs. Can you check your /etc/config/system is populated correctly with LEDs?

Re: WRT1200AC + 1.13.0

Posted: Wed May 18, 2022 8:56 am
by fifonik
> Your device isn't capable of WPA3 unfortunately.

I thought as it is named "WPA3/WPA2" that it is somehow backward compatible. NVM, the issue fixed for me and I've updated the post so someone might find this info usable.

> Can you check your /etc/config/system is populated correctly with LEDs?

The content of the file is exactly the same in backup I made from 1.12x and 1.13.0:

Code: Select all

config timeserver 'ntp'
	option enabled '1'
	option enable_server '1'
	list server '0.oceania.pool.ntp.org'
	list server '1.oceania.pool.ntp.org'
	list server '2.oceania.pool.ntp.org'

config led 'led_wan'
	option name 'WAN'
	option sysfs 'pca963x:caiman:white:wan'
	option trigger 'netdev'
	option mode 'link tx rx'
	option dev 'eth1'

config led 'led_usb1'
	option name 'USB 1'
	option sysfs 'pca963x:caiman:white:usb2'
	option trigger 'usbport'
	list port 'usb1-port1'

config led 'led_usb2'
	option name 'USB 2'
	option sysfs 'pca963x:caiman:white:usb3_1'
	option trigger 'usbport'
	list port 'usb2-port1'
	list port 'usb3-port1'

config led 'led_usb2_ss'
	option name 'USB 2 SS'
	option sysfs 'pca963x:caiman:white:usb3_2'
	option trigger 'usbport'
	list port 'usb3-port1'

config button 'reboot_button'
	option button 'wps'
	option action 'released'
	option handler 'logger reboot ; /usr/lib/gargoyle/reboot.sh ;'
	option min '3'
	option max '90'

config button 'reset_button'
	option button 'reset'
	option action 'released'
	option handler 'logger restore defaults ; /sbin/firstboot -y; reboot ;'
	option min '3'
	option max '90'

config system 'system'
	option ttylogin '0'
	option log_size '64'
	option urandom_seed '0'
	option cronloglevel '9'
	option timezone 'AEST-10'
	option hostname 'WRT1200AC'

Re: WRT1200AC + 1.13.0

Posted: Thu May 19, 2022 2:19 am
by Lantis
The device advertises that it can do WPA3 so devices try to connect using it, but it is completely broken and will likely never be fixed.

I don’t see anything wrong with LEDs. Did you try rebooting? My wrt32x works fine.

Re: WRT1200AC + 1.13.0

Posted: Thu May 19, 2022 6:27 am
by fifonik
I restarted the router a few times while configured using UI.
Just turned it off with power button, waited 5 seconds and turned it on again to double check.
Nothing changed.

Re: WRT1200AC + 1.13.0

Posted: Thu May 19, 2022 8:30 am
by Lantis
Can only suggest checking Openwrt of the same vintage (19.07.x) and seeing if its any better and showing the difference between the /etc/config/system files

Re: WRT1200AC + 1.13.0

Posted: Thu May 19, 2022 11:36 pm
by fifonik
Did you mean to install OpenWRT?

I will try to revert back to 1.12.x, then upgrade to 1.13.0 again and check the LEDs before making any changes.
The router is in another room, so I only noticed the LEDs issue the next day after the upgrade.

I noticed that looks like other LEDs are flashing, but they are really dimmed out and this only visible during night.
At this stage I suspect HW failure as the other LEDs are in this stage even after turning the device ON (based on wiki they should be ON for 2 secs after turning the device ON).
Or the LEds brightness is configurable and can be flashed?

Re: WRT1200AC + 1.13.0

Posted: Thu May 19, 2022 11:45 pm
by Lantis
Dim LEDs on these devices is very common. Another treat from the manufacturer :roll:

Mine are barely visible in the daylight now, and incredibly dim at night.

Re: WRT1200AC + 1.13.0

Posted: Fri May 20, 2022 12:05 am
by fifonik
Well, they were fine before (I have not checked them straight before the upgrade, but they definitely worked without issues a few weeks ago).

I've found this article:
https://openwrt.org/docs/guide-user/bas ... figuration

Will try to downgrade over weekend and if LEDs work I will investigate the content of the /sys/class/leds to find differences.

Re: WRT1200AC + 1.13.0

Posted: Fri May 20, 2022 6:55 am
by fifonik
I have not got chance to check how these leds configured in 1.12.x, however looks like they are not configured correctly in 1.13.0.

It looks like 'pca963x:caiman:amber:wan' is actually used instead of 'pca963x:caiman:white:wan' (that is specified in system config) and for the amber LED brightness is set to 0:

Code: Select all

root@WRT1200AC:/tmp# ls -la /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-0068/leds/
drwxr-xr-x   18 root     root             0 Jan  1  1970 .
drwxr-xr-x    3 root     root             0 Jan  1  1970 ..
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:10
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:11
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:12
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:13
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:14
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:15
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:0:68:4
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:amber:wan
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:amber:wps
drwxr-xr-x    3 root     root             0 Jan  1  1970 pca963x:caiman:white:usb2
drwxr-xr-x    3 root     root             0 Jan  1  1970 pca963x:caiman:white:usb3_1
drwxr-xr-x    3 root     root             0 Jan  1  1970 pca963x:caiman:white:usb3_2
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:white:wan
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:white:wlan_2g
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:white:wlan_5g
drwxr-xr-x    2 root     root             0 Jan  1  1970 pca963x:caiman:white:wps
root@WRT1200AC:/tmp# cat /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-0068/leds/pca963x\:caiman\:amber\:wan/brightness
0
root@WRT1200AC:/tmp# cat /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-0068/leds/pca963x\:caiman\:white\:wan/brightness
255
The WAN LED is lit when I change brigtness to 255:

Code: Select all

echo 255 > /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-0068/leds/pca963x\:caiman\:amber\:wan/brightness