树莓派3b+ 用samba与windows共享文件

    xiaoxiao2021-04-17  42

    1.

    树莓派安装samba

    sudo apt-get install samba

    2.

    设置一个公共目录

    cd /;sudo mkdir share;sudo chmod 777 share sudo vim /etc/samba/smb.conf 在最后添加: [share] comment = pi share path = /share browseable = yes read only = no writable = yes public = yes

    3.这样就能在windows的”网络“中找到raspberrypi

     

     

    share目录是有777权限的

    如果要在windows中编辑pi上的文件,要用noteopad++,选择utf-8 without BOM

    转载请注明原文地址: https://ju.6miu.com/read-673743.html

    最新回复(0)