fdcavalcanti commented on issue #17736: URL: https://github.com/apache/nuttx/issues/17736#issuecomment-3699240210
> [@fdcavalcanti](https://github.com/fdcavalcanti) thank you for reproducing the issue, in fact this board config is missing DHCP support: > > ``` > @@ -49,6 +49,9 @@ > CONFIG_NETDEV_PHY_IOCTL=y > CONFIG_NETDEV_WIRELESS_IOCTL=y > CONFIG_NETDEV_WORK_THREAD=y > +CONFIG_NETINIT_DHCPC=y > +CONFIG_NETINIT_WAPI_PASSPHRASE="MyPass" > +CONFIG_NETINIT_WAPI_SSID="MyRouter" > CONFIG_NETUTILS_CJSON=y > CONFIG_NETUTILS_IPERF=y > CONFIG_NET_BROADCAST=y > ``` > > It fixed the issue: > > ``` > nsh> ifconfig > wlan0 Link encap:Ethernet HWaddr 08:b6:1f:ed:54:48 at RUNNING mtu 1500 > inet addr:192.168.1.13 DRaddr:192.168.1.1 Mask:255.255.255.0 > > > nsh> ping 8.8.8.8 > PING 8.8.8.8 56 bytes of data > 56 bytes from 8.8.8.8: icmp_seq=0 time=20.0 ms > 56 bytes from 8.8.8.8: icmp_seq=1 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=2 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=3 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=4 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=5 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=6 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=7 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=8 time=10.0 ms > 56 bytes from 8.8.8.8: icmp_seq=9 time=10.0 ms > 10 packets transmitted, 10 received, 0% packet loss, time 10100 ms > rtt min/avg/max/mdev = 10.000/11.000/20.000/3.000 ms > ``` Hey that's great! I'll submit a PR after testing and double checking the other devices. Thank you @acassis -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
