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. Problem connecting to WISPr access point (Thomas Green)


----------------------------------------------------------------------

Message: 1
Date: Wed, 1 May 2019 16:39:30 +0000
From: Thomas Green <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Problem connecting to WISPr access point
Message-ID:
        
<byapr04mb50967ebea6389e3533a5ee139f...@byapr04mb5096.namprd04.prod.outlook.com>
        
Content-Type: text/plain; charset="us-ascii"

I posted on this before, but I am doing it again, with more information.  I am 
trying to attach to a WISPr enabled access point.  The sequence of commands in 
connmanctl is:

connmanctl> agent on
connmanctl> connect wifi_3c6aa71c5057_5075626c6963_managed_none
connmanctl> connected wifi_3c6aa71c5057_5075626c6963_managed_none

it never prompts for the wispr credentials.  Turning on logging I see that the 
access point returns a 307 error when trying to attach.  In wispr.c  (line 735) 
it only checks for error 302.  I added a case to that for 307 to handle the 
redirect, and tried it again.  As you can see from the attached log, it now 
tries to handle the redirect, but fails to do so. As you can see in the log, it 
immediately returns a 400 (Bad Request) error.  Trying to determine what is 
happening I then took a tcpdump of the connection process to see what happened 
then.  When examining the pcap file that is attached, It doesn't look as if the 
attempt to actually perform the redirect actually happens.  If you could help 
me determine what is happening, and fix this, I would surely appreciate it.  
Connecting to this access point works as expected on my android and apple 
devices, so I'm guessing that connman is doing something different.  

Thanks in advance,

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connman.log.gz
Type: application/x-gzip
Size: 34881 bytes
Desc: connman.log.gz
URL: 
<http://lists.01.org/pipermail/connman/attachments/20190501/b949d74a/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wlp1s0.pcap
Type: application/octet-stream
Size: 18403 bytes
Desc: wlp1s0.pcap
URL: 
<http://lists.01.org/pipermail/connman/attachments/20190501/b949d74a/attachment.obj>

------------------------------

Subject: Digest Footer

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


------------------------------

End of connman Digest, Vol 43, Issue 1
**************************************

Reply via email to