When I attempt to use DHCP on hotel Wi-Fis, I get errors like this: dhclient[2433]: send_packet: No buffer space available The nature of the issue is that, while I can connect to the open Wi-Fi just fine, wpa_supplicant is successful, I am unable to get a DHCP lease. I cannot get a DHCP lease on both the built-in dhclient and dhcpcd from ports. This is happening on a HP Spectre x360 14-ea0023dx running 14-CURRENT 9ad210c1593. This happens on the built-in Intel AX201, and both Realtek and Ralink dongles. In the past, open hotel Wi-Fi has worked fine on FreeBSD. Also, home Wi-Fi (WPA2, both Netgear Orbi and Huawei) and my Android phone (both Pixel and OnePlus) as a hotspot/repeater works fine. The hotels are in many parts of the US: Portland, Salt Lake City, Austin, Provo, and small towns, etc, and with many different managers/brands/franchises.
I did some more testing, and it seems to be a wpa_supplicant issue with key_mgmt=NONE. Using ssid=XXXX in /etc/rc.conf works fine for unencrypted networks.
Can you list the entry for the hotel in your wpa_supplicant.conf. Or, the default entry it's using, please.
I am unable to reproduce the problem here: lippy# ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether NNNNNNNNNNNN inet6 fe80::XXXXXXXX%wlan0 prefixlen 64 scopeid 0x3 groups: wlan ssid dlink channel 1 (2412 MHz 11g) bssid BBBBBBBBBBBBB regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 10 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwn0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> slippy# network={ disabled=0 priority=100 key_mgmt=NONE } Setting up my main wireless N for open access I can also connect: wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether NNNNNNNNNNNNNNn inet6 fe80::XXXXXXXXXXX%wlan0 prefixlen 64 scopeid 0x3 groups: wlan ssid SSSSSS channel 9 (2452 MHz 11g ht/20) bssid BBBBBBBBBBBBBBBBBB regdomain FCC country US authmode WPA privacy MIXED deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi -stbc -ldpc -uapsd wme roaming MANUAL parent interface: iwn0 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> And bonous, I've been able to connect to a neighbour's open network too. wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether NNNNNNNNNNNNNNNNN inet6 fe80::XXXXXXXXXXXXX%wlan0 prefixlen 64 scopeid 0x3 groups: wlan ssid WiFi_OBDII channel 1 (2412 MHz 11g) bssid BBBBBBBBBBBB regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 10 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwn0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> Can you post the relevant bits of your wpa_supplicant.conf (or email me directly)?
Can you also list uname -a, please,specifically the git hash.
Is this still a problem?
I think I may be experiencing the same thing. I can connect to secured networks just fine, but at some coffee shops with unsecured networks I noticed that dhclient doesn't receive any DHCP offers. I have a ThinkPad T490 running the 13-STABLE branch of HardenedBSD. The NIC is a Intel Wireless-AC 9560. $ uname -a FreeBSD hhhhhhhh 13.1-PRERELEASE-HBSD FreeBSD 13.1-PRERELEASE-HBSD #0 : Sat Mar 5 21:24:23 UTC 2022 root@ci-12.md.hardenedbsd.lan:/usr/obj/usr/src/amd64.amd64/sys/HARDENEDBSD amd64 $ cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="my-home-network-ssid" key_mgmt=WPA-PSK proto=RSN psk="xxxxxxxx" } network={ ssid="my-phone's-access-point-ssid" key_mgmt=WPA-PSK proto=RSN psk="xxxxxxxx" } network={ ssid="SSSSSS" key_mgmt=NONE } $ ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether NN:NN:NN:NN:NN:NN inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ssid "SSSSSS" channel 9 (2452 MHz 11g) bssid BB:BB:BB:BB:BB:BB regdomain FCC country US authmode WPA privacy MIXED deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwm0 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> groups: wlan media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated $ sysrc -a | grep wlan0 create_args_wlan0: country US regdomain FCC if_config_wlan0: WPA DHCP wlans_iwm0: wlan0
This may be related to PR/263266. The patch was committed today. Can you try it now, please.