First Use
1. Power Supply and Startup
First connect the DC 12V power supply, then short-press the PWR button to power on the device normally. You can check the LED status through the side ventilation opening: on a short press the red and blue LEDs light up simultaneously; after a successful boot the blue LED blinks.
2. Log in to the Device Terminal
Because the 1684X box has no display output interface, operations must be performed through the command line. The following introduces two ways to log in to the terminal.
Tips
The box has two default usernames: User 1: linaro, password linaro; User 2: admin, password admin.
The linaro user has more complete functionality; it is recommended to use this user.
The root account has no initial password. Before using it, you must first run sudo passwd root from the linaro account to set a password.
You can log in to the device via serial port or network SSH.
2.1 Serial Login
Connect the PC's USB port to the DEBUG port (i.e. the typeC port) of the 1684X box, and open the serial port with a serial tool such as SecureCRT or MobaXterm. The PC requires the CH340 driver; select the corresponding COM port and set the baud rate to 115200.
Tips
Download link: please click Tools download to download the driver files and serial tool.
Taking MobaXterm as an example:

Enter the username and password to log in to the terminal:

2.2 Network SSH Login
First make sure your PC and the 1684X box can reach each other on the network (i.e. are on the same LAN). You can use an Ethernet cable to connect the PC to network port 1 (LAN1, static IP: 192.168.49.102) or network port 2 (LAN2, static IP: 192.168.49.32); network port 2 is recommended. Then set your PC's network adapter IP to a static IP 192.168.49.xxx as follows:
Open Control Panel > Network and Internet > Network Connections, find the corresponding network adapter, Edit properties -> click IPv4 -> set IP manually -> enter 192.168.49.XXX.

Then you can log in to the device via SSH. Taking MobaXterm as an example:

Enter the password to log in:

Note
Root privileges are required. You can use sudo <command> or sudo -i to switch to the root user and execute commands.
If you need to use SSH to upload files to system directories such as /opt, select the root account when connecting. The relevant setup is as follows:
Use the linaro account to set the root password: enter sudo passwd root in the terminal and customize the password.
Edit the SSH file and add PermitRootLogin yes:
#修改ssh文件
sudo vim /etc/ssh/sshd_config
#修改后重启ssh服务,此时可能会断连,重启即可
sudo service sshd restart
Create a session that uses root as the account; after entering the password you can upload files to system directories.

3. Shutdown
Warning
Never cut off the DC power directly. Use the command sudo poweroff to shut down, to avoid unpredictable errors and damage to the box system.
