Posts: 13,403
Threads: 304
Joined: Mar 2018
Reputation:
543
It looks like the wpa_passphrase utility hangs waiting for input if special characters for example back-quotes are not escaped. Same for embedded double quotes because moOde's use of the utility encloses the SSID and password in double quotes to cover embedded spaces and single quotes.
wpa_passphrase "SSID" "PASSWORD"
There is prolly a PHP function to perform escaping on the strings.
Posts: 24
Threads: 7
Joined: Jun 2018
Reputation:
1
10-09-2019, 01:40 PM
(This post was last modified: 10-09-2019, 01:41 PM by blarg.)
...wondering if there’s a way to inject escape characters into the SSID field in wpa_passphrase or the Moode GUI to prevent this...
Sort of like abc\’def for SSID abc’def. I guess it depends on how the input is parsed.
I’ll give it a shot when I have some time.
Posts: 22
Threads: 5
Joined: Jun 2018
Reputation:
0
I have a similar problem.
Regardless of what is saved for the SSID name in the setup screen, when I run the command
Code:
wpa_passphrase SSID password
The result is always similar to:
Network={
ssid="SSID"
#psk="password"
psk=2f6a0beddf2f0588ee426b0c3a0e3d9a523bb07a05cb857f85d826da80fa75c4
}
ssid always =SSID
Suggestions please
If it ain't broke fix it until it is.
Posts: 22
Threads: 5
Joined: Jun 2018
Reputation:
0
Sorry, I should have said SSID does not have strange characters just Barney and that is retained correctly in the setup screen
If it ain't broke fix it until it is.