remote control

minicom

Connect the USB cable to your computer to get the IP

Serial communication software(minicom) can be used in Linux OS

minicom -s
+-----[configuration]------+
| Filenames and paths      |
| File transfer protocols  |
| Serial port setup        |
| Modem and dialing        |
| Screen and keyboard      |
| Save setup as dfl        |
| Save setup as..          |
| Exit                     |
| Exit from Minicom        |
+--------------------------+
  • Enter Serial port setup ,modify Serial Device to /dev/ttyUSB0 。Bps/Par/Bits change to 115200 8N1, the bottom two options are NO

  • Enter Modem and dialing , delete A, B, and K items

  • Then select Save setup as dfl to save the settings

  • Finally, select Exit to exit the configuration mode and enter the control mode

user:root
password: xia17pxn

The password is the default, so users can log in.

Assuming the IP address is 222.29.111.80, you can log in with the following command.

ssh -Y root@222.29.111.80

static IP setting

Because Ubuntu 18.04 uses netplan to manage the network. So you can create a file ending in yaml in the /etc/netplan/ directory. For example, the 01-netplan.yaml file.

Then write the following configuration under this file(You need to modify the IP address and gateway):

network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      dhcp4: no
      addresses: [192.168.1.110/24]
      gateway4:  192.168.1.1
      nameservers:
        addresses: [8.8.8.8, 114.114.114.114]

It is important to note that the spaces in each line must be there, otherwise the error will be reported and the setting will fail!

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      addresses: [10.10.6.33/24]
      gateway4: 10.10.6.10
      dhcp4: no

The above parameters are the configurations used by the CIAE experiment.

Finally, use sudo netplan apply to restart the network service. Use ip a to see if your static IP is set up successfully!