rapsberry 2b+ 安装samba与windows共享文件
sudo apt-get install samba samba-common
sudo nano /etc/samba/smf.conf(先要把原来默认的配置文件删除)
然后写入下列内容
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = raspberry
security = user
[user]
comment = RASPBERRY
path = /home/pi
public = yes
writeable = yes
browseable = yes
guest ok = yes
然后执行;
sudo smbpassword -a [用户名]
输入密码
再次输入密码
这样就创建好了一个用户和密码
在windows 或是安卓手机登陆时,就可以输入此密码登陆