Closed MrDustZero closed 10 months ago
Why are you assuming that 114.114.114.114
is pingable in principle?
@ivmarkov sorry, but I can't ping anything else, including the gateway,And tried multiple wifi ,Do I need to configure anything
I (16616) esp_idf_svc::ping: Ping timeout callback invoked I (16616) esp_idf_svc::ping: From ??? icmp_seq=1 timeout I think there's something wrong with that
Let me ask real simple: can you ping 114.114.114.114
from your own PC? From the terminal? Forget about the ESP. Ping it from your PC first!
ESP
I (11583) esp_netif_handlers: sta ip: 192.168.3.71, mask: 255.255.255.0, gw: 192.168.3.1 I (11583) wifi: Wifi DHCP info: IpInfo { ip: 192.168.3.71, subnet: Subnet { gateway: 192.168.3.1, mask: Mask(24) }, dns: Some(192.168.3.1), secondary_dns: Some(0.0.0.0) } I (11593) wifi: About to do some pings for 192.168.3.1 I (11603) esp_idf_svc::ping: About to run a summary ping 192.168.3.1 with configuration Configuration { count: 5, interval: 1s, timeout: 1s, data_size: 56, tos: 0 } I (11613) esp_idf_svc::ping: Ping session established, got handle 0x408285dc 0x408285dc - _heap_start at ??:?? I (11623) esp_idf_svc::ping: Ping session started I (11623) esp_idf_svc::ping: Waiting for the ping session to complete I (12623) esp_idf_svc::ping: Ping timeout callback invoked I (12623) esp_idf_svc::ping: From ??? icmp_seq=1 timeout I (13623) esp_idf_svc::ping: Ping timeout callback invoked I (13623) esp_idf_svc::ping: From ??? icmp_seq=2 timeout
PC
Pinging 192.168.3.1 with 32 bytes of data: Reply from 192.168.3.1: bytes=32 time=1ms TTL=64 Reply from 192.168.3.1: bytes=32 time=1ms TTL=64 Reply from 192.168.3.1: bytes=32 time=4ms TTL=64 Reply from 192.168.3.1: bytes=32 time=3ms TTL=64
Ping statistics for 192.168.3.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 4ms, Average = 2ms
@ivmarkov see this ,wifi connection complete,ping gateway
I really don't know what the problem is (ToT)
idf and rust all uninstall are installed resolve
code `
`
console
hi,esp-32-c6 After the wifi connection is complete, the ping fails,i need help thanks!