OpenWRT: TL-MR3020 Cannot SSH or TELNET into router flashed with custom OpenWRT bin

udiboy1209

I have a TL-MR3020 that I flashed with a custom binary built from OpenWRT source.

I was trying to enable WiFi and connect to the internet on the router by editing /etc/config/network and /etc/config/wireless. I changed the IP type from 'static' to 'dhcp' for LAN. I changed 'disable' to 0 for WiFi, set the SSID, encryption to 'psk' and a valid key.

These changes I made through SSH while being connected by a LAN wire. I disconnected LAN, then tried connecting to the WiFi created and successfully did too.

After that I can't SSH/TELNET into the router to do anything else. I cannot even reset it.

Any solution for this? either a way to SSH/TELNET to access the settings, or a way to reset the settings entirely?

Edit: SSH or TELNET to 192.168.1.1 shows 'no route to host'

Rui F Ribeiro

The procedure to recover an openwrt you have lost control is to try the recover mode, as it will boot will a minimal configuration, a known IP, and depending on the version of open-wrt can be accessed via telnet or ssh.

You have here the links to the considerations of the procedure https://wiki.openwrt.org/doc/howto/generic.failsafe and a youtube video talking about it at https://www.youtube.com/watch?v=axQvgqvlhcU

Basically you reboot it, and when one of the leds is blinking in a particular pattern you press the reset or the power off button. The appliance will then boot in safe mode with the default IP address 192.168.1.1.

As we have seen in your case, it will then be enough to ssh to it as root with no password.

As for people thinking what is openWrt, it is a Linux-based open source substitute firmware for the standard image that comes with some models of routers that happen to have hardware compatible with Linux and that in some cases have placed their firmware or parts of their firmware in the domain of open source.

The firmware gives you more control, and often will also provide extra functionality. In my case, the default firmware does not allow the use of the VLAN chipset for more than the standard Internal/external network at fixed ports, whilst with openWRT the VLANs can be programmed at will, and extra functionality can be added with standard Linux software.

I will leave here a link about the differences between openWRT, dd-wrt and Tomato.

https://www.quora.com/Which-is-best-for-WiFi-routers-Tomato-DD-WRT-OpenWRT-or-something-else

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to install and configure nodogsplash on TP-LINK MR3020 with Openwrt 12.09.02

From Dev

Openwrt Curl on MR-3020

From Dev

WLAN on OpenWRT router

From Dev

When is it time to update OpenWRT on a router?

From Dev

OpenWRT on a router with Broadcom wireless chip

From Dev

OpenWRT router bash scipt issue

From Dev

How to use sshuttle on a router running openwrt?

From Dev

openwrt can ping from router but not outside

From Dev

Mirroring all router traffic (openwrt) to a snort sensor?

From Dev

Disabling NAT and DHCP on OpenWRT routed client router

From Dev

Run command on OpenWRT router via webpage

From Dev

How to bridge WAN to LAN on an OpenWRT router

From Dev

Could the installation of Openwrt firmware at AP turn it to Router

From Dev

High bufferbloat on OpenWrt LEDE router. Why?

From Dev

How to renew a client DHCP address with an OpenWrt router?

From Dev

How to connect a DSLR camera to an OpenWRT router?

From Dev

Creating an AP with OpenWRT and RPi but cannot find the SSID

From Dev

OpenWRT + SQLite

From Dev

OpenVPN on OpenWrt

From Dev

TLS Handshake resets for some web sites when using OpenWRT router

From Dev

vpn using dynamic DNS connected but no internet (openwrt router as server)

From Dev

Static route between OpenWRT router and TPLink Archer C9

From Dev

iptables on openwrt router: logging connections to a host from clients on the same subnet

From Dev

OpenWrt bricked router is not connected via USB to serial cable

From Dev

Failing to sysupgrade OpenWRT on a Linksys WRT1900ACS router

From Dev

Change DNS servers in an OpenWrt router from command line

From Dev

Transfer txt file from openwrt router to password protected ubuntu

From Dev

multicast receiver software running on openwrt router does not work

From Dev

Connecting an OpenWrt router to a “dumb” modem provided to me by my ISP

Related Related

  1. 1

    How to install and configure nodogsplash on TP-LINK MR3020 with Openwrt 12.09.02

  2. 2

    Openwrt Curl on MR-3020

  3. 3

    WLAN on OpenWRT router

  4. 4

    When is it time to update OpenWRT on a router?

  5. 5

    OpenWRT on a router with Broadcom wireless chip

  6. 6

    OpenWRT router bash scipt issue

  7. 7

    How to use sshuttle on a router running openwrt?

  8. 8

    openwrt can ping from router but not outside

  9. 9

    Mirroring all router traffic (openwrt) to a snort sensor?

  10. 10

    Disabling NAT and DHCP on OpenWRT routed client router

  11. 11

    Run command on OpenWRT router via webpage

  12. 12

    How to bridge WAN to LAN on an OpenWRT router

  13. 13

    Could the installation of Openwrt firmware at AP turn it to Router

  14. 14

    High bufferbloat on OpenWrt LEDE router. Why?

  15. 15

    How to renew a client DHCP address with an OpenWrt router?

  16. 16

    How to connect a DSLR camera to an OpenWRT router?

  17. 17

    Creating an AP with OpenWRT and RPi but cannot find the SSID

  18. 18

    OpenWRT + SQLite

  19. 19

    OpenVPN on OpenWrt

  20. 20

    TLS Handshake resets for some web sites when using OpenWRT router

  21. 21

    vpn using dynamic DNS connected but no internet (openwrt router as server)

  22. 22

    Static route between OpenWRT router and TPLink Archer C9

  23. 23

    iptables on openwrt router: logging connections to a host from clients on the same subnet

  24. 24

    OpenWrt bricked router is not connected via USB to serial cable

  25. 25

    Failing to sysupgrade OpenWRT on a Linksys WRT1900ACS router

  26. 26

    Change DNS servers in an OpenWrt router from command line

  27. 27

    Transfer txt file from openwrt router to password protected ubuntu

  28. 28

    multicast receiver software running on openwrt router does not work

  29. 29

    Connecting an OpenWrt router to a “dumb” modem provided to me by my ISP

HotTag

Archive