You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
To add PPPoE credentials, the "InternetGatewayDevice.WANDevice.3.WANConnectionDevice.1.WANPPPConnection.1" has to exist.
So an additional WANPPPConnection-Interface must be created, before any parameters can be modified.
curl -X PUT -i 'http://ip:7557/objects/1' -d '{}'
To differentiate between an 'InternetGatewayDevice' and a 'Device', there are virtual parameters, preventing to check both types of devices.
curl -i 'http://ip:7557/virtual_parameters/SerialNumber' -X PUT -d 'var sn = declare("DeviceID.SerialNumber", {value: Date.now()}); return {writable: false, value: [sn.value[0], "xsd:string"]};'
A Provision is JavaScript code that can handle provisioning workflow.