[操作疑難] 如何 setup SAMBA

http://www.hkepc.com/forum/viewthread.php?tid=2272772
已經試過以上的提議, 但係唔成功, 請問有冇其他提議?

  1. 但係次次到"id/password"之後先話"server not found"之類既error
複製代碼
係乜盒仔, 入唔到 ip 點 set 嘢
响個盒仔入 router admin page, 應該都得掛

TOP

係乜盒仔, 入唔到 ip 點 set 嘢
响個盒仔入 router admin page, 應該都得掛
cal22cal 發表於 2016-3-25 12:44

唔駛set, 自動搵到個Samba Server
個盒係GEIC BDP3606, 唔係行android, 冇browser

TOP

上 samba ok, 係 win7 上 router share ok ?
一話 br 機, 上 win7 share ok ?

router 可唔可以用 nfs ?
睇吓呢個有冇用 (可能係唔同機, 不過試吓冇壞) ?
http://www.boa.hk/banner/oppo_support/windows_nfs.pdf
仲有, firmware 係唔係最新版本 ?

TOP

已經試過以上的提議, 但係唔成功, 請問有冇其他提議?
Ultraman 發表於 25/3/2016 12:04

重答一次: 先用最簡單的 smb.conf !!! 駁通咗先玩其它 options!

TOP

samba setting 真係好煩吓

TOP

重答一次: 先用最簡單的 smb.conf !!! 駁通咗先玩其它 options!
toylet 發表於 2016-3-25 18:50

而家係咁樣, 可以點樣簡化

[global]
workgroup = WASPHOME
netbios name = AC68U
server string = AC68U
unix charset = UTF8
display charset = UTF8
log file = /var/log.samba
log level = 0
max log size = 5
security = SHARE
max protocol = CORE
null passwords = yes
passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd
force directory mode = 0777
force create mode = 0777
max connections = 10
interfaces = br0 192.168.1.1/255.255.255.0
use sendfile = yes
os level = 255
domain master = yes
local master = yes
preferred master = yes
store dos attributes = yes
dos filemode = yes
oplocks = yes
level2 oplocks = yes
kernel oplocks = no
wide links = no
guest account = admin
guest ok = yes
map to guest = bad user
[Acer]
comment = Acer
veto files = /.__*.txt*/asus_lighttpdpasswd/
path = /tmp/mnt/Acer
writeable = yes
dos filetimes = yes
fake directory create times = yes

TOP

本帖最後由 toylet 於 2016-3-25 21:00 編輯
而家係咁樣, 可以點樣簡化
Ultraman 發表於 25/3/2016 20:01

小人不是用 Asus AC68U, but 先留起大大的 smb.conf,  試試這個!
改完可能要 reboot router!
*** begin smb.conf ***
[global]
        workgroup = WASPHOME
        server string = Samba Server
        netbios name = AC68U
        max protocol = SMB2
        log file = /var/log/samba/log.%m
        max log size = 50
        security = user
        passdb backend = tdbsam
        encrypt passwords = true
        invalid users = root
        guest account = nobody
        map to guest = bad user
        local master = no
        os level = 1
        preferred master = yes
        load printers = yes
        cups options = raw
[homes]
        comment = Home Directories
        browseable = no
        writable = yes
[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes
[public]
        comment = Public Stuff
        path = /home/public
        public = yes
        writable = no
        printable = no
        browsable = yes
        write list = +staff
*** end smb.conf ***

TOP

回覆 8# toylet
我用你個[global]果段代替左我個[global], 結果你BDP3606睇唔到個Samba Server

p.s. 我用PC都睇唔到

TOP

回覆  toylet
我用你個[global]果段代替左我個[global], 結果你BDP3606睇唔到個Samba Server
p.s. 我用PC ...
Ultraman 發表於 25/3/2016 23:07

咁試試改這兩個:
security = SHARE
max protocol = CORE

TOP