Can't access router after reset


I've got a Dynalink DL-WRX36 router and I can access it neither via SSH nor Luci after doing a reset using the physical reset button.

I have now connected to the router via serial access and see that:

  • "netstat -tulpn" shows dropbear is active on port 22
  • "ip addr" lists as an assigned IP address and yet I can't connect to this address from another PC via LAN cable
  • when I connect the LAN cable, OpenWRT shows: "entered blocking state" followed by "entered forwarding state"

Any ideas why the router is unreachable?

Thank you!

Does your device get issued an IP via DHCP?

Are you connecting to the LAN port?

Do you get some kind of error, or what?

1 Like

Can you logon using serial ?

FYI, the OP noted:

No, "ip addr" on my PC doesn't show any IP.

Yes! And I have tried all LAN ports.


ssh: connect to host port 22: Network is unreachable
1 Like

Not what I asked though, but I guess all those commands where run from serial cli.

1 Like

Well, that's an issue, agreed?

This proves it - you don't have a valid IP issued to you client.

What is the output of the following commands:

ubus call system board
cat /etc/config/network
cat /etc/config/dhcp

My bad, I misunderstood your inquiry.

Not sure if I understand. I am "root" when I am connected using serial.

1 Like

Oh no, you reminded me that I had previously used this router as an access point and removed things such as dhcp. :scream_cat: I thought that the hard reset puts everything back to its original state, for example enables dhcp...

$ ubus call system board
        "kernel": "5.15.105",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 4",
        "model": "Dynalink DL-WRX36",
        "board_name": "dynalink,dl-wrx36",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r22506-9a62b3977f",
                "target": "ipq807x/generic",
                "description": "OpenWrt SNAPSHOT r22506-9a62b3977f"
$ cat /etc/config/network
config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr ''
        option netmask ''

config globals 'globals'
        option ula_prefix 'fd6a:28ca:702c::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr ''
        option netmask ''
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'
$ cat /etc/config/dhcp
cat: can't open '/etc/config/dhcp': No such file or directory

Ehm, I'll go and install dhcp. That's really awkward... I thought a hard reset takes care of that. Sorry!

Will get back if I need help.

1 Like

So you made a custom firmware without dnsmasq (i.e the DHCPv4 server), etc.?

Not if the [custom] firmware you flashed never had it.

:spiral_notepad: BTW - SNAPSHOTS do not include LuCI by default either.

1 Like

Thanks for your help! Router is up and running and I learnt lots in the process. :slight_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.