Askey RAC2V1K / RT4230W REV6 Support

1 Like

update on DSA config -
as mentioned in post 638, there are problems with DSA converion for the RT4230W. i think this originates in the board settings which mix up the macaddr settings for lan, wan, and cpu ports. these erroneous settings cause problems when trying to set up a bridge or vlans.
the correct settings need changing in the network/interface/devices page, and should be:

fw_printenv settings:

fw ethact=eth0

fw ethaddr=XX:XX:XX:XX:NN

fw eth1addr=XX:XX:XX:XX:NN +1

openwrt network/interfaces/devices settings:

eth1/wan XX:XX:XX:XX:NN +1

eth0/lan XX:XX:XX:XX:NN

phy0 XX:XX:XX:XX:NN -1

phy1 XX:XX:XX:XX:NN -2

i had to change the eth1/wan settings and then things would work.
interestingly - this was set correctly with r24352, but subsequent snapshots have been problematic without manual correction.

i am ignorant of the deeper workings of this so please correct/add if possible, but i think the board config in openwrt sources needs to be updated for this device to properly implement DSA

2 Likes

(How to USB boot your initramfs image)
My RT4230W (SAC2V1K) flat out refused to tftpboot. I've booted many routers this way, and I've even done this with an idential SAC2V1K that I got from the same batch.
running ping -t would show the eth drop out every few seconds. I spent several hours trying to get it to work.

So... I saw we had the ability to read from USB to memory. These are the steps I followed:

