Device offline after reboot
I have a BeagleBone device that I would like to remotely access to. I installed the agent and assigned it to my account, it was working fine, then I had to reboot the device and since it is indicated as offline and I can't bring it back online.
The agent is on anf marked as online and active on the BeagleBone side (info and status commands), but it is greyed out on the dashboard and I can't access it. Restarting the agent did not solve the issue.
How can I bring the device back online and how can I make sure I don't lose it every time I have to reboot?
I tried the whole process again: deleted the device in the inventory, reinstalled the agent and assigned it following the procedure on the Management Console to add a BeagleBone device.
After the installation, the device ID was the same with the info command and in the inventory, then after the reboot the ID had changed on the device side (info command). Is there a way to prevent this form happening?
Agent version is 2.22.2.
After the reboot and the change in the device number, I did not reinstall the whole agent I just re-assigned it by using the "sudo teamviewer-iot-agent assign" command. Since then, it seems that rebooting doesn't have an effect anymore and the device appears as online even after reboot.
I'll try to confirm that on a second device.
Just tried with another device, the machine-id and MAC address didn't change but the device-id in teamviewer agent did, resulting in a loss of the device after reboot. After re-assignment, it seems that the device-id doesn't change anymore when rebooting.
I tried uninstalling the agent and reinstalling again, and it seems that I get the exact same device id after the first assignment than before uninstalling, and then the exact same id after reboot than before uninstalling the agent. So the id's are repeatable on the same hardware.
The problem seems to be linked to the assignment procedure, which would be slightly different between the first asignment after installation and when the device is assigned after a reboot.