← index #8923Issue #10794
Related · high · value 0.451
QUERY · ISSUE

Pi Pico W AP mode unable to set subnet

openby Rorschach742opened 2022-07-18updated 2022-07-21
bugport-rp2

Hi,
while playing with the new pi pico w with the latest nightly build i noticed that if i try to set a custom subnet ( ex: 192.168.30.0/24) with the ifconfig command it is ignored completely and the ap releases 192.168.4.0/24 addresses but is configured with the 192.168.30.0/24
immagine
immagine

As you can see if I set a custom subnet, I haven't got any error running but the address released to the client is in a different subnet

Thank you

CANDIDATE · ISSUE

network.AP_IF creates a weird AP name and unable to connect

closedby adriangalileaopened 2023-02-20updated 2023-04-16
bugport-rp2

Raspberry pi pico w
Last u2f that downloads from here
relevant sidenote: have no idea why this downloads "unstable" versions or how to download stable ones.

When doing:
`import network

ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='pico', password='123456789')
`

it creates a network called PICOXXXXX(numbers and characters) instead of "pico". I tested in 2 different devices, unable to connect to that network either, seems like creating an AP on the pico w is broken. I was able to do it on previous builds for sure.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied