Cant access to OpenWrt due bad Gateway Config

Hi, I have a TP-Link TL-WR741ND with OpenWrt installed.
My IP to access LuCI is 10.0.0.1
I was trying to config a Gateway for an interface using Lucy but accidentally I set the gateway ip to the same ip to access via LuCi (10.0.0.1). So now I cant access to the WebUI nor via SSH using PuTTY (it throws a timeout).
How can I reset my router config or revert the changes I did?

https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset

2 Likes

If you changed the gateway in Luci, there is a timeout to keep the changes. If there is no response from the host, that you were configuring it within 30 seconds after you hit Apply, it will revert back to the previous working configuration. I just hope you didn't press Apply unchecked afterwards.

1 Like

I think it's odd that setting the gateway to one of the router's IP addresses disrupts the communication with the local networks. Are you sure you didn't make other changes as well?

2 Likes

I actually did a lot of changes, but nothing very strange, just tryng to add 2 wifi interfaces (one as client and the other as access point), just before configuring the AP interface gateway to 10.0.0.1 it was working fine (connected to wifi as cliend and served internet for LAN, but not working as repeater with the second wifi network)

hope is lost then

Have you tried failsafe mode?

https://openwrt.org/toh/tp-link/tl-wr741nd#failsafe_mode

1 Like