<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3698" name=GENERATOR>
<STYLE><!--
                      
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
                       
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {
        font-size:10.0pt;}

div.WordSection1
        {page:WordSection1;}
                      










ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV id=idOWAReplyText47814 dir=ltr>
<DIV dir=ltr>
<P class=MsoNormal>Problem: Enrollee is not getting connected using wpa_supplicant 0.7.3 as external registrar.</P></DIV></DIV>
<DIV>
<DIV class=WordSection1>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Built wpa_supplicant 0.7.3 with CONFIG_WPS_ER=y on ubuntu linux laptop</P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>2)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>AP is Linksys WRT120N router(with WPS and UPnP support) and Enrollee is wpa_supplicant 0.6.10 running on a Android mobile.</P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>3)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>In the laptop , started external register with &#8220;<SPAN style="COLOR: #c0504d">wpa_supplicant &nbsp;-Dnone &#8211;c er.conf &#8211;ieth0</SPAN> &#8220; after bringing both the laptop and the AP in the same lan.</P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>4)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Executed &#8220;<SPAN style="COLOR: #c0504d">wps_er_start</SPAN>&#8221;. Laptop received SSDP discovery from the AP, with following prints. (log attached)</P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS ER: Received SSDP from 192.168.1.1</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS ER: AP discovered: http://192.168.1.1:80/igd.xml (packet source: 192.168.1.1&nbsp; max-age: 60)</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>c.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS ER: Added AP entry for 192.168.1.1 (http://192.168.1.1:80/igd.xml)</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>d.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Send client request to 192.168.1.1:80 (153 of 153 bytes remaining)</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>e.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Full client request sent to 192.168.1.1:80</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>f.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Response OK from 192.168.1.1:80</SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>5)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>To register enrollee PIN, executed <SPAN style="COLOR: #c0504d">&#8220;WPS_ER_PIN 12345678-1234-1234-1234-9021550cb400 12345670&#8221; </SPAN>with following prints.</P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS: A new PIN configured (timeout=300)</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS: UUID - hexdump(len=16): 12 34 56 78 12 34 12 34 12 34 90 21 55 0c b4 00</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>c.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS: PIN - hexdump_ascii(len=8): [REMOVED]</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>d.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS: Selected registrar information changed</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN>e.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS: Internal Registrar selected (pbc=0)</SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>6)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Also entered the same pin from the enrollee wpa_cli prompt using<SPAN style="COLOR: #c0504d"> &#8220;wps_pin AP_BSSID 12345670&#8221;</SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>7)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Saw HTTP client request going to AP with the data.</P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Send client request to 192.168.1.1:80 (579 of 579 bytes remaining)</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN>b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Full client request sent to 192.168.1.1:80</SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -0.25in"><SPAN>8)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>But the process failed with bad response from the AP.</P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN style="COLOR: #4f81bd"><SPAN>a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #4f81bd">HTTP: Error 500 from 192.168.1.1:80</SPAN></P>
<P class=MsoListParagraph style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in"><SPAN>b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: #4f81bd">WPS ER: SetSelectedRegistrar failed</SPAN></P>
<P class=MsoListParagraph>&nbsp;</P>
<P class=MsoListParagraph>&nbsp;</P>
<P class=MsoListParagraph>Can you please tell me where I am going wrong in this external registrar setup?</P>
<P class=MsoListParagraph>&nbsp;</P>
<P class=MsoListParagraph>Also I have one query. For the above steps, nowhere we are giving AP PIN to create the first &nbsp;sync up between the external registrar and the AP. So am I missing any step here?</P>
<P class=MsoListParagraph>&nbsp;</P>
<P class=MsoListParagraph>Regards</P>
<P class=MsoListParagraph>Soumya</P></DIV></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>