On Linux, Cirrent provides a script to configure the WCM on each device. Before you start, make sure the WCM is properly installed on the device. You'll need to have a few pieces of information available before you start:
- Account ID. This is your Cirrent account ID, an integer like 1312, which you can find here. It lets Cirrent associate the device with a company account.
- Device ID. This is the unique ID for the device.
- Device secret. This is the secret that you allocated to the device, or Cirrent issued for the device. If you don't have a secret yet, make sure to register the device in the Device Management section of go.cirrent.com. Make sure to double check capital I and l and 0 and O to get the secret right.
- Demo device. A demo device resets itself and clears any private networks each time it reboots. For testing purposes this is useful, because you can rediscover a device each time it boots up. Decide whether you want the device to be a demo device.
Now you can configure the device by running the personalization script:
Now enter the information as the script asks you to. (Note: this script is only run when you are manually installing the WCM on your Linux device. For production devices, the device credentials will be pre-provisioned during manufacturing.)
Once the script completes successfully, reboot your device and the WCM should be running. You can confirm that by checking to see if /usr/bin/wcm_agent is running using the command:
ps aux | grep wcm
Now you're ready to test.