You are not logged in.
I am trying to encrypt my PSK in my netctl profile file. Here is what my file looks like:
Description='A simple WPA encrypted wireless connection'
Interface=wlp2s0
Connection=wireless
Security=wpa
IP=dhcp
#ESSID='x'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
#Key='x'
# Uncomment this if your ssid is hidden
#Hidden=yes
# Set a priority for automatic profile selection
#Priority=10
WPAConfigSection={
'ssid="x"'
'psk="x"'
}
Offline
And your question is? What from https://wiki.archlinux.org/index.php/Ne … _(WPA-PSK) and the follow up section is unclear?
Offline
The error is "failed to parse psk '""'".
I tried this, and it still seems to throw the same error.
When generating via wpa_passphrase, if my password has special characters, can I just surround the entire thing with single quotes?
Offline
Can someone please help me?
Offline
Can someone please help me?
When generating via wpa_passphrase, if my password has special characters, can I just surround the entire thing with single quotes?
Just use this (replace $ssid with the actual name of the access point):
wpa_passphrase '$ssid'
Then type in the password (without quotes) when prompted.
Or use wifi-menu with the -o switch to generate a profile with an obfuscated password key (as mentioned on the above linked ArchWiki page).
Para todos todo, para nosotros nada
Offline
Running wifi-menu -o only prompts for the ssid, and then quits, and no profile is generated. Nothing is outputted (ie errors).
Offline
Did you delete (or move) the old profile for that access point before running wifi-menu?
Para todos todo, para nosotros nada
Offline
Yes, I made sure to do that.
Offline
What was the exact command that you used to start wifi-menu?
Have you tried editing the profile manually with a key generated using the wpa_passphrase technique that I suggested?
Para todos todo, para nosotros nada
Offline
The profile is probably still active…
@droidus, look at the wiki V1del linked. Does the hashed psk have double quotes?
Offline
What was the exact command that you used to start wifi-menu?
Have you tried editing the profile manually with a key generated using the wpa_passphrase technique that I suggested?
wifi-menu -o
Yes.
I am getting this error message:
Line 5: Invalid passphrase length 0 (expected: 8..63) '"'.
May 09 19:52:36 hostname network[14965]: Line 5: failed to parse psk '""'.
May 09 19:52:36 hostname network[14965]: Line 7: failed to parse network block.
wpa_passphrase did not output double quotes.
I do have profile files name with the target, but not exactly the same. For example, if it's essid, the file would be called essid.orig. Would this interfere with wifi-menu?
Offline
wpa_passphrase did not output double quotes.
Yeah but the profile you posted suggests them. And so does the error message…
If wifi-menu does't ask you to provide a new key for the SSID, you either have a matching profile around or are already connected to the AP. Run "netctl stop-all" before running wifi-menu.
Offline