Skip to content

Telnet 服务器检测到link down或down,将console、finsh重置为RT_CONSOLE_DEVICE_NAME #109

@wzd5230

Description

@wzd5230

对于使用以太网的设备,将console、finsh重定向到telnet虚拟的设备,方便远程调试。但是设备所在网络可能因为断电、网线不好或其他原因触发link down。telnet如何检测到这类事件,并将console、finsh重置为RT_CONSOLE_DEVICE_NAME呢?
当前的代码如果拔插网线将直接导致异常重启。

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