树莓pi快速ssh【校园网】

校园网是NAT后的,没有显示器,我把路由器的DHCP服务关了,这样的情况下怎么ssh到树莓pi?

把树莓pi 连到路由器上(已经关闭DHCP),手机安装FING

https://play.google.com/store/apps/details?id=com.overlook.android.fing&hl=zh

手机也连到路由器上,打开fing

找到主机名字为raspberry pi 相关的就是了,然后ssh登录。

关于源,使用中科大的(因为是教育网,学校里不用登网关也可以安装软件)

https://lug.ustc.edu.cn/wiki/mirrors/help/raspbian

编辑 /etc/apt/sources.list 文件。删除原文件所有内容,用以下内容取代:

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contrib

apt-get update 就 OK 了。

原文地址:https://www.cnblogs.com/yuliyang/p/4198134.html