NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/57634: Correction Needed in wpa_supplicant.conf File for Eduroam Connection



>Number:         57634
>Category:       misc
>Synopsis:       Correction Needed in wpa_supplicant.conf File for Eduroam Connection
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 29 09:05:00 +0000 2023
>Originator:     Giuseppe
>Release:        NetBSD 9.3 on amd64
>Organization:
>Environment:
>Description:
The configuration file located at /usr/share/examples/wpa_supplicant/wpa_supplicant.conf contains an error pertaining to connecting to the Eduroam network using PEAP authentication. The error is found in the following line:

    phase2="auth=MSCHAPv2"

The correct string should be:

    phase2="auth=MSCHAPV2"

Please note the uppercase "V" in "MSCHAPV2."

For more information, please refer to the following resources:

1. [Getting WiFi Network to Work: Eduroam](https://www.unitedbsd.com/d/1155-getting-wifi-network-to-work-eduroam)
2. [Unsupported Phase2 EAP Method](https://hostap.shmoo.narkive.com/1eMmyfDf/why-unsupported-phase2-eap-method)
>How-To-Repeat:
To replicate the issue described in the bug report, follow these steps:

1. **Locate the Configuration File:**
   Access the wpa_supplicant.conf file located at `/usr/share/examples/wpa_supplicant/wpa_supplicant.conf`.

2. **Identify the Incorrect Line:**
   Look for the line in the file that contains the following string:
   ```
   phase2="auth=MSCHAPv2"
   ```

3. **Attempt to Connect to Eduroam:**
   Use the configuration file to connect to the Eduroam network using PEAP authentication with the incorrect setting.

   Depending on your system, you can use a command like `wpa_supplicant -i interface -c /usr/share/examples/wpa_supplicant/wpa_supplicant.conf` to attempt the connection, replacing "interface" with the appropriate network interface name.

4. **Observe Connection Failure:**
   During the connection attempt, the system will likely fail to connect to the Eduroam network due to the incorrect phase2 authentication method specified in the configuration file.

By following these steps, you should be able to replicate the problem and observe the connection failure caused by the incorrect setting "MSCHAPv2" instead of the correct "MSCHAPV2".
>Fix:
To fix the problem described in the bug report, follow these steps:

1. **Open the Configuration File:**
   Use a text editor to open the wpa_supplicant.conf file located at `/usr/share/examples/wpa_supplicant/wpa_supplicant.conf`.

2. **Correct the Authentication Method:**
   Locate the line containing the incorrect phase2 authentication method:
   ```plaintext
   phase2="auth=MSCHAPv2"
   ```

   Change it to the correct format with an uppercase "V":
   ```plaintext
   phase2="auth=MSCHAPV2"
   ```

3. **Save and Close the File:**
   Save the changes you made to the wpa_supplicant.conf file and close the text editor.

4. **Restart the Network Service or Reconnect to the Network:**
 



Home | Main Index | Thread Index | Old Index