← index #8923Issue #10397
Off-topic · high · value 1.140
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

Pi Pico W WLAN set hostname in STA

closedby alexphobbyopened 2023-01-02updated 2025-08-22

Please help, cannot set hostrname in Pi Pico W
firmware:
MicroPython v1.19.1-782-g699477d12 on 2022-12-20; Raspberry Pi Pico W with RP2040

code:
wlan = network.WLAN(network.STA_IF)
wlan.config(hostname="mypicow")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unknown config param

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