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

To log into Ubuntu on VisionFive 2 Lite using desktop over HDMI:
  1. Connect a monitor to ViisonFive 2 Lite via HDMI.

  2. Insert the Micro-SD card with the Ubuntu image flashed into VisionFive 2 Lite and power on the board.

  3. 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:

  1. 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.

  2. Perform the following according to your OS.

    OS Instructions
    Windows
    1. Log in to your router (usually 192.168.0.1).
    2. Go to DHCP configuration and find the IP address of VisionFive 2 Lite.

      You can find the IP address by using its hostname starfive.

    3. Download and install Putty
    4. Open Putty or other SSH terminal tool to log in to Ubuntu.
    5. Select SSH under the Connection Type.
    6. Configure the settings of the following:
      • Host Name: IP address of VisionFive 2 lite
      • Port: 22
    7. Click Open.
    8. 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
    1. Log in to your router (usually 192.168.0.1)
    2. Go to DHCP configuration and find the IP address of VisionFive 2 Lite.

      You can find the IP address by using its hostname starfive.

    3. Open a terminal and type the following:
      ssh <account>@<VisionFive 2 Lit IP address>
      For example,
      ssh user@192.168.0.1
  3. (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.
    1. Run the following command to configure the SSH server
      echo 'PermitRootLogin=yes'  | sudo tee -a /etc/ssh/sshd_config
    2. Restart the SSH server:
      sudo systemctl restart ssh.service
  4. 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.

  1. Insert the Micro-SD card with the Ubuntu image flashed into VisionFive 2 Lite.

  2. 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.

  3. 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
  4. Connect the USB-to-Serial converter to your PC.

  5. Perform the following according to your OS:

    OS Instructions
    Windows
    1. Open Device Manager. From Ports (COM & LPT), note down the name of the COM port number, for example COM4.
    2. Open PuTTY to connect your PC to the carrier board.
      • Connection Type: Serial
      • Serial Line: COM port, for example, COM4
      • Speed: 115200
      pir
    3. Click Open.
    Mac or Linux
    1. Open a terminal and run the following command to install minicom.
      sudo apt-get update
      sudo apt-get install minicom
    2. Identify the serial device.
      dmesg | grep tty
    3. Connect to the serial device.
      sudo minicom -D /dev/ttyUSB0 -b 115200
  6. Power on the board.

  7. Log in with the credentials:
    • Username: user
    • Password: starfive