Starting with TR 069

It seems like you are not using the default inform script. The connection request username and password are set by the inform script.

You can comment off this in your script.

And how to applay the default script?

Click on Provisions.
You should see three scripts there: bootstrap, default and inform.

Yes, ther are.

This is de code of inform

// Device ID as user name
const username = declare(“DeviceID.ID”, {value: 1}).value[0]

// Password will be fixed for a given device because Math.random() is seeded with device ID by default.
const password = Math.trunc(Math.random() * Number.MAX_SAFE_INTEGER).toString(36);

const informInterval = 300;

// Refresh values daily
const daily = Date.now(86400000);

// Unique inform offset per device for better load distribution
const informTime = daily % 86400000;

declare(“InternetGatewayDevice.ManagementServer.ConnectionRequestUsername”, {value: daily}, {value: username});
declare(“InternetGatewayDevice.ManagementServer.ConnectionRequestPassword”, {value: daily}, {value: password});
declare(“InternetGatewayDevice.ManagementServer.PeriodicInformEnable”, {value: daily}, {value: true});
declare(“InternetGatewayDevice.ManagementServer.PeriodicInformInterval”, {value: daily}, {value: informInterval});
declare(“InternetGatewayDevice.ManagementServer.PeriodicInformTime”, {value: daily}, {value: informTime});

declare(“Device.ManagementServer.ConnectionRequestUsername”, {value: daily}, {value: username});
declare(“Device.ManagementServer.ConnectionRequestPassword”, {value: daily}, {value: password});
declare(“Device.ManagementServer.PeriodicInformEnable”, {value: daily}, {value: true});
declare(“Device.ManagementServer.PeriodicInformInterval”, {value: daily}, {value: informInterval});
declare(“Device.ManagementServer.PeriodicInformTime”, {value: daily}, {value: informTime});

You can comment off the PeriodicInformTime statement in the Inform script to prevent the error above.

Delete the device again and reboot the device.
Allow it to register again.

Then check to see if the connection request username and password gets changed.

Two things:

  1. comment this line:
    //declare(“InternetGatewayDevice.ManagementServer.PeriodicInformTime”, {value: daily}, {value: informTime});
    Delete the device and reboot it.

  2. Does all of those “Incorrect connection request credentials” pop up on their own?

I delete the ont in the ACS and restart ont

It doesn’t work, the same connection error with the ont

  1. No, it only appears once, it’s just me with a lot of anger clicking on summon (Initiate session and refresh basic parameters) a lot

Something is still wrong as the InformTime fault should not be present if you commented off the declare statement.

Did you add anything else in Admin>Config?
Do you have any faults in the Faults tab?

Nothing
These are the lines of code I have

