Recovering TP-Link OpenWrt switch

Hello everyone,

Today I’m here for showing and solving problems that I’ve faced with TP-Link/OpenWrt switch. In summary, I was trying to do some configurations by modifying scripts into the OpenWrt switch.., so of course, I’ve done wrong, that why I’m here :). To recovery my switch, it was simple.. (well, it worked for me). OpenWRT provides a failesafe mode from where you can recover any configuration mistakes. For the TP-Link TL-WR1043ND you can do this:

1 – Power up the router
2 – When SYS button starts to blink, press and hold the QSS button till SYS starts to blink faster
3 – Telnet to 192.168.1.1
4 – Or you can erase user space data with:

 mtd -r erase rootfs_data 

or you can mount the jffs2 file system with:

 mount_root 

Thereafter, you will have all of permissions to do what you need. So do it and after, restart your switch and try to access again, but in normal mode. For instance, if you were accessing from ssh 192.168.1.10 IP address before “crashing”, try it again. If everything was well, so you have recovered.

That’s all,
see ya

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s