<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, I have recently discovered Geniacs and I intend to use it as a
TR-069 provisioning system for some Huawei ONTs that we just bought.<br>
Up to now I have installed Geniacs and get it to communicate with
the ONT (Huawei HG8247H) and get some information out of it .. but
what I can't do is SETTING any parameter .. e.g. SSID for the wifi
interface .<br>
<br>
I tried not only using de GUI, but also using curl:<br>
<br>
curl -i
'<a class="moz-txt-link-freetext" href="http://localhost:7557/devices/00259E-HG8247H-4857544394F39D68/tasks">http://localhost:7557/devices/00259E-HG8247H-4857544394F39D68/tasks</a>'
-X POST --data '{"name":"setParameterValues",
"parameterValues":[["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID",
"GenieACS",
"xsd:string"],["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey",
"hello world", "xsd:string"]]}'<br>
<br>
Here is the log debug/00259E-HG8247H-4857544394F39D68.dump for
further analysis:<br>
<br>
# REQUEST Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"host":"190.1.0.74:7547","soapaction":"","connection":"Keep-Alive","content-type":"text/xml;
charset=UTF-8","user-agent":"HW_WAP_CWMP_V02","content-length":"2350"}<br>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:SOAP-ENC=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><br>
<SOAP-ENV:Header><br>
<cwmp:ID SOAP-ENV:mustUnderstand="1">9424</cwmp:ID><br>
</SOAP-ENV:Header><br>
<SOAP-ENV:Body><br>
<cwmp:Inform><br>
<DeviceId><br>
<Manufacturer>Huawei Technologies Co.,
Ltd</Manufacturer><br>
<OUI>00259E</OUI><br>
<ProductClass>HG8247H</ProductClass><br>
<SerialNumber>4857544394F39D68</SerialNumber><br>
</DeviceId><br>
<Event SOAP-ENC:arrayType="cwmp:EventStruct[1]"><br>
<EventStruct><br>
<EventCode>2 PERIODIC</EventCode><br>
<CommandKey/><br>
</EventStruct><br>
</Event><br>
<MaxEnvelopes>1</MaxEnvelopes><br>
<CurrentTime>2016-07-07T14:24:59+00:00</CurrentTime><br>
<RetryCount>1</RetryCount><br>
<ParameterList
SOAP-ENC:arrayType="cwmp:ParameterValueStruct[8]"><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name><br>
<Value xsi:type="xsd:string"/><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name><br>
<Value
xsi:type="xsd:string"><a class="moz-txt-link-freetext" href="http://10.66.0.3:7547/969460279579c2d9a6c5711907a324ca">http://10.66.0.3:7547/969460279579c2d9a6c5711907a324ca</a></Value><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.DeviceSummary</Name><br>
<Value
xsi:type="xsd:string">InternetGatewayDevice:1.1[](Baseline:1,
EthernetLAN:1, WiFiLAN:1, Time:1, IPPing:1,
DeviceAssociation:1)</Value><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name><br>
<Value xsi:type="xsd:string">1.0</Value><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name><br>
<Value xsi:type="xsd:string">4B4.A</Value><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name><br>
<Value xsi:type="xsd:string">V3R013C10S126</Value><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name><br>
<Value xsi:type="xsd:string"/><br>
</ParameterValueStruct><br>
<ParameterValueStruct><br>
<Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name><br>
<Value xsi:type="xsd:string">10.66.0.3</Value><br>
</ParameterValueStruct><br>
</ParameterList><br>
</cwmp:Inform><br>
</SOAP-ENV:Body><br>
</SOAP-ENV:Envelope><br>
<br>
<br>
# RESPONSE Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"Server":"GenieACS/1.0.0","SOAPServer":"GenieACS/1.0.0","Content-Type":"text/xml;
charset=\"utf-8\"","Set-Cookie":"session=30d28210ff4b59f3"}<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<soap-env:Envelope
xmlns:soap-enc=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:soap-env=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">9424</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope><br>
<br>
<br>
# REQUEST Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"host":"190.1.0.74:7547","connection":"Keep-Alive","cookie":"session=30d28210ff4b59f3","user-agent":"HW_WAP_CWMP_V02","content-length":"0"}<br>
<br>
<br>
# RESPONSE Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"Server":"GenieACS/1.0.0","SOAPServer":"GenieACS/1.0.0","Content-Type":"text/xml;
charset=\"utf-8\""}<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<soap-env:Envelope
xmlns:soap-enc=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:soap-env=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">155c664235b00</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterNames><ParameterPath/><NextLevel>1</NextLevel></cwmp:GetParameterNames></soap-env:Body></soap-env:Envelope><br>
<br>
<br>
# REQUEST Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"host":"190.1.0.74:7547","soapaction":"","connection":"Keep-Alive","content-type":"text/xml;
charset=UTF-8","cookie":"session=30d28210ff4b59f3","user-agent":"HW_WAP_CWMP_V02","content-length":"681"}<br>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:SOAP-ENC=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><br>
<SOAP-ENV:Header><br>
<cwmp:ID
SOAP-ENV:mustUnderstand="1">155c664235b00</cwmp:ID><br>
</SOAP-ENV:Header><br>
<SOAP-ENV:Body><br>
<cwmp:GetParameterNamesResponse><br>
<ParameterList
SOAP-ENC:arrayType="cwmp:ParameterInfoStruct[1]"><br>
<ParameterInfoStruct><br>
<Name>InternetGatewayDevice.</Name><br>
<Writable>0</Writable><br>
</ParameterInfoStruct><br>
</ParameterList><br>
</cwmp:GetParameterNamesResponse><br>
</SOAP-ENV:Body><br>
</SOAP-ENV:Envelope><br>
<br>
<br>
# RESPONSE Thu Jul 07 2016 14:24:59 GMT-0300 (ART)<br>
{"Server":"GenieACS/1.0.0","SOAPServer":"GenieACS/1.0.0"}<br>
<br>
<br>
<br>
I need some help to get started, or at least a better way to debug
the proccess :(<br>
<br>
<br>
PS: I have noticed that "Writable" is set to 0 .. is that ok? Could
not find any way to change it.<br>
<br>
<ParameterInfoStruct><br>
<Name>InternetGatewayDevice.</Name><br>
<Writable>0</Writable><br>
</ParameterInfoStruct><br>
<br>
<br>
<br>
Best regards,<br>
Ulises<br>
</body>
</html>