Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download eapol_test.c.patch (for wpa_supplicant v2.9 or earlier) and eapol_test.config from https://github.com/janetuk/eapol_test

...

Download wpa_supplicant's source at https://w1.fi/releases/wpa_supplicant-2.9.tar.gz


Unpack the libtommath distribution. Note the directory you unpacked it to. You will need it when you build eapol_test.exe

...

Code Block
languagebash
LTM_PATH=<directory where you built libtommath>

(for wpa_supplicant v2.9 or earlier) Run the patching command to fix eapol_test.c

Code Block
languagebash
patch eapol_test.c <full path to eapol_test.c.patch>

...

Building the sources

Download eapol_test.c and  (for wpa_supplicant v2.9 or earlier only) and eapol_test.config from https://github.com/janetuk/eapol_test. For the purposes of these instructions, we shall use C:\Users\Administrator\Desktop.

...

Download wpa_supplicant's source at https://w1.fi/releases/wpa_supplicant-2.9.tar.gz

Unpack the libtommath distribution. Note the directory you unpacked it to. You will need it later. For the purposes of these instructions, we shall use C:\Users\Administrator\Desktop\libtommath-1.2.0

...

This should build successfully and leave you with a library in the directory.

Copy eapol_test.config and eapol_test.c to the wpa_supplicant subdirectory.

Code Block
languagebash
cd C:\Users\Administrator\Desktop
copy eapol_test.config wpa-2.9\wpa_supplicant\.config
copy 

(for wpa_supplicant v2.9 or earlier only) Copy eapol_test.c

...

to the wpa_supplicant

...

You subdirectory. You will likely be prompted to overwrite eapol_test.c. Confirm by answering 'Y'.

Code Block
languagebash
cd C:\Users\Administrator\Desktop
copy eapol_test.c wpa-2.9\wpa_supplicant\eapol_test.c

Change to the wpa_supplicant subdirectory. 

...