<div dir="ltr">v1.1 supports auth via both the device model and config/auth.js. I haven't been able to get the config/auth.js method to work. My config/auth.js file looks like this:<div><br></div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"droid sans mono","courier new",monospace,"droid sans fallback";font-size:14px;line-height:19px"><div><span style="color:rgb(206,145,120)">"use strict"</span>;</div><br><div><span style="color:rgb(86,156,214)">function</span> <span style="color:rgb(220,220,170)">connectionRequest</span>(<span style="color:rgb(156,220,254)">deviceId</span>, <span style="color:rgb(156,220,254)">url</span>, <span style="color:rgb(156,220,254)">username</span>, <span style="color:rgb(156,220,254)">password</span>, <span style="color:rgb(156,220,254)">callback</span>) {</div><div>  return <span style="color:rgb(220,220,170)">callback</span>(<span style="color:rgb(206,145,120)">"someUsername"</span>, <span style="color:rgb(206,145,120)">"aPassword"</span>);</div><div>}<br></div><br><div><span style="color:rgb(78,201,176)">exports</span>.<span style="color:rgb(156,220,254)">connectionRequest</span> = <span style="color:rgb(156,220,254)">connectionRequest</span>;</div><br></div></div><div><br></div><div><br></div><div>The values from the auth.js file don't appear to ever be used as no successful connection requests happen until I manually set the InternetGatewayDevice.ManagementServer.ConnectionRequestUsername/Password values for the CPE.</div><div><br></div><div>I fired up wireshark and here is the results of a conn request:</div><div>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">GET / HTTP/1.1</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">Host: <a href="http://172.27.240.20:30005">172.27.240.20:30005</a></span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">Connection: keep-alive</span></p>
<p style="margin:0px;font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127);background-color:rgb(237,237,251)">HTTP/1.1 401 Unauthorized</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127);background-color:rgb(237,237,251)">Content-Length: 0</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127);background-color:rgb(237,237,251)">WWW-Authenticate: Digest realm="IgdAuthentication", domain="/", nonce="OGM1NmI5NDU6MWYzZDZkMTc6ZWQ4MDgxZTE=", qop="auth", algorithm=MD5, opaque="5ccc09c403ebaf9f0171e9517f40e41" </span></p>
<p style="margin:0px;font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127)"><br></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">GET / HTTP/1.1</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">Authorization: Digest username="00236a-96318REF-SR360NA0A4%2D0003196",realm="IgdAuthentication",nonce="OGM1NmI5NDU6MWYzZDZkMTc6ZWQ4MDgxZTE=",uri="/",algorithm=MD5,qop=auth,nc=00000001,cnonce="0a4f113b",response="cfaf291431af2daf9ba57b0aa59c12bd",opaque="5ccc09c403ebaf9f0171e9517f40e41"</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">Host: <a href="http://172.27.240.20:30005">172.27.240.20:30005</a></span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0);background-color:rgb(251,237,237)">Connection: keep-alive</span></p>
<p style="margin:0px;font-family:"liberation mono";font-size:9pt;color:rgb(127,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127);background-color:rgb(237,237,251)">HTTP/1.1 401 Unauthorized</span></p>
<p style="margin:0px"><span style="font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127);background-color:rgb(237,237,251)">Content-Length: 0</span></p>
<p style="margin:0px;font-family:"liberation mono";font-size:9pt;color:rgb(0,0,127)"><br></p>
<p style="margin:0px;font-size:9pt;color:rgb(0,0,127)"><font face="arial, helvetica, sans-serif">We can see that the ACS is trying to use the device id as the username instead of the username/password in the auth.js file.</font></p><p style="margin:0px;font-size:9pt;color:rgb(0,0,127)"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px;font-size:9pt;color:rgb(0,0,127)"><font face="arial, helvetica, sans-serif">-dan</font></p></div></div>