Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. WISPr authentication (Thomas Green)
2. Re: WISPr authentication (Daniel Wagner)
----------------------------------------------------------------------
Message: 1
Date: Thu, 21 Mar 2019 22:12:21 +0000
From: Thomas Green <[email protected]>
To: "[email protected]" <[email protected]>
Subject: WISPr authentication
Message-ID:
<dm5pr04mb08267acc517724b36882af839f...@dm5pr04mb0826.namprd04.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
I seem to not be understanding connman support for WISPr access points. I have
an access point that (from my (android) phone) when I connect to it I'm
prompted to sign in on what appears to be a web page. When I try with
connmanctl, I get neither the RequestInput method with Username and Password
prompts or a RequestBrowser with an url argument. If I'm watching dbus for
messages I get no indication that these callbacks are being requested either.
It says that I'm connected, but I can't ping anything. I've verified that
connman was built with -enable-wispr. Connman version is 1.29.
What am I doing wrong?
Tom
connmanctl> agent on
Agent registered
connmanctl> services wifi_884aea637670_5075626c6963_managed_none
connmanctl>
/net/connman/service/wifi_884aea637670_5075626c6963_managed_none
Type = wifi
Security = [ none ]
State = idle
Strength = 66
Favorite = False
Immutable = False
AutoConnect = False
Name = Public
Ethernet = [ Method=auto, Interface=wlan0, Address=88:4A:EA:63:76:70,
MTU=1500 ]
IPv4 = [ ]
IPv4.Configuration = [ Method=dhcp ]
IPv6 = [ ]
IPv6.Configuration = [ Method=auto, Privacy=disabled ]
Nameservers = [ ]
Nameservers.Configuration = [ ]
Timeservers = [ ]
Timeservers.Configuration = [ ]
Domains = [ ]
Domains.Configuration = [ ]
Proxy = [ ]
Proxy.Configuration = [ ]
Provider = [ ]
connmanctl> connect wifi_884aea637670_5075626c6963_managed_none
connmanctl>
Connected wifi_884aea637670_5075626c6963_managed_none
connmanctl> quit
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20190321/22fb23b7/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 22 Mar 2019 19:17:51 +0100
From: Daniel Wagner <[email protected]>
To: Thomas Green <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: WISPr authentication
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Thomas,
> What am I doing wrong?
>
> connmanctl> agent on
>
> Agent registered
Yes, important step.
> connmanctl> connect wifi_884aea637670_5075626c6963_managed_none
>
And now you should get an prompt asking for username and password, if
things work correctly.
I suppose ConnMan doesn't detect the portal. You can check what is going
on by enabling the debug for the web client and the the wispr code:
CONNMAN_WEB_DEBUG=1 ./src/connmand -n -d src/wispr.c
and post the logs here?
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 41, Issue 23
***************************************