從UART遠端登入樹莓派
教學 http://elinux.org/RPi_Serial_Connection
1) 確認硬體線路:樹莓與PC端的UART RX/TX 對接,GND共地。
2) PC端對樹莓下連線指令,使用screen
$ screen /dev/ttyUSB0 115200
3) 樹莓預設登入帳密:pi/raspberry
Raspbian GNU/Linux 8 raspberrypi ttyS0
raspberrypi login:
3.1) 成功登入
Raspbian GNU/Linux 8 raspberrypi ttyS0
raspberrypi login: pi
Password:
Last login: Mon Mar 27 14:58:38 CST 2017 on ttyS0
Linux raspberrypi 4.4.48-v7+ #964 SMP Mon Feb 13 16:57:51 GMT 2017 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
pi@raspberrypi:~$
4) 離開
Ctrl-A + K
確認是否離開 Really kill this window [y/n]