Ubutu 下安装putty并且连接树莓派

环境

树莓派2一个,USB转TTL线一个

Ubuntu 14.04

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4

cmake version 3.5.1

步骤

I:到网上下载putty源代码:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

0.67 release source code for Unix
Source: putty-0.67.tar.gz (or by FTP) (signature)
Source: putty-0.62.tar.gz (or by FTP) (RSA sig) (DSA sig)
II:然后拷贝到主目录下解压:

cp ./putty-0.67.tar.gz /home/lee/

cd

tar -zxvf ./putty-0.67.tar.gz

III:进入解压后的文件夹下编译putty

cd ./putty-0.67-2016-04-10.5c42f97/

./configure

make

sudo ./putty

IV:查询自己电脑的串口信息 参见:http://blog.csdn.net/robertsong2004/article/details/38533039

lee@lee:~/putty-0.67$ sudo dmesg | grep tty
[sudo] password for lee:
[    0.000000] console [tty0] enabled
[ 6385.735055] usb 1-2: ch341-uart converter now attached to ttyUSB0

对应ch341的就是自己的树莓派了,记住attached to 后面的信息,后面的putty里面要用到

选择Connection type为Serial, 设置speed为115200, Serial line 为/dev/ttyUSB0(刚才查到的那个)

点击打开putty输入终端密码进入树莓派吧.

你可能感兴趣的:(linux,putty,raspberry)