Skip to content

rt-thread/ch32v307 NOT have ethernet connection AND RT-Thread terminal NOT have ifconfig command #6368

@neuberfran

Description

@neuberfran

https://blog.csdn.net/bonson2004/article/details/122040352

I've been having success with the video tutorial above for two weeks now.

I enable UART1 to UART8. In ifconfig part I can see (using ifconfg e0 Not ifconfig Only egual tutorial) 192.168.1.30, etc, etc...But I can't ping to 192.168.1.2. I don't know why.

Evidently, I already tried with router, with switch And with crossover ethernet cable.

Why I don't have ifconfig command egual tutorial ?

How can i get ethernet/internet connection on ch32v307 board?

Link about photos of this issue:
https://drive.google.com/drive/folders/17KWvUCj2QosKkptQX4EfXS4R8O_JFvvH


ifconfig command Only Work's with all arguments:

msh />ifconfig e0
bad parameter! e.g: ifconfig e0 192.168.1.30 192.168.1.1 255.255.255.0

all arguments:
==============
msh />ifconfig e0 192.168.1.30 192.168.1.1 255.255.255.0
config : e0
IP addr: 192.168.1.30
Gateway: 192.168.1.1
netmask: 255.255.255.0
bad network interface device name(e0).

My project with issue in GitHub:
https://github.com/neuberfran/rtthread2/blob/main/applications/main.c

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