添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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 192.168.1.1 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!

    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
                  

    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 '127.0.0.1'
            option netmask '255.0.0.0'
    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 '192.168.1.1'
            option netmask '255.255.255.0'
            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.

    goldmund:

    you reminded me that I had previously used this router as an access point and removed things such as dhcp.

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

    goldmund:

    I thought that the hard reset puts everything back to its original state, for example enables dhcp...