萝卜L

导航

Smb Pi 共享 文件夹

Samba

Pi共享文件夹,供电脑访问。
无需副本、同步、版本管理。

Samba (SMB/CIFS)

Samba is an implementation of the SMB/CIFS networking protocol that is used by Microsoft Windows devices to provide shared access to files, printers, and serial ports.

Installing Samba Support

sudo apt install samba samba-common-bin smbclient cifs-utils

Sharing a Folder from your Raspberry Pi

电脑访问

  • 电脑"网络"未看到树莓派设备。

  • 可以使用路径访问。
    可用资源管理器地址栏,或,"映射网络驱动器"。

    路径:"raspberrypi\"佳

    • 用户名smbpasswd -a <用户名>
      (例子中是"pi")
    • 共享名:"/etc/samba/smb.conf"中[<共享名>]
      例子中是"share",为加强在Windows下的辨识,建议更名,如pishare。
  • 使用sudo systemctl restart smbd更新配置。
    出自Sharing files with the Raspberry Pi | The Raspberry Pi Guide (raspberrypi-guide.github.io)

参考

posted on 2022-06-30 11:41  萝卜L  阅读(51)  评论(0编辑  收藏  举报