Well, I'm baffled...Grenville Grimace wrote:Tested, but sorry to report that it doesn't fix the issue.
I tried putting the relevant code into a separate script to test it -- and it worked ok.
So I tried using the wizard and setting up a WPA profile for my AP (which is open...), using your key -- and it worked fine:
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1
network={
ssid="dlink"
scan_ssid=1
#psk="fyQ~xG\a@9zvoO7a[.]lY,f%0w_`0vj3kX<@~zTYnvNBbbEpob(0s:,/>-4`4=}"
psk=68d7d703eb492c5bac50a9bf8d25e01d04052358b349ae2a985a16158eaaf914
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
}
- the GUI actually got broken by your key, when refreshing (it didn't get quoted, so the '>' broke gtkdialog).
- when saving the wpa_profile, escaped chars got interpreted... so the "\a" in your key got confused fr "alert" (a terminal beep!).
I've uploaded the updated version, please try it and see if it works ok -- I can't see why it shouldn't work otherwise... (unless it's something like the locale?)