I want change some parameters automaticly when router boot. i want config wifi SSD or password or VLAN when router boot. can anyone tell me how i can send parameters? anyone can share script and where i can put scripts?
Hi,
Firstly, you will need to know your device’s path to set the SSID and Password.
Example:
InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID
Next you could create a Provision script like:
const now = Date.now();
let ssid = “Your SSID here”;
declare(“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID”, {value: now], {value: ssid});
Then create a Preset with the Event set to: 1 BOOT
Hope this helps.
To add to what @dustin said. If you want to retrieve the wifi ssid/passphrase/vlan/etc from an external system, you will need to use an extension script. Please refer to docs.genieacs.com for more info.
hi! thanks a lot for answear. i dont understend this part : “Then create a Preset with the Event set to: 1 BOOT”
You need to change the events field to “1 BOOT” without the quotes.
Dustin Ramdeen
Solutions Architect, TSTT
Thank you very much <3
if you know, can i send autoconfig only first boot, not reboot. only one time autoconfig.