ui.device.0.type ‘tags’
ui.device.1.type ‘ping’
ui.device.2.parameters.0.components.0.type ‘parameter’
ui.device.2.parameters.0.components.1.chart ‘online’
ui.device.2.parameters.0.components.1.type ‘overview-dot’
ui.device.2.parameters.0.components.2.parameters.0 InternetGatewayDevice.DeviceInfo.HardwareVersion
ui.device.2.parameters.0.components.2.parameters.1 InternetGatewayDevice.DeviceInfo.SoftwareVersion
ui.device.2.parameters.0.components.2.parameters.2 InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.MACAddress
ui.device.2.parameters.0.components.2.parameters.3 InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.ExternalIPAddress
ui.device.2.parameters.0.components.2.parameters.4 InternetGatewayDevice.LANDevice..WLANConfiguration..SSID
ui.device.2.parameters.0.components.2.parameters.5 InternetGatewayDevice.LANDevice..WLANConfiguration..KeyPassphrase
ui.device.2.parameters.0.components.2.parameters.6 InternetGatewayDevice.LANDevice..Hosts.Host..HostName
ui.device.2.parameters.0.components.2.parameters.7 InternetGatewayDevice.LANDevice..Hosts.Host..IPAddress
ui.device.2.parameters.0.components.2.parameters.8 InternetGatewayDevice.LANDevice..Hosts.Host..MACAddress
ui.device.2.parameters.0.components.2.type ‘summon-button’
ui.device.2.parameters.0.element ‘span.inform’
ui.device.2.parameters.0.label ‘Last inform’
ui.device.2.parameters.0.parameter DATE_STRING(Events.Inform)
ui.device.2.parameters.0.type ‘container’
ui.device.2.parameters.1.label ‘Serial number’
ui.device.2.parameters.1.parameter DeviceID.SerialNumber
ui.device.2.parameters.10.label ‘WLAN passphrase’
ui.device.2.parameters.10.parameter InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.KeyPassphrase
ui.device.2.parameters.2.label ‘Product class’
ui.device.2.parameters.2.parameter DeviceID.ProductClass
ui.device.2.parameters.3.label ‘OUI’
ui.device.2.parameters.3.parameter DeviceID.OUI
ui.device.2.parameters.4.label ‘Manufacturer’
ui.device.2.parameters.4.parameter DeviceID.Manufacturer
ui.device.2.parameters.5.label ‘Hardware version’
ui.device.2.parameters.5.parameter InternetGatewayDevice.DeviceInfo.HardwareVersion
ui.device.2.parameters.6.label ‘Software version’
ui.device.2.parameters.6.parameter InternetGatewayDevice.DeviceInfo.SoftwareVersion
ui.device.2.parameters.7.label ‘MAC’
ui.device.2.parameters.7.parameter InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress
ui.device.2.parameters.8.label ‘IP’
ui.device.2.parameters.8.parameter InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
ui.device.2.parameters.9.label ‘WLAN SSID’
ui.device.2.parameters.9.parameter InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID
ui.device.2.type ‘parameter-list’
ui.device.3.childParameters.0.label ‘Host name’
ui.device.3.childParameters.0.parameter HostName
ui.device.3.childParameters.1.label ‘IP address’
ui.device.3.childParameters.1.parameter IPAddress
ui.device.3.childParameters.2.label ‘MAC address’
ui.device.3.childParameters.2.parameter MACAddress
ui.device.3.label ‘LAN hosts’
ui.device.3.parameter InternetGatewayDevice.LANDevice.1.Hosts.Host
ui.device.3.type ‘parameter-table’
ui.device.4.components.0.components.0 ‘Faults’
ui.device.4.components.0.element ‘h3’
ui.device.4.components.0.type ‘container’
ui.device.4.components.1.type ‘device-faults’
ui.device.4.element ‘div’
ui.device.4.type ‘container’
ui.device.5.components.0.components.0 ‘All parameters’
ui.device.5.components.0.element ‘h3’
ui.device.5.components.0.type ‘container’
ui.device.5.components.1.type ‘all-parameters’
ui.device.5.element ‘div.container-full-width’
ui.device.5.type ‘container’
ui.device.6.type ‘device-actions’
ui.filters.0.label ‘Serial number’
ui.filters.0.parameter DeviceID.SerialNumber
ui.filters.0.type ‘string’
ui.filters.1.label ‘Product class’
ui.filters.1.parameter DeviceID.ProductClass
ui.filters.1.type ‘string’
ui.filters.2.label ‘Tag’
ui.filters.2.type ‘tag’
ui.index.0.components.0.type ‘parameter’
ui.index.0.label ‘Serial number’
ui.index.0.parameter DeviceID.SerialNumber
ui.index.0.type ‘device-link’
ui.index.1.label ‘Product class’
ui.index.1.parameter DeviceID.ProductClass
ui.index.2.label ‘Software version’
ui.index.2.parameter InternetGatewayDevice.DeviceInfo.SoftwareVersion
ui.index.3.label ‘IP’
ui.index.3.parameter InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
ui.index.4.label ‘SSID’
ui.index.4.parameter InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID
ui.index.5.label ‘SSID2’
ui.index.5.parameter InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.SSID
ui.index.6.components.0.type ‘parameter’
ui.index.6.components.1.chart ‘online’
ui.index.6.components.1.type ‘overview-dot’
ui.index.6.element ‘span.inform’
ui.index.6.label ‘Last inform’
ui.index.6.parameter DATE_STRING(Events.Inform)
ui.index.6.type ‘container’
ui.index.7.label ‘Tags’
ui.index.7.parameter Tags
ui.index.7.type ‘tags’
ui.index.7.unsortable true
ui.index.7.writable false
ui.overview.charts.online.label ‘Online status’
ui.overview.charts.online.slices.1_onlineNow.color ‘#31a354’
ui.overview.charts.online.slices.1_onlineNow.filter Events.Inform > NOW() - 5 * 60 * 1000
ui.overview.charts.online.slices.1_onlineNow.label ‘Online now’
ui.overview.charts.online.slices.2_past24.color ‘#a1d99b’
ui.overview.charts.online.slices.2_past24.filter Events.Inform > (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000) AND Events.Inform < (NOW() - 5 * 60 * 1000)
ui.overview.charts.online.slices.2_past24.label ‘Past 24 hours’
ui.overview.charts.online.slices.3_others.color ‘#e5f5e0’
ui.overview.charts.online.slices.3_others.filter Events.Inform < (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000)
ui.overview.charts.online.slices.3_others.label ‘Others’
ui.overview.groups.online.charts.0 ‘online’
ui.overview.groups.online.label ‘’

It’s safe to delete those faults as they’re related to the InformTime action that you commented off.

Do any of the other devices have the same Connection Request error?

2 ONTs for now, both ZTE.
Im going to probe with C-Data and Huawei

Test with C-Data work find

This is the configuracion that de ACS read from ONT

As you can see, in the ZTE, the parameters of:

  • InternetGatewayDevice.ManagementServer.URL
  • InternetGatewayDevice.ManagementServer.Username
  • InternetGatewayDevice.ManagementServer.Password

It is not reading them from the ONT, therefore, the ONT can communicate with the ACS but the ACS does not know how to reach it to make changes

The ACS uses the ConnectionRequestUsername, ConnectionRequestPassword and ConnectionRequestURL to communicate with the device.
When you click summon, those are used, not the ManagementServerURL.

It also shows that your ACS is not changing the ConnectionRequestUsername and ConnectionRequestPassword. Either your device is blocking it or one of your scripts are incorrect.

That is correct, the ACS uses the data sent by the ONT in the first connection with the ACS server, where it sends the 3 parameters necessary for the connection, to itself (ONT).

  • InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
  • InternetGatewayDevice.ManagementServer.ConnectionRequestURL
  • InternetGatewayDevice.ManagementServer.ConnectionRequestUsername

For the connection to work, on the ONT I had to delete the Connection Request Password

Ok. Progress.

What fault is that shown in the screenshot?