树莓派 - 文件传输

尝试了这几种方式, sftp是成功的。 其他两个有点问题

SFTP, nfs, tftp


注意: 虚拟机网络设置要配置成bridged模式



sftp

sftp在树莓派默认是打开的, 在windows host上使用WinSCP. 




tftp 

open TFTP Server

扫描二维码关注公众号,回复: 1641840 查看本文章

https://sourceforge.net/projects/tftp-server/?source=typ_redirect



nfs

linux 虚拟机作为server. 但是在树莓派上 nfs-common 有如下的问题,没有解决

root@raspberrypi:/home/pi# sudo service nfs-common start
Failed to start nfs-common.service: Unit nfs-common.service is masked.
root@raspberrypi:/home/pi# sudo systemctl unmask nfs-common
root@raspberrypi:/home/pi# sudo service nfs-common start
Failed to start nfs-common.service: Unit nfs-common.service is masked.


参考:

https://blog.csdn.net/messidona11/article/details/71514265?locationNum=6&fps=1


猜你喜欢

转载自blog.csdn.net/feiwatson/article/details/80724141