- Connect to the Odroid via a UART Module.
- Login using default credentials:
- Username:
odroid - Password:
odroid
- Username:
- Create a new user:
sudo adduser teamlary
- Grant sudo privileges:
sudo usermod -aG sudo teamlary
- Switch to the new user:
su teamlary
- Create default directories:
xdg-user-dirs-update
- Verify sudo access:
Expected output:
sudo whoami
root - Change the user password:
passwd
- Remove the default
odroiduser:sudo su userdel odroid userdel -r odroid
Ensure an RTC module is installed. Perform the following on all Linux-based MINTS nodes:
- Check current time settings:
timedatectl status
- Set system time zone to UTC:
timedatectl set-timezone UTC
- Configure RTC to use UTC:
timedatectl set-local-rtc 0
- Enable NTP synchronization:
timedatectl set-ntp true
✅ After completion, verify synchronization using:
timedatectl statusReference: Tecmint Guide
If no internet is available, configure automatic RTC sync via /etc/rc.local:
-
Edit the file:
sudo nano /etc/rc.local
-
Add the following script:
#!/bin/bash if [ -f /aafirstboot ]; then /aafirstboot start fi if ping -c 1 8.8.8.8 >/dev/null 2>&1; then echo "$(date): Internet detected - Syncing system clock..." sudo systemctl restart systemd-timesyncd sleep 10 if timedatectl | grep -q "System clock synchronized: yes"; then echo "$(date): Writing system time to RTC..." hwclock -w else echo "$(date): System clock not synced yet. Skipping RTC update." >> /var/log/time_sync.log fi else echo "No internet connection: Syncing system time from RTC..." hwclock -s fi exit 0
Behavior:
- 🌐 With Internet: Sync system clock via NTP and update RTC.
- 🚫 Without Internet: Restore system clock from RTC.
- On your DWService account, create a new agent.
- Download the installer for Ubuntu:
wget https://www.dwservice.net/download/dwagent.sh chmod +x dwagent.sh sudo ./dwagent.sh
- During installation, select Installer Code and enter the provided code to register the agent.
- Complete the setup by copying the agent code to your system.
To remove DWAgent:
sudo bash /usr/share/dwagent/native/uninstallFollow the on-screen instructions to complete the uninstallation.