Hi i deployed a wrong deployment json onto percept dk and it is not showing me anythign now. i tried flashing the firmware but its not working either .can you help?
Hi i deployed a wrong deployment json onto percept dk and it is not showing me anythign now. i tried flashing the firmware but its not working either .can you help?
Hi @kaushikroy-7024 can you ssh the device? If you can, what is the current status of iot edge?
sudo iotedge check
Then I would recommend that you do sudo systemctl restart iotedge to restarts the Azure IoT Edge security daemon.
See more troubleshooting commands to try out if you can access your device via ssh: Troubleshooting commands
Thank you!
Hi @kaushikroy-7024 ,
In order to delete all existing data on the device, including SSH Users, AI models and containers you can Update Azure Percept DK over a USB-C connection and then start a new OOBE setup.
There isn't an option to remove previous users "from OOBE setup" but you can do it via SSH using some standard Linux commands to remove SSH users.
Get the list of user names (service names also will be shown) : cut -d: -f1 /etc/passwd
Delete the user in question: : sudo userdel <users_name>
DO NOT DELETE any other users as they are used by services.
Note: User names created for SSH only need to be created once. Not every time OOBE is ran. You can "Skip" or "Next" past the SSH pages. The previous username still exists and is usable for SSH "as is". When you get to device setup page, you would pick "Setup as a new device" and choose a new device name. This will create a new device instance in IoT Hub and deploy the appropriate default modules. Finally you can then go to Azure Portal and delete the old/previous Devices in Iot Hub to clean up things.
I hope I could help :).
Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.
Thank you so much! that clarifies a lot of things. i am going to research mroe and update you.
i basically went through the OOTB experience again and set it up correctly. however i noticed one thing that any user created before is always existing. so after 3 failed installations i got it right at 'kaushik04' but all previous attempted usernames are there. what can i do to clean those?
@kaushikroy-7024 thank you for sharing your solution. I am taking a look internally on how to clean previous configured users in the Out Of the Box Experience (OOBE).
2 people are following this question.