(This is going to write over your usb's partition/bootsector. You will have to reformat the stick once you are ready to use it like a normal usb drive)
Using HxD (Hex edit software), open the initramfs image. Select all, and copy (ctrl-c)
Open another HxD in admin mode. Goto Tools->OpenDisk, uncheck the readonly option, and CAREFULLY select your usb drive. You better be 2000% you selected the right drive.
Put the cursor on 0x0, and click Edit->PasteWrite.
For clarity you might want to zero out a large chunk first, I did the PasteWrite first, which moves the cursor to the end of the paste, and then I zeroed out a chunk after that.

Then start the router, and get into uboot, and enter these commands:
usb start
usb device 0
usb read 44000000 0 12562
bootm 44000000

From there you get into the CLI and do the actual flashing through the upgrade process.

Some notes:
I think my block count math isn't right, but that is why we zeroed out some extra space on the usb after the initramfs image so we don't copy garbage into our memory.
usb start - starts up the usb services for uboot
usb device 0 - sets the usb drive as the primary usb device.
usb read 44000000 0 12562 - reads 12562 blocks of data from the usb drive, starting at block 0, and puts it into memory @44000000
bootm 44000000 boots the image we just copied to memory

The memory address is very important, if try to write to say, 24000000 you will not have a good time

1 Like

I have been following this post for a while and I reached a point that I need help.

Model is RAC2v2s

Anyone got time to take a look?

Much thanks!

Hello,

I have been using the Askey RAC2V1K router for about 6 months now. However, recently I have been experiencing stability issues, which include:

  • Being unable to connect to the internet (PPPoE fails, but when I try another router, there seems to be no issue with PPPoE),
  • The internet connection is established, but I only get a laughably slow speed of about 1kb/s, which returns to normal after about 30-60 minutes,
  • The router randomly restarts itself at various times. The lights go out, and I have to unplug the adapter from the socket and plug it back in to fix it.

Has anyone else experienced these problems? I am currently using the OpenWrt 23.05.2 version. I have tried reinstalling from scratch before, but it did not help. I am starting to think the problem might be hardware-related.

Thanks in advance

23.05.2 is younger than 6 months, so at a minimum that upgrade is a change you could investigate.

Before giving up on the device (hardware problem), you could try a hard reset to the default configuration. Hold the reset button in until the router resets and reboots to the default OpenWrt configuration in other words.

If it is still misbehaving after after resetting the configuration, yeah, it could be hardware related. These devices come out of resold cable ISP company stock. Many have had a hard life getting knocked around by cable company subscribers who get a free replacement if the one they are using / abusing breaks. The shape of this router is a little more susceptible to getting knocked off shelves to the floor, etc. too.

1 Like

Has anyone had issues with max associated station errors? It seems the ath10k qca9984 ct firmware is limited to 32 connections. I've followed some of the guides and hints in this thread: Ath10k-ct driver supports only 32 devices
This seems to work, but only for the 5Ghz radio, the 2.4Ghz still has a Maximum assiociated stations in AP mode: 32 according to iw list.

root@RT4230W-1:~# iw list
Wiphy phy1
        wiphy index: 1
        max # scan SSIDs: 16
        max scan IEs length: 195 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Available Antennas: TX 0xf RX 0xf
        Configured Antennas: TX 0xf RX 0xf
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 1:
                Capabilities: 0x19ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x339b79b2):
                        Max MPDU length: 11454
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        MU Beamformee
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: not supported
                Frequencies:
                        * 2412 MHz [1] (30.0 dBm)
                        * 2417 MHz [2] (30.0 dBm)
                        * 2422 MHz [3] (30.0 dBm)
                        * 2427 MHz [4] (30.0 dBm)
                        * 2432 MHz [5] (30.0 dBm)
                        * 2437 MHz [6] (30.0 dBm)
                        * 2442 MHz [7] (30.0 dBm)
                        * 2447 MHz [8] (30.0 dBm)
                        * 2452 MHz [9] (30.0 dBm)
                        * 2457 MHz [10] (30.0 dBm)
                        * 2462 MHz [11] (30.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
                   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Maximum associated stations in AP mode: 32
        Supported extended features:
                * [ VHT_IBSS ]: VHT-IBSS
                * [ RRM ]: RRM
                * [ SET_SCAN_DWELL ]: scan dwell setting
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
                * [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
                * [ AQL ]: Airtime Queue Limits (AQL)
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
                * [ DEL_IBSS_STA ]: deletion of IBSS station support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 16
        max scan IEs length: 199 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Available Antennas: TX 0xf RX 0xf
        Configured Antennas: TX 0xf RX 0xf
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x19ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x339b79fa):
                        Max MPDU length: 11454
                        Supported Channel Width: 160 MHz, 80+80 MHz
                        RX LDPC
                        short GI (80 MHz)
                        short GI (160/80+80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        MU Beamformee
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 1560 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 1560 Mbps
                VHT extended NSS: not supported
                Frequencies:
                        * 5180 MHz [36] (23.0 dBm)
                        * 5200 MHz [40] (23.0 dBm)
                        * 5220 MHz [44] (23.0 dBm)
                        * 5240 MHz [48] (23.0 dBm)
                        * 5260 MHz [52] (24.0 dBm) (radar detection)
                        * 5280 MHz [56] (24.0 dBm) (radar detection)
                        * 5300 MHz [60] (24.0 dBm) (radar detection)
                        * 5320 MHz [64] (24.0 dBm) (radar detection)
                        * 5500 MHz [100] (24.0 dBm) (radar detection)
                        * 5520 MHz [104] (24.0 dBm) (radar detection)
                        * 5540 MHz [108] (24.0 dBm) (radar detection)
                        * 5560 MHz [112] (24.0 dBm) (radar detection)
                        * 5580 MHz [116] (24.0 dBm) (radar detection)
                        * 5600 MHz [120] (24.0 dBm) (radar detection)
                        * 5620 MHz [124] (24.0 dBm) (radar detection)
                        * 5640 MHz [128] (24.0 dBm) (radar detection)
                        * 5660 MHz [132] (24.0 dBm) (radar detection)
                        * 5680 MHz [136] (24.0 dBm) (radar detection)
                        * 5700 MHz [140] (24.0 dBm) (radar detection)
                        * 5720 MHz [144] (24.0 dBm) (radar detection)
                        * 5745 MHz [149] (30.0 dBm)
                        * 5765 MHz [153] (30.0 dBm)
                        * 5785 MHz [157] (30.0 dBm)
                        * 5805 MHz [161] (30.0 dBm)
                        * 5825 MHz [165] (30.0 dBm)
                        * 5845 MHz [169] (27.0 dBm) (no IR)
                        * 5865 MHz [173] (27.0 dBm) (no IR)
        valid interface combinations:
                 * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
                   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Maximum associated stations in AP mode: 100
        Supported extended features:
                * [ VHT_IBSS ]: VHT-IBSS
                * [ RRM ]: RRM
                * [ SET_SCAN_DWELL ]: scan dwell setting
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
                * [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
                * [ AQL ]: Airtime Queue Limits (AQL)
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
                * [ DEL_IBSS_STA ]: deletion of IBSS station support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support

Well I tried installing the non -ct version of the driver and the limits are set to 512 associated stations for both 5 and 2.4.

opkg remove ath10k-firmware-qca9984-ct
opkg install ath10k-firmware-qca9984

Is the -ct version still recommended?? I see there are no updates since 2020, while the 'default' QCA9984 is 20240220-r1.

good catch on this limit. i wonder if some of my connection failures have had something to do with this>?
i put the noct driver on my home RT4230W as access points (x3) just now and will monitor for a few days. so far so good.

EvoPulseGaming,
I also have an SAC2V1K model. Hearing this about the tftpboot is very discouraging. I have not been able to access ANYTHING using the serial connection and minicom.

What speed did you use to get serial access? I have tried 115200 and 9600. No win with either.
I have removed the two resistors labeled R1126 and R1126.
According to the "information page" (lol) the installed firmware is 3.2.10-3- and whole bunch of pointless characters.

I tried using picocom and no luck there either.

I am almost at the point of giving up, but I just want to make sure I have exhausted all possibilities.

My phone told me that there were too many connections when some friends came over. Not sure why I was the lucky one to get kicked out!

You can also see many errors messages in the log stating the same connection limit. If you suspect it is happening check the logs for it.

I have also been running the non-ct for several days without issues that I can tell.

Would be interested to get @greearb feedback on this.

By default, ath10k-ct is limited to 32 connected stations per radio, this limit can be extended (you can find the approach with the forum search).