Skip to content

[BUG] esp32-devkitc:wifi ERROR: netlib_obtain_ipv4addr() failed #17827

@maxikrie

Description

@maxikrie

Description / Steps to reproduce the issue

Following the description, after
nsh> wapi psk wlan0 mypasswd 3
nsh> wapi essid wlan0 myssid 1
the command
nsh> renew wlan0
returns
ERROR: netlib_obtain_ipv4addr() failed

When adding the following to the configuration
CONFIG_NETINIT_DHCPC=y
CONFIG_NETINIT_WAPI_PASSPHRASE="mypasswd"
CONFIG_NETINIT_WAPI_SSID="myssid"
the board receives an IP address as expected. However, it shows the same issue after
nsh> ifdown wlan0
ifdown wlan0...OK
nsh> ifup wlan0
ifup wlan0...OK
nsh> renew wlan0
ERROR: netlib_obtain_ipv4addr() failed

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Debian 12

NuttX Version

12.12.0

Issue Architecture

[Arch: xtensa]

Issue Area

[Area: Applications]

Host information

esptool.py v4.10.0

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: xtensaIssues related to the Xtensa architectureArea: ApplicationsIssues related to ApplicationsOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions