Askey RAC2V1K / RT4230W REV6 Support

Hi,

is there a snapshot for SAC2V1K that has nss support?

@quarky, is your NSS working stable? How to propery compile your build, maybe you can provide diffconfig?

Hi,
recently flashed RAC2V1K with latest openwrt snapshot, works good except nlbwmon - it shows only part (~1/100) of real upload / download traffic. Never meet error like this on other devices.
Does anybody faces the same issue?

root@rac2v1k:~# nlbw -c show
Fam Host ( MAC ) Layer7 Conn. > Downld. ( > Pkts. ) Upload ( Pkts. )
IPv4 192.168.1.3 (e0:c6:c3) HTTPS 3.95 M 6.79 GB ( 11.80 M) 149.40 MB ( 3.32 M)
IPv4 192.168.1.3 (e0:c6:c3) other 974.38 K 6.35 GB ( 7.64 M) 8.41 GB ( 8.93 M)
IPv4 192.168.1.3 (e0:c6:c3) QUIC 20.65 K 1.45 GB ( 1.20 M) 55.84 MB ( 258.37 K)

So far my NSS build for the RT4230 looks stable for production use.

If you want to test it out, @ACwifidude provides community builds which you can download from this GitHub link:

If you have a copy of the QSDK 11.2 NSS firmware, you can try to build an image from my GitHub repo:

I got a brick flashing RT4230W-REV6-20210912-MasterNSS-sysupgrade.bin from the upper github link in this post. I was already running OpenWrt, but I had set it up last year and wanted to upgrade it. Came here remembering stuff being kinda unofficial before. In hindsight I should've probably used the new snapshot images. I flashed the image via LuCI. The sha256sum seemed fine. Could never get back to the web UI or ssh in. The router might be in a bootloop. It seemed like a computer connected to it would connect and then disconnect from the internet repeatedly, and the LED would switch between being blue or red. I tried holding in the reset button and it didn't do much of anything as far as I could tell.
I took it apart down to the PCB in case a serial connection could save it, but I've never made my own serial cable for a router before, so I've stopped here for now. I didn't even realize when flashing that this was a seemingly special build to get NSS working. (I'm not even quite sure what NSS is)
If anyone has tips or comments or anything, please let me know.

Do the lights on the ethernet ports turn on and off over and over again or do they turn on once and stay off? Also how does the light on the front behave?

Just hooked it back up. I get a solid red light in the front for a while but it eventually goes off and then comes back. I get solid green and flashing yellow ethernet lights in the used ports, then after a bit every ethernet light flashes and then they all go dark. This might be it rebooting.

edit: after leaving it on a while, the front red light is flashing rapidly instead of staying solid.

sounds like it's in failsafe mode. try sshing into it

1 Like

I can't remember if I tried ssh while it was like that. I've been periodically trying ssh/telnet/ping/loading the address in a browser. It's not in that state anymore. I may have reset it worrying it was in a bad state. Do you know how I can manually get back to failsafe mode? I don't know what did it before. I've tried stuff like holding the reset button for a while or unplugging power and plugging it back in.
I wasn't even getting a red light now this morning until I just pushed the LED cable in tighter, it seems it was loose. Could that have caused the flashing?
I saw a blue light for the first time in a while now. It seems to have gone from blue to red back to blue with the blue flashing, but then it's not too long before it's red again. Some sort of short loop. Still can't ssh in.
On the computer it tries to identify the ethernet network and connects briefly before saying the cable was unplugged.

Does anyone have tips for hooking up to the serial port on this router? I have the port already there on my board, but I don't know what to hook up to it. It seems there's 2mm between pins, and my dupont cables are 2.54mm. I have to take off the plastic ends to make it fit, and I'm worried it'll short when powered on because the metal ends are basically touching. I can barely fit paper between them as shielding and that felt kinda iffy still.

I didn't want to solder stuff to the pins and ruin the nice port. Just not sure what I can order that would fit. Is it a JST connector of some sort? Someone I talked to said it reminded them of a lipo battery balance charging cable.

While 2mm spacing is less common, fitting connectors are still easy to get - in the worst case butcher together a 2mm spacing connector on one side and 2.54mm dupont connectors on the other.

If you have any old electronics lying around, try tearing them open and see if you can find a fitting connector. That's how I got the one for my router. One with only three pins will work just fine since you only need TX, RX, GND

One of mine was like that. Initially, I managed to temporarily use the 2.54mm connectors with only one of the plastic ends removed, only connecting TX, RX, and GND. But for a more permanent solution, I used this.

https://www.aliexpress.com/item/32872192805.html

To use it, I gently pried off the plastic leaving just the pins. The result worked very well. I just ran the other end into the top and left it for easy console access.

1 Like

Thanks for the link! Ordered.

I've got my FT232H hooked up now. I used heatshrink around the ends of the dupont cables where I took the plastic bits off, and I'm pretty sure it's all in.
I ran screen /dev/ttyUSB0 115200 and I'm not seeing anything. Anyone have advice? I haven't done anything like this before, so not sure if the baud rate is wrong or something else. I've got the router plugged into its AC adapter and turned on. I'm hooked into RX/TX/GND only.
The computer I'm using is a Pinebook Pro running postmarketOS (based on Alpine).

Are you sure you have the connections right? Remember that

TX -> RX
RX -> TX

That was the problem! I didn't know / wasn't thinking about that. Swapped the cables and started it up. I see stuff now. It said press f to enter failsafe mode, and I got into a shell. What should I do now?

Try running firstboot -y to completely reset all the settings and just see if that fixes it

Here's my output, not sure if I should reboot or if I need to try something (like mounting the mentioned thing) first.

root@(none):/# firstboot -y
[  715.321075] jffs2reset: /dev/ubi0_2 is not mounted
[  715.321201] jffs2reset: /dev/ubi0_2 will be erased on next mount

Oh yeah just reboot now