1、 安装Samba
sudo apt-get -y install samba samba-common-bin
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