OSX - Screen Serial Terminal - OSX에서 시리얼 터미널 사용하기

by digipine posted Nov 03, 2017
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

In OSX, turn on the terminal, plug in your FTDI USB-serial dongle, you should see a new usbserial device created under /dev. Use "screen" to start the session, remember to state the baudrate at the end of the command:

 
OSX에서 시리얼 터미널을 사용하기 위해서는 우선 USB 방식의 시리얼 동글 카드가 필요합니다.
구입후에 맥의 USB  포트에 연결하면 드라이버를 설치하거나 자동으로 인식되는데요. /dev 디렉토리에보면
tty.usbserial-***  또는 **.usbserial.** 라는 장치명이 보일 것입니다.
 
screen [dev] [baud speed] 라는 명령어를 터미널에서 입력하면 됩니다.
 
$ screen /dev/tty.usbserial-394234 115200, 
 
 사용법
To detach(터미널로 빠져나오기): [ctrl]-a d
To re-attach(다시 시리얼 터미널로 돌아가려면): $ screen -r
To kill the screen(시리얼 터미널을 종료):[ctrl]-a k
 
참고로 시리얼 통식 속도 baud는 다음과 같은 종료가 있습니다.
110, 300, 120, 2400, 4800, 9600, 1440, 19200, 28800, 38400, 57600, 115200
TAG •

Articles

1 2 3