Access IoT box with SSH
The Odoo IoT Box is a raspberry pi based device that runs on the Raspbian OS, and we can access the IoT Box using SSH.
For this, we must first make sure that the IoT Box and the computer are on the same WiFi network. We need the IP address of the IoT Box, which can be fetched from the form view of the box. For this example, let’s take 192.168.44.8 as the IP address of the IoT Box.
1. In the terminal, execute the command,
$ ssh pi@192.168.44.8
pi@192.168.44.8's password:
2. raspberry is the password, enter this into the prompt.
3. After entering the password, the shell will be accessible. Now you can access the directory. The full filesystem will now be ready to explore.
We can use this SSH connection to perform any debugging with the IoT Box. In most cases, the IoT box does not shut down properly, so to avoid corruption of the system, the IoT Box filesystem is read-only.
As the IoT Box is connected only to the local machine, we cannot remotely access the IoT box through SSH. For that, we have to use the ‘ngrok’ service. The ngrok authentication key has to be provided on the Remote debugging page of the IoT Box.