Log into Ubuntu
After flashing the OS, log in to Ubuntu using one of the methods described in this topic.
Log in using Desktop over HDMIS
-
Connect a monitor to ViisonFive 2 Lite via HDMI.
-
Insert the Micro-SD card with the Ubuntu image flashed into VisionFive 2 Lite and power on the board.
-
When the desktop login screen appears, enter the login credentials.
- Username: user
- Password: starfive
Log in using SSH over Ethernet
To log in to Ubuntu on VisionFive 2 Lite through an SSH connection over the local network:
-
Connect one end of an Ethernet cable to the RJ45 connector on VisionFive 2 Lite and the other end of the cable to a router.
On successful Ethernet connection, an IP address is assigned to VisionFive 2 Lite.
-
Perform the following according to your OS.
OS Instructions Windows - Log in to your router (usually 192.168.0.1).
- Go to DHCP configuration and find the IP
address of VisionFive 2 Lite.
You can find the IP address by using its hostname starfive.
- Download and install Putty
- Open Putty or other SSH terminal tool to log in to Ubuntu.
- Select SSH under the Connection Type.
- Configure the settings of the following:
- Host Name: IP address of VisionFive 2 lite
- Port: 22
- Click Open.
- If you need to use the root account for privileged operations in remote access, follow the instructions in Using SSH over Ethernet as Root Account.
Mac/Linux - Log in to your router (usually 192.168.0.1)
- Go to DHCP configuration and find the IP
address of VisionFive 2 Lite.
You can find the IP address by using its hostname starfive.
- Open a terminal and type the following:
ssh <account>@<VisionFive 2 Lit IP address>For example,ssh user@192.168.0.1
-
(Optional) If you need to use the root account for privileged operations in remote access, perform the following. If you don't need to log in as root user, skip this step.
- Run the following command to configure the SSH
server
echo 'PermitRootLogin=yes' | sudo tee -a /etc/ssh/sshd_config - Restart the SSH
server:
sudo systemctl restart ssh.service
- Run the following command to configure the SSH
server
-
Log in with the credentials:
- Username: user
- Password: starfive
Log in using USB-to-Serial Converter
Log into Ubuntu using a USB-to-Serial converter connected to the 40-pin GPIO header of VisionFive 2 Lite.
-
Insert the Micro-SD card with the Ubuntu image flashed into VisionFive 2 Lite.
-
Connect one end of the USB Type-C cable to the USB Type-C port on VisionFive 2 Lite, and connect the other end of the cable to the power adapter.
-
Connect the jumper wires from the USB-to-Serial converter to the 40-pinin GPIO header of the VisionFive 2 Lite as follows.
Figure 1. Connecting Jumper Wire -
Connect the USB-to-Serial converter to your PC.
-
Perform the following according to your OS:
OS Instructions Windows - Open Device Manager. From Ports (COM & LPT), note down the name of the COM port number, for example COM4.
- Open PuTTY to connect your PC to the carrier
board.
- Connection Type: Serial
- Serial Line: COM port, for example, COM4
- Speed: 115200
- Click Open.
Mac or Linux - Open a terminal and run the following command
to install
minicom.
sudo apt-get update sudo apt-get install minicom - Identify the serial
device.
dmesg | grep tty - Connect to the serial
device.
sudo minicom -D /dev/ttyUSB0 -b 115200
-
Power on the board.
-
Log in with the credentials:
- Username: user
- Password: starfive