Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
I followed the guide to do the test with esp32s3, and the log is as following, it looks the usb is found, but it can not ping the ip address, I have tested to ping different ip addresses, it is the same issue.
I (835) app_init: Application information:
I (838) app_init: Project name: usb_rndis_4g_module
I (844) app_init: App version: 40e383f
I (849) app_init: Compile time: May 20 2025 10:49:46
I (855) app_init: ELF file SHA256: 78e867368...
I (860) app_init: ESP-IDF: v5.3.2-dirty
I (866) efuse_init: Min chip rev: v0.0
I (870) efuse_init: Max chip rev: v0.99
I (875) efuse_init: Chip rev: v0.2
I (880) heap_init: Initializing. RAM available for dynamic allocation:
I (887) heap_init: At 3FCA6598 len 00043178 (268 KiB): RAM
I (894) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (900) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (906) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (912) esp_psram: Adding pool of 6901K of PSRAM memory to heap allocator
I (920) spi_flash: detected chip: generic
I (924) spi_flash: flash io: qio
W (928) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (941) sleep: Configure to isolate all GPIO pins in sleep state
I (948) sleep: Enable automatic switching of GPIO sleep configuration
I (955) main_task: Started on CPU0
I (962) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (968) main_task: Calling app_main()
I (972) gpio: GPIO[12]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (981) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (991) ch423: ch423_init success
I (995) RNDIS_4G_MODULE: gpio ext module is turned on
I (1000) RNDIS_4G_MODULE: 4g module is powered on
I (11006) USBH_CDC: iot usbh cdc version: 1.1.0
I (11036) usbh_rndis: IOT USBH RNDIS Version: 0.1.0
I (11036) iot_eth: IoT ETH Version: 0.1.0
I (11037) usbh_rndis: USB RNDIS network interface init success
I (11042) iot_eth.netif_glue: 00:00:00:00:00:00
I (11047) iot_eth.netif_glue: ethernet attached to netif
I (11418) usbh_rndis: USB RNDIS CDC new device found
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0xef
bDeviceSubClass 0x2
bDeviceProtocol 0x1
bMaxPacketSize0 64
idVendor 0x2ecc
idProduct 0x3012
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerialNumber 3
bNumConfigurations 1
*** Configuration descriptor ***
bLength 9
bDescriptorType 2
wTotalLength 196
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
bMaxPower 500mA
*** Interface Association Descriptor ***
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 0xe0
bFunctionSubClass 0x1
bFunctionProtocol 0x3
iFunction 5
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 0xe0
bInterfaceSubClass 0x1
bInterfaceProtocol 0x3
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xa
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xc EP 12 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 8
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xb EP 11 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xf EP 15 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xa EP 10 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
I (11712) usbh_rndis: RNDIS device found, VID: 11980, PID: 12306, ITF: 0
I (11720) USBH_CDC: New device connected, address: 1
I (11725) usbh_rndis: RNDIS auto detect success
Found NOTIF endpoint: 135
Found IN endpoint: 131
Found OUT endpoint: 12
I (11737) RNDIS_4G_MODULE: IOT_ETH_EVENT_START
I (11742) iot_eth.netif_glue: eth_action_handle: 0x3c0c3f24, 0x3c0972e4, 0, 0x3fcb6fec, 0x3c0c3e00
I (11752) usbh_rndis: USB RNDIS CDC notification
I (11757) usbh_rndis: MessageLength 52
I (11761) usbh_rndis: Max transfer packets: 1
I (11766) pp: pp rom version: e7ae62f
I (11766) usbh_rndis: Max transfer size: 1580
I (11771) net80211: net80211 rom version: e7ae62f
I (11780) usbh_rndis: InformationBufferLength 112
I (11781) usbh_rndis: USB RNDIS CDC notification
I (11786) usbh_rndis: rndis query OID_GEN_SUPPORTED_LIST success,oid num :28
I (11782) wifi:W (11800) usbh_rndis: Ignore rndis query iod:00010101
W (11807) usbh_rndis: Ignore rndis query iod:00010102
W (11812) usbh_rndis: Ignore rndis query iod:00010103
W (11818) usbh_rndis: Ignore rndis query iod:00010104
wifi driver task: 3fcb9e04, prio:23, stack:6656, core=0
I (11824) usbh_rndis: InformationBufferLength 4
I (11829) usbh_rndis: USB RNDIS CDC notification
I (11844) wifi:wifi firmware version: b0fd6006b
I (11844) wifi:wifi certification version: v7.0
I (11848) wifi:config NVS flash: enabled
I (11851) wifi:config nano formating: disabled
I (11856) wifi:Init data frame dynamic rx buffer num: 64
I (11861) wifi:Init static rx mgmt buffer num: 5
I (11865) wifi:Init management short buffer num: 32
I (11870) wifi:Init static tx buffer num: 16
I (11874) wifi:Init tx cache buffer num: 32
I (11877) wifi:Init static tx FG buffer num: 2
I (11882) wifi:Init static rx buffer size: 1600
I (11886) wifi:Init static rx buffer num: 16
I (11890) wifi:Init dynamic rx buffer num: 64
I (11894) usbh_rndis: USB RNDIS CDC notification
I (11899) usbh_rndis: InformationBufferLength 4
I (11899) wifi_init: rx ba win: 32
W (11904) usbh_rndis: Ignore rndis query iod:0001010a
W (11914) usbh_rndis: Ignore rndis query iod:0001010b
W (11920) usbh_rndis: Ignore rndis query iod:0001010c
W (11926) usbh_rndis: Ignore rndis query iod:0001010d
W (11931) usbh_rndis: Ignore rndis query iod:00010116
W (11937) usbh_rndis: Ignore rndis query iod:0001010e
I (11943) wifi_init: accept mbox: 6
I (11943) usbh_rndis: InformationBufferLength 4
I (11952) wifi_init: tcpip mbox: 64
I (11953) usbh_rndis: InformationBufferLength 4
I (11957) usbh_rndis: USB RNDIS CDC notification
I (11967) wifi_init: udp mbox: 64
I (11967) usbh_rndis: InformationBufferLength 4
W (11976) usbh_rndis: Ignore rndis query iod:00020101
W (11982) usbh_rndis: Ignore rndis query iod:00020102
W (11988) usbh_rndis: Ignore rndis query iod:00020103
W (11993) usbh_rndis: Ignore rndis query iod:00020104
W (11999) usbh_rndis: Ignore rndis query iod:00020105
I (11973) usbh_rndis: USB RNDIS CDC notification
I (12010) wifi_init: tcp mbox: 64
I (12010) usbh_rndis: InformationBufferLength 6
I (12019) wifi_init: tcp tx win: 65535
I (12020) usbh_rndis: InformationBufferLength 6
W (12029) usbh_rndis: Ignore rndis query iod:01010103
W (12035) usbh_rndis: Ignore rndis query iod:01010105
I (12021) usbh_rndis: USB RNDIS CDC notification
I (12046) wifi_init: tcp rx win: 65535
I (12046) usbh_rndis: InformationBufferLength 4
W (12055) usbh_rndis: Ignore rndis query iod:01020101
W (12061) usbh_rndis: Ignore rndis query iod:01020102
W (12067) usbh_rndis: Ignore rndis query iod:01020103
I (12053) usbh_rndis: USB RNDIS CDC notification
I (12078) wifi_init: tcp mss: 1440
I (12078) usbh_rndis: resp->Status: 0
I (12086) usbh_rndis: rndis set OID_GEN_CURRENT_PACKET_FILTER success
I (12085) usbh_rndis: USB RNDIS CDC notification
I (12099) wifi_init: WiFi/LWIP prefer SPIRAM
I (12099) usbh_rndis: resp->Status: 0
I (12108) usbh_rndis: rndis set OID_802_3_MULTICAST_LIST success
I (12115) iot_eth: usb_rndis: MAC address: AC:0C:29:A3:9B:6D
I (12121) usbh_rndis: RNDIS connected success
I (12126) RNDIS_4G_MODULE: IOT_ETH_EVENT_CONNECTED
I (12131) iot_eth.netif_glue: eth_action_handle: 0x3c0c3f24, 0x3c0972e4, 2, 0x3fcba3e4, 0x3c0c3e00
I (12101) usbh_rndis: USB RNDIS CDC notification
I (12146) wifi_init: WiFi IRAM OP enabled
I (12151) wifi_init: WiFi RX IRAM OP enabled
I (12157) camera wifi: wifi_init_softap finished.SSID:ESP-RNDIS-4G password:
I (12164) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
I (12199) wifi:mode : softAP (a0:85:e3:e6:5c:b5)
I (12200) wifi:Total power save buffer number: 8
I (12200) wifi:Init max length of beacon: 752/752
I (12201) wifi:Init max length of beacon: 752/752
I (12206) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (13141) iot_eth.netif_glue: Ethernet Got IP Address
I (13141) iot_eth.netif_glue: ~~~~~~~~~~~
I (13141) iot_eth.netif_glue: ETHIP:192.168.0.100
I (13145) iot_eth.netif_glue: ETHMASK:255.255.255.0
I (13151) iot_eth.netif_glue: ETHGW:192.168.0.1
I (13156) iot_eth.netif_glue: ~~~~~~~~~~~
W (14216) RNDIS_4G_MODULE: From 139.196.106.200 icmp_seq=1 timeout
W (19216) RNDIS_4G_MODULE: From 139.196.106.200 icmp_seq=1 timeout