This tutorial references skyblog andRight Forum (imlk). The OpenWrt firmware is compiled based on the QSDK project and provided by the NWrt team. This repository is for personal backup purposes only. For other specificneeds, please contact NWrt.
Important Notice: Before proceeding, make sure to back up the original firmware of yourrouter. You are solely responsible for any risks or damages that may occurduring the flashing process.
Warning: The privilege escalation methods described below may stop working afterfirmware updates. If you fail to gain access, please check the Issues page, refer to other tutorials, or search for alternative methods. You are also welcome to open a new issue for help.
There are two main methods to gain access: SSH and Telnet.
(There is also a serial UART method that requires disassembling the router, butit is not covered in this guide.)
Log in to the router’s admin page (check the default address, username, andpassword on the router’s label).
Go to More → Diagnostics → Ping.
In the "URL or IP address" input box, enter:
$(dropbear${IFS}-p${IFS}22)
to start the dropbear SSH service.
Then run the following command to remove the root password:
$(passwd${IFS}-d${IFS}root)
You can now connect to the router using SSH:
ssh root@192.168.x.x
You should be logged in directly without being prompted for a password.
Log in to the router’s admin page (address, username, and password are on therouter’s label).
Go to More → Diagnostics → Ping.
Run the following command to remove the root password:
$(passwd${IFS}-d${IFS}root)
Log back into the admin page using:
Username: superadmin
Password: 83583000
Go to Management → System Settings and enable Telnet.
The Telnet port number is 4719. Connect using:
telnet 192.168.10.1 4719
Username: root
Password: (leave empty)
On your PC, open WinSCP.
Create a new site:
SCProotUpload the following files from the uboot folder to the router’s /tmpdirectory:
nwrt_rax3000qy_uboot.mbnnwrt_rax3000qy_mibib.binIn the router terminal, execute the following commands:
mtd write /tmp/nwrt_rax3000qy_uboot.mbn /dev/mtd11
mtd write /tmp/nwrt_rax3000qy_mibib.bin /dev/mtd1
The U-Boot flashing process is now complete. You may disconnect the power.
On your computer, set the network interface to a static IP:
192.168.1.2255.255.255.0Hold down the reset button on the router, plug in the power, and releasethe reset button after 10 seconds.
In your browser, navigate to 192.168.1.1 to enter the U-Boot webinterface.
Choose any firmware from the openwrt-fw folder to flash:
passwall, but may fail to boot (unstable)passwall, can be installed manually (stable)After flashing, the router will reboot automatically. Wait patiently until itfinishes booting.
rootpassword