EAPOL_TEST(8)
π EAPOL_TEST(8) β the manual, but make it make sense π
okay bestie, sit down, grab a strawberry π, because we're about to talk about eapol_test, which is a whole little icon in the 8 section of your man pages. yes, section 8, the "system administration" section, we love her. β¨
β¨ NAME β¨
eapol_test β EAP peer and RADIUS client testing, aka your new fave way to test EAP stuff without building an entire access point situation π
πΈ SYNOPSIS πΈ
eapol_test [ -nWS ] [ -cconfig file ] [ -aserver IP address ] [ -Aclient
IP address ] [ -pUDP port ] [ -sshared secret ] [ -rre-authentications ]
[ -ttimeout ] [ -CConnect-Info ] [ -MMAC address ] [ -ofile ] [ -Nattr
spec ]
eapol_test scard
eapol_test sim [ PIN ] [ num triplets ]
like, three whole vibes to choose from. pick your main character mode π
π¦ OVERVIEW π¦
so. eapol_test is a program that links together the same EAP peer implementation that wpa_supplicant is using and the RADIUS authentication client code from hostapd. and then β this is the fun part β it has a lil bit of minimal glue code to combine those two components in similar ways to IEEE 802.1X/EAPOL Authenticator state machines. π«Ά
translation, no cap: it integrates IEEE 802.1X Authenticator (normally, an access point) and IEEE 802.1X Supplicant (normally, a wireless client) together into one single program that can be used to test EAP methods without having to setup an access point and a wireless client. the way that just saves you a whole afternoon of hardware suffering πβ¨
the main uses for eapol_test are in interoperability testing of EAP methods against RADIUS servers, and in development testing for new EAP methods. it can be easily used to automate EAP testing for interoperability and regression, since the program can be run from shell scripts without require additional test components apart from a RADIUS server. (yes, "without require", that's the original wording, we're leaving it exactly as-is, don't look at me π)
for example, the automated EAP tests described in eap_testing.txt are implemented with eapol_test. similarly, eapol_test could be used to implement an automated regression test suite for a RADIUS authentication server. obsessed. π
as an example:
eapol_test -ctest.conf -a127.0.0.1 -p1812 -ssecret -r1
this tries to complete EAP authentication based on the network configuration from test.conf against the RADIUS server running on the local host. a re-authentication is triggered to test fast re-authentication. and the configuration file uses the same format for network blocks as wpa_supplicant. iykyk π
π COMMAND ARGUMENTS π
okay here's the full menu, every single option, nothing skipped, we do not gatekeep here:
-cconfiguration file path β a configuration to use. the configuration should use the same format for network blocks aswpa_supplicant.-aAS address β IP address of the authentication server. the default is'127.0.0.1'.-Aclient address β IP address of the client. the default is to select an address automatically. (yes, it just handles it, so chill π)-pAS port β UDP port of the authentication server. the default is'1812'.-sAS secret β shared secret with the authentication server. the default is'radius'.-rcount β number of reauthentications.-ttimeout β timeout in seconds. the default is 30.-Cinfo β RADIUS Connect-Info. the default is... literally nothing. empty. blank. a whole void. the original page just ends the sentence there and honestly, same. π-Mmac address β client MAC address (Calling-Station-Id). the default is'02:00:00:00:00:01'.-ofile β location to write out server certificate.-Nattr spec β send arbitrary attribute specific byattr_id:syntax:value, orattr_idalone.attr_idshould be the numeric ID of the attribute, and syntax should be one of's'(string), to send. whenattr_idis given alone,NULLis used as the attribute value. multiple attributes can be specified by using the option several times. stack them, bestie π§-nβ indicates that no MPPE keys are expected.-Wβ wait for a control interface monitor before starting. patience is a virtue, and also a flag π-Sβ save configuration after authentication. remember everything, periodt β
π SEE ALSO π
π LEGAL π
wpa_supplicantis copyright (c) 2003-2022, Jouni Malinen<j@w1.fi>and contributors. All Rights Reserved.
this program is licensed under the BSD license (the one with advertisement clause removed).
and that's the whole page, bestie. π
cute lil sign-off: this page is EAPOL_TEST(8) from 07 August 2019, and the source line says EAPOL_TEST(8) too β so go forth, run your EAP tests from a shell script, and absolutely slay πβ¨π₯
π¦ where this page comes from
- arch rolling: wpa_supplicant 2:2.12-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms