win and linux 透過 samba 共用檔案
1. vim /etc/samba/smb.conf 如下:
[global]
unix charset = utf8
display charset = utf8
dos charset = cp950
security = user
[sharefiles]
comment = Share Files
path = /home/username
browseable = yes
read only = no
create mask = 0644
directory mask = 0755
public = yes
2. 設定samba帳號密碼:
smbpasswd -a <帳號>
3. restart:
/etc/init.d/samba restart
這樣應該就能用了,
在xp下test:
\\ip-ip-ip-ip-ip-ip
[global]
unix charset = utf8
display charset = utf8
dos charset = cp950
security = user
[sharefiles]
comment = Share Files
path = /home/username
browseable = yes
read only = no
create mask = 0644
directory mask = 0755
public = yes
2. 設定samba帳號密碼:
smbpasswd -a <帳號>
3. restart:
/etc/init.d/samba restart
這樣應該就能用了,
在xp下test:
\\ip-ip-ip-ip-ip-ip
留言
張貼留言