[Bug 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Apr 2024 16:43:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278306

Chris Hutchinson <portmaster@bsdforge.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |portmaster@bsdforge.com

--- Comment #2 from Chris Hutchinson <portmaster@bsdforge.com> ---
I'm not arguing against anything that makes wifi easier or more
intuitive. As it can be a bit of a PITA. ;)
But as I understand it; using "WPA DHCP" includes
the wpa_supplicant(5) helper. So I think you must have to have
at a wpa_supplicant.conf(5) that contains at least:
eapol_version=2
ap_scan=1
Then it's as simple as:
ifconfig wlan0 up && ifconfig wlan0 list scan
I noticed you didn't include "list" in your command.

This is how I understand it, anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.