![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/404625aa-0d2e-4128-8357-f7959e0db46b.jpg)
一、官方资料
RISC-V官网:https://rvspace.org
RISC-V中文:https://rvspace.org/zh/home
《昉·星光2单板计算机快速参考手册》: https://doc.rvspace.org/VisionFive2/PDF/VisionFive2_QSG.pdf
二、SSH登录
2.1. 打开SSH协议
登录成功之后,输入:
nano /etc/ssh/sshd_config
在文件末尾添加:
TCPKeepAlive yes
ClientAliveInterval 72000
ClientAliveCountMax 3
PasswordAuthentication yes
PermitRootLogin yes
添加后键盘按下Ctrl + X,输入y并回车保存更改。
输入下面命令重启ssh服务:
service sshd restart
2.2. 联网
VisionFive2没有网络, 所以就需要通过网线来联网, 你可以把网线插到路由器的LAN口上来联网, 也可以把网线插到电脑的网口上来联网。
这里我使用笔记本的网口做演示。
笔记本使用wifi连网, 然后允许网络共享wifi的网络。
VisionFive2连接笔记本, 笔记本如果不做网络共享, SSH连不上VisionFive2
1.查看网卡情况
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/4d6e83ba-5447-4157-8f40-a821a5f9a7ef.png)
2.配置WIFI
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/dc08c83c-e68f-4471-8fb4-272be6017d2f.png)
3.共享配置
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/8cdacdcd-53f5-4a54-8f52-0ab423e96dcd.png)
2.3. 连接VisionFive2
下载mobaxterm, 此软件既支持SSH协议, 又支持FTP协议, 十分的方便。mobaxterm
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/2b2037f3-f862-48f7-83c3-c55b48aaca90.png)
2.4. 连接配置
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/df449978-35c6-4e16-8fc3-110f7658cbcf.png)
2.5. 效果
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/1bdcbcb0-a043-48fa-84fc-65606ae1f3b3.png)
总结
板子不带wifi, 是真的很麻烦。回头买个网卡联网试试。
顺便用板子看个视频
![](https://xccfriend.oss-cn-shenzhen.aliyuncs.com/pc/2024-02-20/c9ae3fa6-1a37-483e-80e1-49f1ebcd26b0.png)
2024/02/20 08:59
全部评论