<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dan,<br>
<br>
it doesn't. 57 seconds of delay is becouse of how I do capture.
TR69 starts in 54s and ends in 58s.<br>
There is everything OK with CPE.<br>
<br>
This is working:<br>
declare ("<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name"
target="_blank">InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.1.Name</a>",
null, {value: "Interface1"});<br>
declare ("<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.Name"
target="_blank">InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.2.Name</a>",
null, {value: "Interface2"});<br>
<br>
And this is not (9005 response):<br>
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Interface1]",
{path:1}, {path: 1});<br>
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Interface2]",
{path:1}, {path: 1});<br>
<br>
I showed you CPE log where you can see:<br>
<br>
tr69c:57.270:fObjectName:660:
<div class="m_-3931253819538677343moz-cite-prefix"><wbr>name=ObjectName,
ttype=3,
value=InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.<br>
tr69c:57.270:xmlData:445:<wbr>xmlDATA tag=ObjectName
data=InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.
found at level 4<br>
<br>
as on wireshark log where <br>
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.<br>
was also visible, instead of
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name<br>
so why do you think, that it could be CPE problem? I don't get
it..<br>
</div>
<br>
br,<br>
<br>
-- <br>
Michal<br>
<br>
W dniu 2017-10-10 o 21:35, Dan Morphis pisze:<br>
</div>
<blockquote type="cite"
cite="mid:CAHwrMLdO_-rgNVPit=1AXh7C3U5bfN2_tKvOdzntYrSUY4qJVA@mail.gmail.com">
<div dir="ltr">This looks like an issue on the CPE itself. Its
trying to acquire a lock add the interface and times out after
60 seconds. Reboot the CPE and try again.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 10, 2017 at 11:31 AM,
Margerita <span dir="ltr"><<a
href="mailto:polanski.michal.mail@gmail.com"
target="_blank" moz-do-not-send="true">polanski.michal.mail@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-3931253819538677343moz-cite-prefix">Ok,<br>
<br>
I thought it will be easier to just see what Genie sends
to CPE.<br>
Here is part of log captured from CPE where AddObj and
9005 is visible:<br>
<br>
tr69c:57.262:do_response:549:=<wbr>====>ENTER.
data->pc=0x581714<br>
tr69c:57.262:cmsTmr_cancel:<wbr>264:canceled event
timer_response, count=1<br>
tr69c:57.262:proto_<wbr>ParseResponse:1376:proto_<wbr>ParseResponse(protocol="HTTP/<wbr>1.1",
status=200 message="OK")<br>
tr69c:57.264:postComplete:990:<wbr>=====>ENTER<br>
tr69c:57.264:cmsTmr_cancel:<wbr>260:no events to cancel
(func=0x40be28 data=0x4444d4)<br>
tr69c:57.264:postComplete:<wbr>1000:Connection =
keep-alive<br>
tr69c:57.264:readResponse:791:<wbr>calling readLengthMsg
for Download with content_length=609<br>
tr69c:57.265:readLengthMsg:<wbr>565:soapBuf bufCnt=609
readLth=609<br>
tr69c:57.265:proto_Skip:1529:<wbr>proto_Skip() read all
from fd and ignore<br>
tr69c:57.265:proto_Skip:1556:<wbr>proto_Skip()
done.ret=1<br>
tr69c:57.265:xmlWrite:116: ---- nxml_write(): len 609<br>
tr69c:57.266:xmlWrite:119: ---- skip <?xml header<br>
tr69c:57.266:xmlTagBegin:233:<wbr>tag=soap-env:Envelope
lth=17 xmllevel=0<br>
tr69c:57.266:fEnvelope:1028:<wbr>name=soap-env:Envelope,
ttype=1, value=(null)<br>
tr69c:57.266:fEnvelope:1031:<wbr>TAGBEGIN ------<br>
tr69c:57.266:xmlTagBegin:233:<wbr>tag=soap-env:Header
lth=15 xmllevel=1<br>
tr69c:57.267:xmlTagBegin:233:<wbr>tag=cwmp:ID lth=7
xmllevel=2<br>
tr69c:57.267:fIDValue:1016:<wbr>name=cwmp:ID, ttype=1,
value=(null)<br>
tr69c:57.267:xmlAttr:339:<wbr>xmlAttr
attr=soap-env:mustUnderstand found at level 3<br>
tr69c:57.267:xmlValue:396:<wbr>xmlValue
attr=mustUnderstand value=1 found at level 3<br>
tr69c:57.267:fIDValue:1016:<wbr>name=ID, ttype=3,
value=15f07bb155c108<br>
tr69c:57.268:xmlData:445:<wbr>xmlDATA tag=ID
data=15f07bb155c108 found at level 3<br>
tr69c:57.268:fIDValue:1016:<wbr>name=cwmp:ID, ttype=2,
value=(null)<br>
tr69c:57.268:xmlTagEnd:293:<wbr>xmlTagEnd tag=cwmp:ID
found at level 2<br>
tr69c:57.268:xmlTagEnd:293:<wbr>xmlTagEnd
tag=soap-env:Header found at level 1<br>
tr69c:57.268:xmlTagBegin:233:<wbr>tag=soap-env:Body
lth=13 xmllevel=1<br>
tr69c:57.269:fBody:982:name=<wbr>soap-env:Body, ttype=1,
value=(null)<br>
tr69c:57.269:xmlTagBegin:233:<wbr>tag=cwmp:AddObject
lth=14 xmllevel=2<br>
tr69c:57.269:fAddObject:669:<wbr>name=cwmp:AddObject,
ttype=1, value=(null)<br>
tr69c:57.269:xmlTagBegin:233:<wbr>tag=ObjectName lth=10
xmllevel=3<br>
tr69c:57.269:fObjectName:660:<wbr>name=ObjectName,
ttype=1, value=(null)<br>
tr69c:57.270:fObjectName:660:<wbr>name=ObjectName,
ttype=3,
value=InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.<br>
tr69c:57.270:xmlData:445:<wbr>xmlDATA tag=ObjectName
data=InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.
found at level 4<br>
tr69c:57.270:fObjectName:660:<wbr>name=ObjectName,
ttype=2, value=(null)<br>
tr69c:57.270:xmlTagEnd:293:<wbr>xmlTagEnd tag=ObjectName
found at level 3<br>
tr69c:57.270:xmlTagBegin:233:<wbr>tag=ParameterKey
lth=12 xmllevel=3<br>
tr69c:57.271:fSetParameterKey:<wbr>749:name=ParameterKey,
ttype=1, value=(null)<br>
tr69c:57.271:xmlTagEnd:300:<wbr>xmlTagEnd shortform
tag=ParameterKey xmllevel=3<br>
tr69c:57.271:fSetParameterKey:<wbr>749:name=, ttype=2,
value=(null)<br>
tr69c:57.271:fAddObject:669:<wbr>name=cwmp:AddObject,
ttype=2, value=(null)<br>
tr69c:57.271:xmlTagEnd:293:<wbr>xmlTagEnd
tag=cwmp:AddObject found at level 2<br>
tr69c:57.272:fBody:982:name=<wbr>soap-env:Body, ttype=2,
value=(null)<br>
tr69c:57.272:xmlTagEnd:293:<wbr>xmlTagEnd
tag=soap-env:Body found at level 1<br>
tr69c:57.272:fEnvelope:1028:<wbr>name=soap-env:Envelope,
ttype=2, value=(null)<br>
tr69c:57.272:fEnvelope:1043:<wbr>TAGEND -----<br>
tr69c:57.272:xmlTagEnd:293:<wbr>xmlTagEnd
tag=soap-env:Envelope found at level 0<br>
tr69c:57.272:runRPC:3048:=====<wbr>>ENTER:
rcpMethod=7<br>
tr69c:57.273:cmsLck_<wbr>acquireLockWithTimeoutTraced:<wbr>95:acquired
lock. callerFuncName runRPC; timeout 6000 milliseconds<br>
tr69c:57.273:writeSoapFault:<wbr>713:=====>ENTER<br>
tr69c:57.274:sendToAcs:1371:==<wbr>===>ENTER<br>
tr69c:57.274:wget_<wbr>ClearPostHdrs:941:=====>ENTER<br>
tr69c:57.274:wget_AddPostHdr:<wbr>933:=====>ENTER<br>
tr69c:57.274:<wbr>updateAuthorizationHdr:422:===<wbr>==>ENTER<br>
tr69c:57.274:wget_PostData:<wbr>845:=====>ENTER<br>
tr69c:57.274:do_send_request:<wbr>499:=====>ENTER.
keepConn=1 status=0<br>
tr69c:57.275:proto_<wbr>SendRequest:1092:proto_<wbr>SendRequest(POST
/ HTTP/1.1)<br>
tr69c:57.275:stopListener:170:<wbr>removed listener on
fd=6<br>
tr69c:57.276:setListenerType:<wbr>235:Adding listener on
fd=6 type=read handle=0x581b14<br>
tr69c:57.276:cmsTmr_set:205:<wbr>added event
timer_response, expires in 60000ms (at 117.276),
func=0x414680 data=0x581b14 count=2<br>
tr69c:57.277:doAddObject:2222:<wbr>Fault 9005<br>
tr69c:57.277:cmsLck_<wbr>releaseLockTraced:140:lock hold
time=4ms, acquiring lock callerFuncName runRPC;
releasing lock callerFuncName runRPC;<br>
tr69c:57.277:runRPC:3301:=====<wbr>>EXIT, rpcStatus=0<br>
<br>
br<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Michal<br>
<br>
W dniu 2017-10-10 o 20:40, Dan Morphis pisze:<br>
</font></span></div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">THe wireshark/tcpdump logs aren't
want you want to check. You want to check the
syslog on the CPE itself.
<div><br>
</div>
<div>-dan</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 10, 2017 at
10:27 AM, Margerita <span dir="ltr"><<a
href="mailto:polanski.michal.mail@gmail.com"
target="_blank" moz-do-not-send="true">polanski.michal.mail@gmail.<wbr>com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div
class="m_-3931253819538677343m_7764604223555494441moz-cite-prefix">Hi,<br>
<br>
<span>declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
null, {path: 1}); or path: 2 or path: 3
works OK and creates 1 or 2 or 3
interfaces.</span><br>
Problem occures later, I checked with
tcpdump and it looks, that Genie sends:<br>
<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1.<br>
instead of <br>
<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name"
target="_blank" moz-do-not-send="true">InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1.Name</a><br>
<br>
and empty parameter/value.<br>
<br>
Attached screenshot from wireshark -
response for this was 9005<br>
<br>
br,<br>
<br>
W dniu 2017-10-10 o 18:57, Dan Morphis
pisze:<br>
</div>
<div>
<div class="m_-3931253819538677343h5">
<blockquote type="cite">
<div dir="ltr">What do the logs on the
CPE have in them?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct
10, 2017 at 1:23 AM, Margerita <span
dir="ltr"><<a
href="mailto:polanski.michal.mail@gmail.com"
target="_blank"
moz-do-not-send="true">polanski.michal.mail@gmail.co<wbr>m</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000"
bgcolor="#FFFFFF">
<div
class="m_-3931253819538677343m_7764604223555494441m_2729777535977695286moz-cite-prefix">Thanks
Dan,<br>
<br>
I got your idea here, but I
can't get it to work this
way. I got 9005 error even
with smallest configuration
like this:<span><br>
<br>
declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
null, {path: 1});<br>
</span> declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*.[Name:Routed]"<wbr>,
{path:1}, {path: 1});<br>
<br>
any ideas?<span
class="m_-3931253819538677343m_7764604223555494441HOEnZb"><font
color="#888888"><br>
<br>
-- <br>
Michal<br>
<br>
W dniu 2017-10-05
o 18:54, Dan Morphis
pisze:<br>
</font></span></div>
<div>
<div
class="m_-3931253819538677343m_7764604223555494441h5">
<blockquote type="cite">
<div dir="ltr">Try this
:)
<div><br>
</div>
<div><span
style="font-size:12.8px">declare
("InternetGatewayDevice.WANDev</span><span style="font-size:12.8px"><wbr>ice.1.WANConnectionDevice.1.WA</span><span
style="font-size:12.8px"><wbr>NIPConnection.*", null, {path: 2}); //Tell
genie we want two
interfaces</span><br
style="font-size:12.8px">
<span
style="font-size:12.8px">declare
("InternetGatewayDevice.WANDev</span><span style="font-size:12.8px"><wbr>ice.1.WANConnectionDevice.1.WA</span><span
style="font-size:12.8px"><wbr>NIPConnection.*.[ConnectionTyp<wbr>e:IP_Routed,Name:Routed,Enable<wbr>:true]</span><span
style="font-size:12.8px">", {path: 1}, {path: 1});</span><br
style="font-size:12.8px">
<span
style="font-size:12.8px">declare
("InternetGatewayDevice.WANDev</span><span style="font-size:12.8px"><wbr>ice.1.WANConnectionDevice.1.WA</span><span
style="font-size:12.8px"><wbr>NIPConnection.*.[ConnectionTyp<wbr>e:</span><span
style="font-size:12.8px">IP_Bridged</span><span style="font-size:12.8px">,Name:Bridged</span><span
style="font-size:12.8px">,Enab<wbr>le:true</span><span
style="font-size:12.8px">]</span><span
style="font-size:12.8px">", {path: 1}, {path: 1});</span></div>
<div><br
style="font-size:12.8px">
</div>
<div><span
style="font-size:12.8px">That
will create two
interfaces. If
there are more
interfaces than
that, they will be
deleted. If there
are less than 2,
then interfaces
will be added
until the count is
2. Then it will
set the parameters
to whats in the
brackets.</span></div>
<div><span
style="font-size:12.8px"><br>
</span></div>
<div><span
style="font-size:12.8px">-dan</span></div>
</div>
<div class="gmail_extra"><br>
<div
class="gmail_quote">On
Thu, Oct 5, 2017 at
4:33 AM, Margerita <span
dir="ltr"><<a
href="mailto:polanski.michal.mail@gmail.com"
target="_blank"
moz-do-not-send="true">polanski.michal.mail@gmail.co<wbr>m</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0
0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">Hi,<br>
<br>
I would like to
create two
interfaces using
Provision:<br>
<br>
declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
null, {path: 1});<br>
declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*.ConnectionType<wbr>",
null, {value:
"IP_Routed"});<br>
declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*",
null, {path: 1});<br>
declare
("InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.*.ConnectionType<wbr>",
null, {value:
"IP_Bridged"});<br>
<br>
and want to
achieve the
following effect:<br>
<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.1.ConnectionType
IP_Routed<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.2<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANConnectionDevice.1.WANI<wbr>PConnection.2.ConnectionType
IP_Bridged<br>
<br>
but whatever I put
in path values, I
always finish with
only one interface
or with two
interfaces but
both 'IP_Bridged'.<br>
What is the
correct method for
achieving my goal?<span
class="m_-3931253819538677343m_7764604223555494441m_2729777535977695286HOEnZb"><font
color="#888888"><br>
<br>
-- <br>
Michal<br>
______________________________<wbr>_________________<br>
Users mailing
list<br>
<a
href="mailto:Users@lists.genieacs.com"
target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a><br>
<a
href="http://lists.genieacs.com/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset
class="m_-3931253819538677343m_7764604223555494441m_2729777535977695286mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-3931253819538677343m_7764604223555494441m_2729777535977695286moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com" target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a>
<a class="m_-3931253819538677343m_7764604223555494441m_2729777535977695286moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a
href="mailto:Users@lists.genieacs.com"
target="_blank"
moz-do-not-send="true">Users@lists.genieacs.com</a><br>
<a
href="http://lists.genieacs.com/mailman/listinfo/users"
rel="noreferrer"
target="_blank"
moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset
class="m_-3931253819538677343m_7764604223555494441mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-3931253819538677343m_7764604223555494441moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com" target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a>
<a class="m_-3931253819538677343m_7764604223555494441moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com"
target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a><br>
<a
href="http://lists.genieacs.com/mailman/listinfo/users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset
class="m_-3931253819538677343mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-3931253819538677343moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com" target="_blank" moz-do-not-send="true">Users@lists.genieacs.com</a>
<a class="m_-3931253819538677343moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com"
moz-do-not-send="true">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>