A firmware update failure bricked my ER-X completely, it reboots immediately after startup.
Luckily there is an official manual on firmware recovery here.
Here are the steps to recover a bricked router.
Download recovery firmware of the model from the official web page, in my case ER-X v2.0.x
Set up a TFTP server, I use tftpd
on Linux, there’s plenty of tutorials on the Internet.
Installation:
1 |
|
Configuration:
1 |
|
Copy downloaded firmware image to /tmp
and rename it to something easy to type, eg. erx.img
.
Start service and test:
1 |
|
Open the case of the router, connect the TTL wire.
The pinout of ER-X (if Ethernet port on the left):
Then plug the Ethernet cable to eth0
Open TTY client and connect to the device, in my case GtkTerm and the device is in /dev/ttyUSB0
.
Start the router and the terminal should print some log. (like kernel panic T^T)
Hold down the 1
key as the router starts up to interrupt the boot process.
Input the interface IP and the file path.
Wait until the flash is over and the device automatically reboots.
After the device boot, switch the cable to eth1 - eth4 (LAN) and now the computer should be able to SSH into the router.
EOF