[Bug 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing
Date: Sat, 17 Aug 2024 00:18:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278306 Bjoern A. Zeeb <bz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |bz@FreeBSD.org --- Comment #8 from Bjoern A. Zeeb <bz@FreeBSD.org> --- (In reply to Chris Hutchinson from comment #7) Chris: that does specify a default policy I wouldn't be comfortable with as any (rogue) AP w/o authentication will be taken if I read it right and that gets your laptop randomly on networks. bsdinstall should create a wpa_supplicant.conf on install if I am not mistaken if the wlan interface gets configured (I know for some other pre-reqs may be needed which we do not yet have); in theory if someone would finish it bsdconfig would also configure it. A user specifying WPA in rc.conf as a meta-flag will also have to provide a wpa_supplicant.conf file as otherwise it is pointless. I think we got de-railed from the actual problem; even if wpa_sipplicant does not start the configuration of the wlan interface should continue and be brought UP. Gleb: I wonder if it is actually the error of wpa_supplicant not starting or the fact that only meta keywords (WPA DHCP) were given. I wonder what happens if a use would say: ifconfig_wlan0="up WPA DHCP" That may likely suffice the original request that the interface be brought up so that scan results are usefully available? -- You are receiving this mail because: You are on the CC list for the bug.