Connect to the Canbus
Steps
1. Install the tool:
$ sudo apt install can-utils
2. Enable the Canbus interfaces:
$ sudo ip link set can0 type can bitrate 500000
$ sudo ip link set up can0
$ sudo ip link set can1 type can bitrate 500000
3. Receive can frame from a terminal:
$ candump can1
4. Send can frame from another terminal:
$ cansend can0 123#9995
$ cansend can0 123#9996
$ cansend can0 123#9997
$ cansend can0 123#9998
$ cansend can0 123#9999
Mount USB storage
Steps
1. Plug your USB storage into the device and use the following command to identify the disk as /dev/sdxx:
$ sudo fdisk -l
Figure 80. Identify USB storage
2. Create a directory to be the mount point:
$ mkdir /tmp/storage
Setting Up the Ubuntu Operating System
79