Skip to content

[BUG] RaspberryPi-Pico-W is not getting WiFi with Pi Pico SDK 2.0 #13828

Open
@UAV-Pilot

Description

@UAV-Pilot

Description / Steps to reproduce the issue

Except getting the latest Pi Pico SDK 2.0, the rest is the same as #7475, which is closed now.

Similar to the errors in #7475, the following errors occurred:

I set SSID and passphrase in menuconfig, and also tried to set them in nsh.

nsh> renew wlan0
ERROR: netlib_obtain_ipv4addr() failed
nsh> ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 at DOWN mtu 5nsh>
nsh>
nsh> ifup wlan0
ifup wlan0...Failed

ChatGPT suggested to set mac address:
ifconfig wlan0 hw ether XX:XX:XX:XX:XX:XX (e.g., 28:CD:C1:0A:38:9A)
but got error:
nsh: ifconfig: argument invalid

nsh> wapi show wlan0
wlan0 Configuration:
IP: 0.0.0.0
NetMask: 255.255.255.0
nsh> wapi scan wlan0
nsh> wapi scan_results wlan0
nsh> ifup wlan0
ifup wlan0...Failed

Besides this firmware issue during setup, along the way I encounter other issues as shown in comments below:

  1. When not set during menuconfig, SSID and passphrase entered manually in wapi commands disappeared after reboot
  2. ifconfig did not output ip address, etc.
  3. ifup wlan0 returned message OK which was misleading when wlan0 was not connected and not up running correctly

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Windows 11 WSL2 Ubuntu 22.04.2

NuttX Version

NuttX 12.7.0-RC0 0976258-dirty Oct 4 2024 22:58:36 arm rasp

Issue Architecture

[Arch: arm]

Issue Area

[Area: Networking]

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: NetworkingEffects networking subsystem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions