#Special characters in iwd password

6 messages · Page 1 of 1 (latest)

torpid whale
#

I use iwd as a network manager on my Arch install, and need to enter a password containing an exclamation mark. However, when I try using iwctl to do this, it gives the error 'Operation Failed' (same error it will give if I give it a wrong, but valid password). I am sure I've entered the right password.

I have tried:

  • entering the password as-is in iwctl's tui interface
  • entering the password with a backslash before the exclamation mark in the tui
  • making a *.psk file in /var/lib/iwd with the passphrase and/or the pre-shared key (tried with just password, just key, both), using wpa_passphrase to generate the key)
  • tried editing the password in the *.psk file to use ! instead, or tried wrapping it all in double quotes
  • tried calling iwctl in one line with iwctl --passphrase ksajdaksdj!aksjd station wlan0 connect SSID_HERE, as well as using ! instead or wrapping it all in double quotes
vestal wind
#

perhaps try wpa_supplicant instead?

#

iirc those are interchangeable

timid escarp
#

@torpid whale

torpid whale
#

I installed NetworkManager earlier today, but haven't set it up yet. I think I'll try it if I can't get iwd to work, I'd just have to see how it behaves with my university wifi. I'm not in range of the network with the password with an exclamation point right now, but I'll try it when I have the chance.