|
|
把人家ghost包里的samba弄歇菜了 无法使用 只下载到了3.2.1-1 以前的配置文件无法使用显示
Installing samba (3.2.1-1) to /opt/...
package samba suggests installing cups
Configuring samba
The original samba version 2 config (/etc/samba/smb.conf) is no longer
working with this version of samba.
Please create a new samba version 3 config (/opt/etc/samba/smb.conf).
After verify your smb.conf file, modify and execute /opt/etc/init.d/S08samba
to activate the samba version 3.
Successfully terminated.
找了一下得改成下面的样子 samba才能启动
[global]
bind interfaces only = yes
interfaces = 192.168.1.1/24
workgroup = Workgroup //自己工作组名 别照抄
server string = Share
guest account = root
security = share
load printers = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
netbios name =7231
browseable = yes
dns proxy = no
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = yes
preserve case = yes
short preserve case = yes
dos charset = UTF-8
unix charset = UTF-8
display charset = UTF-8
wins support = yes
time server = yes
os level = 255
local master = yes
domain master = yes
preferred master = yes
hosts allow = 192.168.1.1/24
下面在填上共享目录
[Torrent]
comment = Torrent file space
path = /opt/share/torrent
public = yes
browseable = yes
writable = yes
printable = no
only guest = no
/opt/etc/init.d/S08samba
将 samba_active=0 改成 samba_active=1
第一次发这种帖子希望有用
把人家华硕的小改了一下 http://digiland.tw/viewtopic.php?id=237&p=1 用在咱们7231上来 |
|