Hi,

On Thu, 2014-09-04 at 15:07 -0400, Mike Purvis wrote:

> First, what's up with the change to make the agent only work in interactive
> mode? Having to do the whole agent/scan/connect dance inside the connmanctl
> prompt, and away from my bash history, is a pretty big pain.

When run in a script that has no terminal, the readline part of
connmanctl ended in a busy loop trying to calculate the terminal width.
Depending in which part of readline that problem was, it may be possible
to read the input from standard in. Unfortunately it did not look
trivial, so the input interaction was cancelled instead. It is also not
ensured that the next thing requested from the Agent really is a
passphrase, so trying to pipe a password to the interactive part of
connmanctl is not that reliable.

If the system does not expect a user to be present to type a passphrase,
doc/config-format.txt and /var/lib/connman/<XXXX>.config is the way to
go. If serious testing is needed, it is better to write a test program
in either C or e.g. python that contains the necessary test logic.

> Second, when I did get it connected, I had an issue where it left the
> default route on a class D ethernet port, rather than transferring it to
> the DHCP wifi. This seems very odd to me.

No idea with this one except that it shouldn't be doing such a thing in
the first place. If you can provide the steps and/or a log of how to
reproduce this, it would be fine.

> Finally, it doesn't seem able to reconnect automatically on system startup,
> the way 1.24 used to do. Has something changed about that behaviour, or
> something I need to do to enable it?

Works fine here. Did the network get configured or connect properly
before restarted?

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to