The manual page describes use of parameters that were removed in 2008. base df0c787c3ece1d65fd6fef34aa8f56da557b5ac0 (2022-01-17) included: 2008-02-22 - v0.6.3 * removed 'nai' and 'eappsk' network configuration variables that were previously used for configuring user identity and key for EAP-PSK, EAP-PAX, EAP-SAKE, and EAP-GPSK. 'identity' field is now used as the replacement for 'nai' (if old configuration used a separate 'identity' value, that would now be configured as 'anonymous_identity'). 'password' field is now used as the replacement for 'eappsk' (it can also be set using hexstring to present random binary data) Whether the page is outdated in other ways, I don't know. The two parameters above were identified in ports bug 284095 comment 2. ---- <https://man.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5&manpath=freebsd-release#NETWORK%09BLOCKS> <https://man.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5&manpath=freebsd-current#NETWORK%09BLOCKS>
Thanks for opening this PR, Graham. It looks like the parameter "server_nai" was also removed, in fact as long ago as back in 2005 !! 2005-09-25 - v0.4.5 ... * updated EAP-PSK to use draft 9 by default since this can now be tested with hostapd; removed support for draft 3, including server_nai configuration option from network blocks ...
Updated wpa_supplicant.conf(5): https://reviews.freebsd.org/D49010
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c5ee920c3f35c5f0f485a7a274d87ebd91469892 commit c5ee920c3f35c5f0f485a7a274d87ebd91469892 Author: Felix Johnson <fjohnson@felix-johnson.com> AuthorDate: 2026-02-05 15:46:49 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-02-05 15:46:53 +0000 wpa_supplicant.conf.5: Remove removed variables 2005-09-25 - wpa_supplicant v0.4.5 removed "server_nai" 2008-02-22 - wpa_supplicant v0.6.3 removed "eappsk" and "nai" PR: 284126 MFC after: 3 days Reviewed by: carlavilla, ziaee Reported by: J.R. Oldroyd <fbsd@opal.com> Differential Revision: https://reviews.freebsd.org/D49010 usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=867ef0cf9e02b1e11be3f1a9b6f0b9d266f9fae0 commit 867ef0cf9e02b1e11be3f1a9b6f0b9d266f9fae0 Author: Felix Johnson <fjohnson@felix-johnson.com> AuthorDate: 2026-02-05 15:46:49 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-02-12 05:04:43 +0000 wpa_supplicant.conf.5: Remove removed variables 2005-09-25 - wpa_supplicant v0.4.5 removed "server_nai" 2008-02-22 - wpa_supplicant v0.6.3 removed "eappsk" and "nai" PR: 284126 MFC after: 3 days Reviewed by: carlavilla, ziaee Reported by: J.R. Oldroyd <fbsd@opal.com> Differential Revision: https://reviews.freebsd.org/D49010 (cherry picked from commit c5ee920c3f35c5f0f485a7a274d87ebd91469892) usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 | 6 ------ 1 file changed, 6 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a5ab42a46c803c5ec6404d0073cd93a3d362802d commit a5ab42a46c803c5ec6404d0073cd93a3d362802d Author: Felix Johnson <fjohnson@felix-johnson.com> AuthorDate: 2026-02-05 15:46:49 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-02-12 05:12:32 +0000 wpa_supplicant.conf.5: Remove removed variables 2005-09-25 - wpa_supplicant v0.4.5 removed "server_nai" 2008-02-22 - wpa_supplicant v0.6.3 removed "eappsk" and "nai" PR: 284126 MFC after: 3 days Reviewed by: carlavilla, ziaee Reported by: J.R. Oldroyd <fbsd@opal.com> Differential Revision: https://reviews.freebsd.org/D49010 (cherry picked from commit c5ee920c3f35c5f0f485a7a274d87ebd91469892) usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 | 6 ------ 1 file changed, 6 deletions(-)