OSDeploy / OSD

OSD Shared Functions
MIT License
132 stars 54 forks source link

Add WPA3 support #56

Closed skyblaster closed 1 year ago

skyblaster commented 1 year ago

Still needs additional work to add more modes. Basic connectivity tested with the following modes: Open WPA2-Personal WPA3-Personal WPA2/WPA3-Personal

I left the following lines in place as I'm not exactly sure of their function:

            [Parameter(Mandatory = $false, HelpMessage = "This switch will generate a WPA profile instead of WPA2")]
            [System.Management.Automation.SwitchParameter]
            $WPA = $false,
skyblaster commented 1 year ago

Many more modes are defined in this repo: https://github.com/jcwalker/WiFiProfileManagement

skyblaster commented 1 year ago

In the case of WPA3 "SAE or WPA2-PSK Mixed Mode" networks, this patch unfortunately does not work as-is. Newer chipsets that support WPA3-Personal work fine, however older hardware such as the Intel AC 8265 will not connect as they only support WPA2.

skyblaster commented 1 year ago

This patch has been updated if anyone feels like testing.

skyblaster commented 1 year ago

Here's another hack that allows one to drop an exported WiFiProfile.xml into the root of a USB flash drive and automatically connect to a preferred network: https://gist.github.com/skyblaster/d61d0137afb718e4420fad4f19baf162