APRS: Setup Console Terminal komunikasi serial di Linux

From OnnoWiki
Jump to navigation Jump to search

Instalasi Aplikasi screen

sudo apt-get install screen

Parameter serial untuk TNC biasanya

Baud Rate: 19200
Data: 8-bit
Parity: None
Stop: 1-bit
Flow Control: None

Jalankan

dmesg

Jika USB serial baru di colok di bagian bawah akan tampak kira-kira

usb 3-1: new full-speed USB device number 2 using uhci_hcd
usb 3-1: New USB device found, idVendor=067b, idProduct=2303
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: USB-Serial Controller D
usb 3-1: Manufacturer: Prolific Technology Inc. 
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
pl2303 3-1:1.0: pl2303 converter detected
usb 3-1: pl2303 converter now attached to ttyUSB0

Perhatian kata-kata "... now attached to ttyUSB0". 'ttyUSB0' adalah address USB di file system anda.

Sekarang lakukan

sudo screen /dev/ttyUSB0 19200,cs8,-ixon,-ixoff

atau coba beberapa kecepatan

sudo screen /dev/ttyUSB0 9600,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 14400,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 19200,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 28800,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 38400,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 56000,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 57600,cs8,-ixon,-ixoff
sudo screen /dev/ttyUSB0 115200,cs8,-ixon,-ixoff