connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* No password prompt after wrong entry
@ 2022-09-08 13:52 Ariel D'Alessandro
  2022-09-08 14:12 ` John Keeping
  0 siblings, 1 reply; 3+ messages in thread
From: Ariel D'Alessandro @ 2022-09-08 13:52 UTC (permalink / raw)
  To: connman

Hi all,

I have a question regarding the expected behavior on connmanctl.

After trying to connect to a network using a wrong password, connman
returns `connect-failed`. Further attempts to connect won't prompt for a
new password, so it will use the same old wrong one and keep returning
`connect-failed`.

After manually removing the network, re-connecting will prompt for a new
password and the connection will succeed. Is this the expected behavior
or it should automatically prompt after a wrong password entry?

See logs:

```
connmanctl> connect wifi_42ed868596d0_415045525449535f4150_managed_psk
Agent RequestInput wifi_42ed868596d0_415045525449535f4150_managed_psk
  Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase? 123456789
Agent ReportError wifi_42ed868596d0_415045525449535f4150_managed_psk
  connect-failed
Agent request cancelled by ConnMan
Error
/net/connman/service/wifi_42ed868596d0_415045525449535f4150_managed_psk:
Input/output error

connmanctl> connect wifi_42ed868596d0_415045525449535f4150_managed_psk
Agent ReportError wifi_42ed868596d0_415045525449535f4150_managed_psk
  connect-failed
Agent request cancelled by ConnMan
Error
/net/connman/service/wifi_42ed868596d0_415045525449535f4150_managed_psk:
Input/output error

connmanctl> config wifi_42ed868596d0_415045525449535f4150_managed_psk
--remove

connmanctl> connect wifi_42ed868596d0_415045525449535f4150_managed_psk
Agent RequestInput wifi_42ed868596d0_415045525449535f4150_managed_psk
  Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase? 12345678
Connected wifi_42ed868596d0_415045525449535f4150_managed_psk
Agent unregistered by ConnMan

connmanctl>
```

Thanks in advance,
Ariel D'Alessandro
--
Collabora Ltd.
www.collabora.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-08 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 13:52 No password prompt after wrong entry Ariel D'Alessandro
2022-09-08 14:12 ` John Keeping
2022-09-08 14:22   ` Ariel D'Alessandro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).