Configure your devices
We first create a DeepCore config file and then place it on the DeepCore device. If you have already generated a config file please skip to "Configure your Deepcore"
Generate a DeepCore config file
This section assumes that you already have a running installation of the DeepServer. If not, please follow the instructions in previous sections.
Pre-requisites
- A running instance of the DeepServer
- A console
- Open a terminal and navigate to the installation folder of your deepserver installation
cd /opt/aivero/ds
- Run the config generator:
./deepcore-config-generator/generate_deepcore_config.sh .env ./deepcore-config-generator/config.json.template "$PWD/config.json"
- Copy the newly create
config.json
file to a location you can easily find it:
cp ./config.json ~/
Configure your DeepCore
sudo apt -y install filezilla nmap
- A DeepCore Daemon config.json file generated from a DeepServer installation
- Network access to the DeepCore you want to configure.
- A Linux machine with nmap or internet access to install it.
Find the IP address of your device
You have two options to find the IP address:
Note the devices IP address from the balena fleet dashboard:
Use nmap to find your device:
Install nmap: https://nmap.org/
Find network devices on your network by running a scan (follow this guide):
sudo apt install net-tools
nmap 192.168.0.1-255 -p 21
Configure FileZilla
Configure your ftp client to use the data port / local port range 30090 - 30100
.
In Filezilla this is done in the Edit→Setting
page under Connection→FTP→Active Mode
You also need to set active connections only by navigating to Edit→Settings→Connection→FTP
and selecting Transfer Mode - Active
.
Install the config file on the DeepCore Device
- Setup the FTP connection use the server's IP address and login with these credentials:
- Username:
deepcore
- Password:
td55p3o25!
- Username:
- In your FTP client copy the
config.json
file onto the device at the location:config/deepcore-daemon
. - Restart / replug your device
- The device will show up in your Aivero Dashboard
Updated 12 months ago