Ruijie RG-X60 Pro WAN Problem

yes, that was the 2nd step, if installing it manually would make the port work, didn't want to over complicate things.

go for it.

Watching this intently as I’ve coincidentally opened the case to my X60-Pro tonight and just finished soldering the headers pins for ttl.

@v4lkyr did you follow these instructions to flash openwrt? https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3de3c2bdfa6b757a1ac9fa4d9905e0d268d98e5f

Anything advice you can give to avoid some of the pitfalls you fell into?

don't do it, until @v4lkyr confirmed they got the WAN port working.

1 Like

Well I couldn't get OpenWRT firmware selector to build a custom package for me. So I just downloaded the default sysupgrade snapshot build for my device.

SNAPSHOT (r28246-ce663856fb)

I tried another fork - ImmortalWRT. It let me build custom snapshot images twice, one with luci and one with luci and kmod-rtl8821ae

SNAPSHOT (r32502-b8917e7d1c)

All three builds

  • default OpenWRT snapshot
  • ImmortalWRT snapshot with luci
  • ImmortalWRT snapshot with luci and kmod-rtl8821ae

did not recognize my WAN port.

You probably need a DTS change to enable whichever port of the SoC connects to the external PHY chip.

Look for an existing model which uses an external PHY chip and try that build.

WAX206 - Realtek RTL8221B not working in kernel 6.6 · Issue #15093 · openwrt/openwrt

Isn't this almost the same problem as mine?

Well I just built myself a very clean, bleeding edge OpenWRT from main branch, with latest commit being 1aa2695620891af

WAN port still isn't working. Is something amiss?

Any update?

Well I've fixed my solution myself, in a different way though.

Currently, OpenWRT isn't working properly on our device.

2.5G port is not working. But of course, you can assign one of the LAN ports as a WAN port and use OpenWRT like that, no problem. 24.10-rc2 works all good like that. However, I personally, would like to be able to use all the features in a device that I paid for. Gotta wait for a while for the devs to mature OpenWRT for our device and fix the 2.5G port. I am planning to do so myself too, when I have time to look at the structure of OpenWRT build system and all that. Let's see who will be faster :slight_smile:

So as my solution - I have found a fork of OpenWRT during my researches and I custom built it for myself and using it now. So far everything is all good, 2.5G port is working. Now I don't know if these two organisation are enemies of each other or not, so I don't want to break a rule here, but here's a hint - that WRT is unable to die.

Thanks @v4lkyr for doing all the hard work. Saved me going down the rabbit hole trying to get the 2.5G up and running.

Seeing how it works in a fork, it shouldn’t be impossible to get it going in OpenWRT. As you say, probably best to just wait and let it end up there in one of the releases.

In the meantime, I’m going to follow you and try the other WRT. I didn’t know it event existed, but a little searching and it was easy to find.

Thanks again!

Tested with OpenWrt 24.10.0-rc4 r28211-d55754ce0d and the problem still persists.

This problem is fixed on the main branch now, as of 6 March 2025. WAN socket (yellow one) is working all good, eth1 is online.

However, the small activity LED on the corner of the socket still not working. So don't do the same mistake like me and just look at the non-working LED and conclude the socket isn't working. :slight_smile:

Great thanks!

Purely by accident, I connected the 2.5G port to a 100MB connection and was surprised to see that the link light works. Swapping to a 1GB port and it stops working. Weird, but does mean that the link light is not completely broken, and might give some indication to the problem.

Well that's kinda understandable because the port specifically doesn't work with 1G connections. Apparently it's all good with 100M ones.

Anyway, it's working with current state of OpenWRT, just no activity LED :slight_smile: