Bug 284126 - wpa_supplicant.conf(5): Network blocks: invalid parameters (network configuration variables)
Summary: wpa_supplicant.conf(5): Network blocks: invalid parameters (network configura...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alexander Ziaee
URL: https://github.com/freebsd/freebsd-sr...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 02:14 UTC by devnull
Modified: 2026-02-12 05:14 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devnull freebsd_committer freebsd_triage 2025-01-18 02:14:26 UTC
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>
Comment 1 J.R. Oldroyd 2025-01-18 05:09:46 UTC
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
        ...
Comment 2 Felix Johnson 2025-02-14 17:51:09 UTC
Updated wpa_supplicant.conf(5):

https://reviews.freebsd.org/D49010
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-02-05 15:49:04 UTC
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(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-02-12 05:07:59 UTC
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(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-02-12 05:14:02 UTC
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(-)