![Vantron GAPL User Manual Download Page 22](http://html1.mh-extra.com/html/vantron/gapl/gapl_user-manual_3437283022.webp)
Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
GAPL Edge Computing Gateway | User Manual
19
3.2.5
Remove a package
$ sudo apt-get remove
<package name>
3.2.6
Upgrade all packages
$ sudo apt-get upgrade
3.2.7
Change the device name
The default device name is “localhost” and the command for changing the name is:
$ sudo nmcli general hostname
<NAME>
3.2.8
Create a new user
Use the following command to create a new user:
$ sudo adduser
<USER NAME>
3.3
Interfaces
3.3.1
Serial ports
The single-layer device offers two serial ports (COM 1 & COM2), supporting
RS232/RS485/RS422 mode and RS232 mode, respectively.
When users select the expanded version, the dual-layer device offers four additional serial
ports (COM3 ~ COM6), supporting RS232 mode.
Currently COM1 and COM2 are configured for serial communication.
Refer to 1.4.5 for the pinout description of COM1 and COM2 which are mapped as
/dev/ttyS0 and /dev/ttyS1 respectively in the system.
1.
Use a proper cable (e.g., a USB to DB9 adapter) to connect the serial ports;
2.
Install a serial communication program (e.g., minicom) and change the parameters of
the program to conform the settings of the serial port (baud rate: 115200/38400/
9600; data bit/parity/stop bit: 8N1).
3.
Use the serial communication program to transmit data:
$ sudo minicom -D /dev/ttyS0 -b 115200