The builder tool has always been available via https - https://www.pistar.uk/wifi_builder.php and I would always suggest that the HTTPS page is used since passwords do matter.KE0FHS wrote: ↑Mon Jul 01, 2019 3:44 pmAndy, what does this mean in terms of creating a wpa_supplicant.conf file and putting it in the root directory prior to boot up? If we create our own wpa_supplicant.conf file with plain text entries, will Pi-Star add the hex conversions as part of the process of moving it to the /etc/wpa_supplicant directory? Or do we have to use the WiFi Builder tool on the Pi-Star website? If the latter, any chance you could add https to the Pi-Star website, or at least to the WiFi Builder tool?MW0MWZ wrote: ↑Mon Jul 01, 2019 11:53 am Not exactly, since I include the plain text also - this is actually a valid thing to do - the WiFi_Builder was incorrectly adding the quotation marks on the HEX version of the SSID - that is what was causing the problem, and has now been fixed up.
So WHY all the obfuscation you might ask - well because iPhones are a pain in the ass is why
Converting the SSID string to hex (thats all it is) and removing the quotes causes WPA supplicant to be able to process the weird / dumb / stupid right quote that apple insists on using in the SSID for iPhone Hotspots.
Similarly, encoding the PSK (in the same way that the wpa_passprase CLI tool does), helps with any unusual characters in the PSK.
As weird as the new look wpa_supplicant.conf files are, they do work (when I don't have quotes in the wrong place).
That aside, Pi-Star will work with the encoded or not encoded versions of the WPA_Supplicant, the software doesnt "see" the difference, so long as the format is correct, the dashboard tool for setting up WiFi on the config page will always output the new format with the pre-computed hex/salted and pre-computed PSK etc, and the file will include commented out human readable versions (leave those in place since the tool uses those to output the SSID name etc too).
As above - the reason for all this shenanigans is to enable the support of un-usual charictters in the PSK and/or the SSID.
For example here is part of one of my entries;
Code: Select all
network={
#ssid="Andrew\xe2\x80\x99s iPhone"
ssid=416e64726577e2809973206950686f6e65
To see what this is all about, some times a demo helps, with that in mind - copy the long string from my snip above, paste it in here and convert it:
http://www.unit-conversion.info/texttools/hexadecimal/