ฉันใช้เครื่อง RaspberryPi เล็ก ๆ น้อย ๆ ที่ฉันต้องการเปลี่ยนเป็นเครือข่ายพลังงานต่ำที่ไม่ได้รับการป้องกันอย่างสมบูรณ์ในเครือข่ายภายในบ้านของฉันจุดมุ่งหมายคือการเป็นสากล การถ่ายโอนข้อมูลเครือข่ายและสื่อที่ใช้ร่วมกัน
ฉันได้ติดตั้งไดรฟ์ USB และอ่านได้จาก linux ส่วนแบ่งสามารถมองเห็นได้จากเดสก์ท็อป Windows8 (64Bit) ของฉันโดยไม่มีชื่อผู้ใช้หรือรหัสผ่าน แต่ไม่มีอะไรในเครือข่ายรวมถึง W7 (64Bit) ของฉัน หุ้น
pi@SambaPi /var/log/samba $ uname -a
Linux SambaPi 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux
fstab:
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/sda1 /media/USBDRIVE ntfs-3g rw,defaults,acl 0 0
cat /etc/samba/smb.conf | egrep -v '^ # | ^; | ^ $' (Samba config โดยไม่มีช่องว่างความคิดเห็นและเซมิโคลอนแปลก ๆ (เส้นเหล่านั้นคืออะไร)
[global]
workgroup = WORKGROUP
realm = raspberrypi
netbios name = raspberrypi
server string = %h server
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 10
panic action = /usr/share/samba/panic-action %d
security = SHARE
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
socket options = TCP_NODELAY
usershare allow guests = yes
[homes]
comment = Home Directories
browseable = yes
[USB]
path = /media/USBDRIVE
comment = Media Share
writeable = yes
browseable = yes
guest ok = yes
public = yes
force user = root
read only = no
read only = yes
create mask = 0775
directory mask = 0775
getfacl / media / USBDRIVE
# file: USBDRIVE/
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
default:user::rwx
default:group::r-x
default:other::r-x
getfacl /media/USBDRIVE/testFileMadeAtCommantLine.txt
# file: testFileMadeAtCommantLine.txt
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
ฉันเคยผ่านบันทึกของระบบและไม่ได้เห็น สิ่งใด ที่สอดคล้องกับข้อความอนุญาตที่ฉันได้รับเมื่อฉันพยายามเพิ่มหรือลบไฟล์ในการแชร์