Fwd: GenieACS with Cable Modem....

Chris Wang chris.wh.wang at gmail.com
Mon Mar 21 05:05:56 EDT 2016


Hi Alexei,

Thanks for your kind help.

I know what's issue in my setting.

I set wrong port 3000 in my DUT's provision server , should be port 7549.

DUT information:
ACS Connection URL: http://172.21.2.234:7547/

Now , i can see it in devices list.


*Best Regards,*
*Chris Wang**.*

2016-03-18 19:48 GMT+08:00 Alexei Pastuchov <info at maximka.de>:

> Hi Chris
>
> FRITZ!Box 6490 works well with GenieACS (in our testing environment).
> tcpdump shows HTTP header as follow:
> .POST / HTTP/1.1
> Host: XXX:7547
> Content-Length: 2471
> Content-Type: text/xml; charset="utf-8"
> SOAPAction: "cwmp:Inform"
>
>
> > ?username=647C34-DDW36C-90489AE977EC&model=DDW36C&provcode= HTTP/1.1
> Frame
> may be post parameters cause your inconvenience.
>
> BR,
> Alexei
>
> > On 18 March 2016 at 11:36 Chris Wang <chris.wh.wang at gmail.com> wrote:
> >
> >
> > *Hi all,*
> >
> > *I'm Chris from Taiwan.*
> >
> >
> >
> > *First, i'm sorry for my pool english.*
> > *I have 2 questions.*
> >
> > *1. Does some one have any experience with cable modem and GenieACS?*
> >
> >
> > *2. According to  GenieACS's Wiki(Installation in Ubuntu 15.10 (Quick &
> > Detailed)),  i build the server for Cable Modem.*
> >
> > *       Manuel to POST xml to GenieACS , it is ok. *
> >
> > POST -ec 'text/xml' http://[Your GenieACS Host]:7547  <
> ./informBootsBoot.xml
> >
> >
> >
> >
> > *    But let cable modem online and connect GenieACS , i got HTTP/1.1 400
> > Bad Request message..*
> >
> >
> > *Does anyone help me to solve the issue ?*
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *Full Packets at below:No.     Time           Source
> > Destination           Protocol Length Info  11523 125.734750000
> > 192.168.7.183         172.21.2.234          HTTP/XML 1109   POST
> > ?username=647C34-DDW36C-90489AE977EC&model=DDW36C&provcode= HTTP/1.1
> Frame
> > 11523: 1109 bytes on wire (8872 bits), 1109 bytes captured (8872 bits) on
> > interface 0Ethernet II, Src: Cadant_4c:ce:20 (00:01:5c:4c:ce:20), Dst:
> > Vmware_3f:20:b3 (00:0c:29:3f:20:b3)Internet Protocol Version 4, Src:
> > 192.168.7.183 (192.168.7.183), Dst: 172.21.2.234
> (172.21.2.234)Transmission
> > Control Protocol, Src Port: 61457 (61457), Dst Port: 3000 (3000), Seq:
> > 1524, Ack: 1, Len: 1043[3 Reassembled TCP Segments (2566 bytes):
> > #11520(75), #11522(1448), #11523(1043)]Hypertext Transfer
> > ProtocoleXtensible Markup Language    <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
> > <http://schemas.xmlsoap.org/soap/envelope/>"
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
> > <http://schemas.xmlsoap.org/soap/encoding/>"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema
> > <http://www.w3.org/2001/XMLSchema>"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > <http://www.w3.org/2001/XMLSchema-instance>"
> > xmlns:cwmp="urn:dslforum-org:cwmp-1-3">        <SOAP-ENV:Header>
> > <cwmp:ID                SOAP-ENV:mustUnderstand="1">
> > 1711825056                </cwmp:ID>            </SOAP-ENV:Header>
> > <SOAP-ENV:Body>            <cwmp:Inform>
> > <DeviceId>                    <Manufacturer>
> xxxxxx
> > Corp.                        </Manufacturer>
> > <OUI>                        647C34
> > </OUI>                    <ProductClass>
> > DDW36C                        </ProductClass>
> > <SerialNumber>                        90489AE977EC
> > </SerialNumber>                    </DeviceId>
> > <Event
> > SOAP-ENC:arrayType="cwmp:EventStruct[1]">
> > <EventStruct>                        <EventCode>
> > 1 BOOT                            </EventCode>
> > <CommandKey>
> > </CommandKey>                        </EventStruct>
> > </Event>                <MaxEnvelopes>
> > 1                    </MaxEnvelopes>
> > <CurrentTime>
> > 2016-03-18T17:52:52+8:00                    </CurrentTime>
> > <RetryCount>                    2
> > </RetryCount>                <ParameterList
> > SOAP-ENC:arrayType="cwmp:ParameterValueStruct[6]">
> > <ParameterValueStruct>
> > <Name>
> > Device.DeviceInfo.HardwareVersion
> > </Name>                        <Value
> > xsi:type="xsd:string">
> > 3.22.1                            </Value>
> > </ParameterValueStruct>
> > <ParameterValueStruct>
> > <Name>
> > Device.DeviceInfo.SoftwareVersion
> > </Name>                        <Value
> > xsi:type="xsd:string">
> > 8.22.2116                            </Value>
> > </ParameterValueStruct>
> > <ParameterValueStruct>
> > <Name>
> > Device.DeviceInfo.ProvisioningCode
> > </Name>                        <Value
> > xsi:type="xsd:string">
> > </Value>                        </ParameterValueStruct>
> > <ParameterValueStruct>
> > <Name>
> > Device.ManagementServer.ConnectionRequestURL
> > </Name>                        <Value
> > xsi:type="xsd:string">
> > http://192.168.7.183:7547/
> > <http://192.168.7.183:7547/>
> > </Value>                        </ParameterValueStruct>
> > <ParameterValueStruct>
> > <Name>
> > Device.ManagementServer.ParameterKey
> > </Name>                        <Value
> > xsi:type="xsd:string">
> > </Value>                        </ParameterValueStruct>
> > <ParameterValueStruct>
> > <Name>
> > Device.ManagementServer.AliasBasedAddressing
> > </Name>                        <Value
> > xsi:type="xsd:boolean">
> > false                            </Value>
> > </ParameterValueStruct>                    </ParameterList>
> > </cwmp:Inform>            </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>No.     Time           Source
> > Destination           Protocol Length Info  11526 125.736051000
> > 172.21.2.234          192.168.7.183         HTTP     401    HTTP/1.1 400
> > Bad Request   (text/html)Frame 11526: 401 bytes on wire (3208 bits), 401
> > bytes captured (3208 bits) on interface 0Ethernet II, Src:
> Vmware_3f:20:b3
> > (00:0c:29:3f:20:b3), Dst: Cadant_4c:ce:20 (00:01:5c:4c:ce:20)Internet
> > Protocol Version 4, Src: 172.21.2.234 (172.21.2.234), Dst: 192.168.7.183
> > (192.168.7.183)Transmission Control Protocol, Src Port: 3000 (3000), Dst
> > Port: 61457 (61457), Seq: 199, Ack: 2567, Len: 335[2 Reassembled TCP
> > Segments (533 bytes): #11525(198), #11526(335)]Hypertext Transfer
> > ProtocolLine-based text data: text/html    <!DOCTYPE HTML PUBLIC
> > "-//W3C//DTD HTML 4.0//EN">\n    <HTML>\n      <HEAD><TITLE>Bad
> > Request</TITLE></HEAD>\n      <BODY>\n        <H1>Bad Request</H1>\n
> > bad URI
> > `?username=647C34-DDW36C-90489AE977EC&model=DDW36C&provcode='.\n
> > <HR>\n        <ADDRESS>\n         WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
> > at\n         ubuntu:3000\n        </ADDRESS>\n      </BODY>\n
> </HTML>\n*
> >
> >
> >
> > *Thanks for your answer,Chris Wang.*
> > _______________________________________________
> > Users mailing list
> > Users at lists.genieacs.com
> > http://lists.genieacs.com/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160321/d4bb99d6/attachment.html>


More information about the Users mailing list