<div dir="ltr"><div>Create a v-param called 'pppoeUsername' with this script:</div><div><br></div><div><div><font face="monospace, monospace">let username = 'UNKNOWN';</font></div><div><font face="monospace, monospace">let igd = declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.*.WANPPPConnection.*.Username", {value: 1});</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">if (igd.size) {</font></div><div><font face="monospace, monospace">  for (let p of igd) {</font></div><div><font face="monospace, monospace">    if (p.value[0]) {</font></div><div><font face="monospace, monospace">      username = p.value[0];</font></div><div><font face="monospace, monospace">      break;</font></div><div><font face="monospace, monospace">    }</font></div><div><font face="monospace, monospace">  }  </font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">return {writable: false, value: [username, "xsd:string"]};</font></div><div><br></div></div><div><br></div><div>Finally, in what ever script you use to set the PPPoE Username field, add this:</div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">declare(<span style="color:rgb(0,128,0);font-weight:bold">"VirtualParameters.pppoeUsername"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">value</span>: Date.<span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">now()</span>}); //Force the pppoeUsername vparam to update</pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9pt">-dan</pre></div></div>