You are not logged in.
Hello to all. Just installed Arch on my older Toshiba laptop. I'm getting an error when trying to setup the WPA passphrase via the command
wpa_passphrase <ssid> <passphrase> > /etc/wpa_supplicant.conf
-bash: !": event not found. I believe that the cause of the issue is that there is an exclamation point in the passphrase. The passphrase is similar to @123456! I'm not sure how to get around this. Any thoughts?
Last edited by Glennzo (2011-12-20 09:36:03)
Glenn
Powered by Arch Linux
Offline
Hello to all. Just installed Arch on my older Toshiba laptop. I'm getting an error when trying to setup the WPA passphrase via the command
wpa_passphrase <ssid> <passphrase> > /etc/wpa_supplicant.conf -bash: !": event not found.I believe that the cause of the issue is that there is an exclamation point in the passphrase. The passphrase is similar to @123456! I'm not sure how to get around this. Any thoughts?
What about if you enclose your arguments in single quotes?
For example, suppose your ssid is MYNAMEIS_SID and your passphrase is ILOVEPOPCORN!!, tell us what happens if you use,
wpa_passphrase MYNAMEIS_SID 'ILOVEPOPCORN!!' > /etc/wpa_supplicant.confOffline
i had similar issue.but then i changed the passphrase.
for more help
https://wiki.archlinux.org/index.php/Netcfg
Last edited by hadrons123 (2011-12-20 09:32:50)
Offline
Thank you so much /dev/zero! That worked perfectly.
Glenn
Powered by Arch Linux
Offline
Thank you so much /dev/zero! That worked perfectly.
Hey, sweet, glad to hear it :-) Don't forget to add a [SOLVED] to the title ... ;-)
Offline
i had similar issue.but then i changed the passphrase.
.
netcfg configurations are valid Bash scripts. Any configuration involving special characters such as $ or \ needs to be quoted correctly otherwise it will be interpreted by Bash. To avoid interpretation, use single quotes or backslash escape characters where appropriate.
Thought about doing that but then the rest of the family would be wondering why they can no longer connect to the wireless.
Glenn
Powered by Arch Linux
Offline