From: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
To: "connman@lists.linux.dev" <connman@lists.linux.dev>
Subject: No password prompt after wrong entry
Date: Thu, 8 Sep 2022 10:52:11 -0300 [thread overview]
Message-ID: <ef8ef3d5-3786-6064-605b-7d668a8d92bb@collabora.com> (raw)
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
next reply other threads:[~2022-09-08 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 13:52 Ariel D'Alessandro [this message]
2022-09-08 14:12 ` No password prompt after wrong entry John Keeping
2022-09-08 14:22 ` Ariel D'Alessandro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef8ef3d5-3786-6064-605b-7d668a8d92bb@collabora.com \
--to=ariel.dalessandro@collabora.com \
--cc=connman@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).