Skip to content

Problems getting DNS IP Addresses with esp_modem 1.4.0 and esp-idf 5.5 (IDFGH-16617) #907

@FabITA1

Description

@FabITA1

Answers checklist.

  • I have read the documentation for esp-protocols components and the issue is not addressed there.
  • I have updated my esp-protocols 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

Hi,
I have an application with esp32s3 running esp-idf 5.5, esp_modem 1.4.0, pppos client in cmux mode and a Quectel modem.
I have problems getting DNS server IP Addr with some operators sim cards (Vodafone for example, but some others sim works fine).
The DNS servers have 0.0.0.0 address.
An other older application with esp_modem 1.0.0 and idf 4.4.3 runs fine with the same sim card and modem.
Here the log of the IP negotiation phase:

D (22598) esp_netif_lwip: esp_netif_start_api 0x3fcd1ee4
D (22598) esp-netif_lwip-ppp: esp_netif_start_ppp: Starting PPP connection: 0x3fcd2200
D (22598) esp-netif_lwip-ppp: ppp: Phase Start
D (22598) esp-netif_lwip-ppp: ppp: Phase Establish
D (22598) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (22598) Gest4G: Waiting for IP address
D (22608) CMUX: Payload frame: dlci:01 type:ef payload:51 available:61
D (22608) CMUX: Payload frame: dlci:01 type:ef payload:48 available:4
D (22608) CMUX: Payload frame: dlci:01 type:ef payload:44 available:46
D (22618) CMUX: Payload frame: dlci:01 type:ef payload:46 available:48
D (22618) esp-netif_lwip-ppp: ppp: Phase Authenticate
D (22618) esp-netif_lwip-ppp: ppp: Phase Network
D (22878) CMUX: Payload frame: dlci:01 type:ef payload:10 available:46
D (22878) CMUX: Payload frame: dlci:01 type:ef payload:28 available:30
D (22888) CMUX: Payload frame: dlci:01 type:ef payload:10 available:34
D (22888) CMUX: Payload frame: dlci:01 type:ef payload:16 available:18
D (22898) CMUX: Payload frame: dlci:01 type:ef payload:16 available:18
D (22898) esp_netif_lwip: esp_netif_internal_dhcpc_cb lwip-netif:0x3fcd0060
D (22898) esp_netif_lwip: check: local, if=0x3fcd1ee4 fn=0x420656a0
--- 0x420656a0: esp_netif_update_default_netif_lwip at /home/fabios/esp/v5.5/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:313
D (22898) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3fcd1ee4
D (22898) esp_netif_lwip: if0x3fcd1ee4 ip changed=1
D (22898) event: running post IP_EVENT:6 with handler 0x4201c294 and context 0x3fcd1ec4 on loop 0x3fcbb628
--- 0x4201c294: on_ip_event at /home/....._4G.c:180
D (22898) Gest4G: IP event! 6
I (22898) Gest4G: Modem Connect to PPP Server
I (22898) Gest4G: ~~~~~~~~~~~~~~
I (22898) Gest4G: IP : 10.248.22.225
I (22898) Gest4G: Netmask : 255.255.255.255
I (22898) Gest4G: Gateway : 10.64.64.64
D (22898) esp_netif_lwip: check: remote, if=0x3fcd1ee4 fn=0x420648b4
--- 0x420648b4: esp_netif_get_dns_info_api at /home/fabios/esp/v5.5/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:2117
I (22898) esp-netif_lwip-ppp: ppp: Connected
D (22898) esp-netif_lwip-ppp: ppp: Phase Running
D (22908) esp_netif_lwip: esp_netif_get_dns_info: esp_netif=0x3fcd1ee4 type=0
D (22918) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (22918) Gest4G: Name Server1: 0.0.0.0
D (22918) esp_netif_lwip: check: remote, if=0x3fcd1ee4 fn=0x420648b4
--- 0x420648b4: esp_netif_get_dns_info_api at /home/fabios/esp/v5.5/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:2117
D (22918) esp_netif_lwip: esp_netif_get_dns_info: esp_netif=0x3fcd1ee4 type=1
D (22918) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (22918) Gest4G: Name Server2: 0.0.0.0
I (22918) Gest4G: ~~~~~~~~~~~~~~
I (22918) Gest4G: GOT ip event!!!

Attached a log in verbose mode.

Log Verbose.txt

Can someboby give me some help?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions