Skip to content

Wired ethernet not working unless USB2 port connected to a computer (TZ-2301) #165

@wanthalf

Description

@wanthalf

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I expect the OTBR to run with the wired ethernet connection when it is connected just to a power source.

Actual behavior (suspected bug)

The version 1.3 (using ESP-IDF 5.5.2) only connects to the wired ethernet network if the ESP32-S3 USB2 port is connected to a computer (or other device supporting serial connection such as a router). Otherwise (e.g. if connected to a USB charger or if connected via the ESP32-H2 USB1 port) it remains unreachable (IPv4 address should be assigned by DHCP, but remains unreachable both by PING and HTTP).

Before upgrading to 1.3/5.5.2 today, I tested with version 1.1/5.4 where it worked, but only for a limited time. After an hour or two, the OTBR also stopped responding to PING and HTTP, even when connected to a computer. Even a constantly open serial connection in a console froze. But reopening the serial connection revived (woke up) the ethernet connection without any actual reset as well.

Is it a bug or a result of some configuration option? I only configured the wired ethernet adaptor (SPI) and enabled the Web interface and autostart, as suggested in the documentation. (With the version 1.3, I also changed the preference for IPv6 from Local-Link to Global IPv6, despite I don't have a global IPv6 prefix configured at the moment yet.) All other options should be at their default values.

Error logs or terminal output

Steps to reproduce the behavior

  1. Install the "example/basic thread border router" according to https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html and https://www.matteralpha.com/how-to/how-to-build-a-thread-1-4-border-router as described above.
  2. Connect to wired ethernet and to a power source - charger or a computer by one of the USB ports with the consequences as described above.

Project release version

v1.3

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

MacOS

Operating system version

Sequoia (platform used for compilation)

Shell

ZSH

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions