Pole Route 2 flashing to openwrt firmware

1. With the closure of Hiwifi plug-in app.hiwifi.com, Hiwifi now wants to activate root privileges and flash other firmware becomes very troublesome. Recently, JiRoute 2 at home found that the network seemed to have problems often, and I didn’t know if it was a firmware problem, so I thought about flashing the firmware;

Model: Extreme Route 2

Product: HC5761

2. Many netizens who brush the system are probably stuck in the first step, which is to open SSH, because many on the Internet say that the way to enter the official plug-in is no longer feasible (Method 1: as follows)

After applying for developer mode, you can connect via ssh. but. . This method is now invalid.

Method 2: Make sure that the router can connect to the Internet

Enter www.hiwifi,wtf

Get local_token (you need to pay attention to the window to get local_token, don’t close it because you will need to enter cloud_token later)

Get uuid

Then submit, there will be the following cloud_token if successful

Prompt success: ssh port is 22 is complete. If it doesn’t work, repeat the above steps, the UUID will generally not change, and re-obtain the local token and cloud_token until port 22 is successfully opened (this method will fail after restarting and re-operate)

3. Download Uboot and openwrt packages to be used

I provide 5761 model here, other models can go to the Internet to search

uboot:

Link: https://pan.baidu.com/s/1RcXJj1U9C296PUuJIuXCTw 
Extraction code: mk61 is 
invalid, please contact

Others can go here to download

http://rssn.cn/roms/uboot/

openwrt:

Link: https://pan.baidu.com/s/1Wd27Qwjk3jwwbjdtGoE3xw 
Extraction code: lf03 is 
invalid, please reply to contact

After downloading, save it locally.

4. Use xshell and other tools to connect to port 22 of the router

Use winscp to put the two files HC5761-uboot.bin and openwrt-ramips-mt7620-hiwifi_hc5761-squashfs-sysu.bin obtained above under the /tmp of Jiroute (other directories are not big enough)

Log in as root

ssh [email protected] (assuming your router management address is 192.168.1.1)

Enter password (administrative password)

After entering, execute the following command:

#cd /tmp
#mtd write HC5761-uboot.bin u-boot
#sysupgrade -F -n openwrt-ramips-mt7620-hiwifi_hc5761-squashfs-sysu.bin

The above command is to flash uboot and the following is to wait for the router to restart after the openwrt flashing is completed, remember not to cut off the power in the middle. otherwise. . . The consequences could be disastrous. (Brick)

5. After the brushing is completed, the router is reset to 192.168.1.1. The login account password is admin/password. After entering, you can modify the login password. as follows:

Modify the administrator password here

6. Other functions:

Set the dialing method:

Click edit

Set router DHCP network segment

Modify here

 

 

Guess you like

Origin blog.csdn.net/zetion_3/article/details/114441404