No DHCP in WIFI_AP mode? #1747
-
I'm trying to work out if the problem is in my code or in the library support. There seems to be no DHCP when running the wifi in access point mode, even when using one of the provided examples such as the captive portal. Have I missed something obvious? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
DHCP should definitely be running. What exactly do you mean by no DCHP? That you never get and IP address when you associate with it, or that you can't look up other connected devices' addresses? Fort that you'd need to use MDNS or something, the AP doesn't have it's own DNS server unless you make it using the DNSServer class. |
Beta Was this translation helpful? Give feedback.
-
What I am observing is that after approximately 10 seconds my computer
abandons the attempt to get an address via DHCP and self-assigns and
address in the 169.254 range. I am not using DNS or other mdns style
options, only trying to get connectivity via a computer and the Pico
directly via IP.
…On Tue, Oct 3, 2023, 8:37 AM Earle F. Philhower, III < ***@***.***> wrote:
DHCP should definitely be running.
What exactly do you mean by no DCHP? That you never get and IP address
when you associate with it, or that you can't look up other connected
devices' addresses? Fort that you'd need to use MDNS or something, the AP
doesn't have it's own DNS server unless you make it using the DNSServer
class.
—
Reply to this email directly, view it on GitHub
<#1747 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARW3FR73XM7ODUMJZQWHCDX5QIKTAVCNFSM6AAAAAA5QMPXACVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TCNZVHEYTK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
Yeah this is for sure a problem at my end. Changing the wireless configuration on my laptop from using wpa_supplicant+dhcpcd to just iwd makes everything happy.