Notes |
|
|
New serial Number (and device info) may be is not defined in the server. |
|
|
|
There is no serial number defined on the acs server
Each time the serial number connection is sent and then defined
The initial serial number and oui (FFFFFF FFFFFF123456) were not defined, but the connection was established |
|
|
|
|
|
|
please send the files you changed
send log
send traffic capture |
|
|
|
AV System ACS
ok I'll send now |
|
|
|
this is my config
config local option interface 'wwan0' option port '7547' option ubus_socket '/var/run/ubus.sock' option date_format '%FT%T%z' option username 'easycwmp' option password 'easycwmp' option authentication 'Digest' option logging_level '3' config acs option url 'http://172.23.10.7:10301/acs' [^] option username 'acs' option password 'acs' option periodic_enable '1' option periodic_interval '100' option periodic_time '0001-01-01T00:00:00Z' config device option oui 'KKKKKK' option serial_number 'KKKKKK123456' option manufacturer 'openwrt' option product_class 'Generic' option hardware_version 'v1' option software_version 'v1' |
|
|
|
this id log of easycwmp
start session
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: configured acs url http://172.23.10.7:10301/acs [^]
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: external script init
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: external: execute inform parameter
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: send Inform
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: LibCurl Error: The requested URL returned error: 403 Forbidden
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: sending http message failed
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: sending Inform failed
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: external: execute apply service
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: external script exit
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: end session failed
Mon Oct 7 09:20:49 2019 daemon.notice easycwmpd: retry session in 15 sec, RetryCount = 2 |
|
|
|
this is config file
config local
option interface 'wwan0'
option port '7547'
option ubus_socket '/var/run/ubus.sock'
option date_format '%FT%T%z'
option username 'easycwmp'
option password 'easycwmp'
option authentication 'Digest'
option logging_level '4'
config acs
option url 'http://172.23.10.7:10301/acs' [^]
option username 'acs'
option password 'acs'
option periodic_enable '1'
option periodic_interval '100'
option periodic_time '0001-01-01T00:00:00Z'
config device
option oui 'KKKKKK'
option serial_number 'KKKKKK123456'
option manufacturer 'openwrt'
option product_class 'Geberic'
option hardware_version 'v1'
option software_version 'v1' |
|
|
|
this is xml that send
POST / HTTP/1.1
Host: 188.208.151.147:3090
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 3200
Expect: 100-continue
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap_env:Envelope
xmlns:soap_env="http://schemas.xmlsoap.org/soap/envelope/" [^]
xmlns:soap_enc="http://schemas.xmlsoap.org/soap/encoding/" [^]
xmlns:xsd="http://www.w3.org/2001/XMLSchema" [^]
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^]
xmlns:cwmp="urn:dslforum-org:cwmp-1-2">
<soap_env:Header>
<cwmp:ID soap_env:mustUnderstand="1">1</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:Inform>
<DeviceId>
<Manufacturer>openwrt</Manufacturer>
<OUI>KKKKKK</OUI>
<ProductClass>Generic</ProductClass>
<SerialNumber>KKKKKK123456</SerialNumber>
</DeviceId>
<Event soap_enc:arrayType="cwmp:EventStruct[2]">
<EventStruct>
<EventCode>0 BOOTSTRAP</EventCode>
<CommandKey />
</EventStruct>
<EventStruct>
<EventCode>2 PERIODIC</EventCode>
<CommandKey />
</EventStruct>
</Event>
<MaxEnvelopes>1</MaxEnvelopes>
<CurrentTime>2019-10-07T10:00:57+00:00</CurrentTime>
<RetryCount>0</RetryCount>
<ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[11]">
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
<Value xsi:type="xsd:string">1.0</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.Manufacturer</Name>
<Value xsi:type="xsd:string">openwrt</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name>
<Value xsi:type="xsd:string">KKKKKK</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.ProductClass</Name>
<Value xsi:type="xsd:string">Generic</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.SerialNumber</Name>
<Value xsi:type="xsd:string">KKKKKK123456</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
<Value xsi:type="xsd:string">v1</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
<Value xsi:type="xsd:string">v1</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
<Value xsi:type="xsd:string">http://10.18.36.143:7547/</Value> [^]
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
<Value xsi:type="xsd:string">n/a</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
</ParameterList>
</cwmp:Inform>
</soap_env:Body>
</soap_env:Envelope> |
|
|
|
After I switch the serial number to FFFFFF123456 and OUI to FFFFFF and restart EASYCWMP worked correct |
|
|
|
May be your acs accept only serial number in hexadecimal format |
|
|
(0000942)
|
komeilkma
|
2019-10-07 15:05
(edited on: 2019-10-07 15:10) |
|
So how does this accept defaults?
Does this mean FFFFF and FFFFFF123456?
|
|
|
|
by the way OUI should be hexadecimal
FFFFFF is hexadecimal
KKKKKK is not |
|
|
|
I tested with this one but still get the Error 403
OUI: BBBBBB
serial: BBBBBB123456 |
|
|
|
You have to check with the ACS provider |
|
|
|
But I find no reason for this
If acs has problems I shouldn't connect to it even with oui FFFFFF and serial FFFFFF123456
But what happens to ACS after the change? Unchanged ACS This is caused by a change in easycwmp |
|
|
|
I checked the inform message sent by your device. ANd there is no issue with it. The issue is from the ACS, because the issue is returning forbidden 403 when OUI is BBBBBB |
|
|
(0000948)
|
komeilkma
|
2019-10-07 16:02
(edited on: 2019-10-07 16:03) |
|
These acs set the username and password according to oui and serialnumber
And I found that by installing easycwmp even by modifying the modem it recognizes me as the previous modem.
Isn't that the solution for it?
|
|
|
|
What I do notice is that the server always recognizes me as a similar modem it has previously identified
Is there a solution to this? |
|
|
|
This is really ACS issue, you nead to understand the ACS behviour and configure easycwmp and ACS in the right way.
What is your ACS? |
|
|
|
OK , I see you are using AV system, easycwmp was tested successfully with AVSystem |
|
|
(0000952)
|
komeilkma
|
2019-10-07 23:49
(edited on: 2019-10-07 23:50) |
|
Thank you
Does that mean you don't have a solution to solve this problem in easycwmp?
|
|