#41 2008-07-12 19:21:08
- changenhsin
- 新生
- 註冊日期: 2008-06-18
- 文章數: 29
- 目前積分 : 0
Re: 安裝 SAMBA 3
ardayang 提到:
終於測試成功了,
原始網址http://wl500g.info/showthread.php?t=15052
下面是我的設定檔:
/opt/etc/samba/smb.conf[global] bind interfaces only = yes interfaces = 192.168.1.1/24 workgroup = Workgroup server string = ASUS_500GP guest account = admin security = share load printers = no socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE netbios name = ASUS_500GP 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 [Share] path = /opt/share browseable = yes writable = yes [USB] path = /tmp/mnt/disc1 browseable = yes writable = yes
太神奇了,真的可以了!謝謝拉!
離線
#45 2008-09-12 15:04:48
Re: 安裝 SAMBA 3
網路芳鄰無法存取WORKGROUP..................等錯誤訊息
[retsu@WL-001E8CBB2C5E /opt]$ killall smbd
killall: smbd: no process killed
[retsu@WL-001E8CBB2C5E /opt]$ killall nmbd
[retsu@WL-001E8CBB2C5E /opt]$ killall nmbd
killall: nmbd: no process killed
[retsu@WL-001E8CBB2C5E /opt]$ /opt/etc/init.d/S08samba
Starting nmbd:
Starting smbd:
[retsu@WL-001E8CBB2C5E /opt]$
我換成SAMBA2結果登入名稱不能改(GUEST)
密碼輸入很多次都進不去
輸入guest.admin.自己改的密碼都不能進去
我到底碰到什麼了... 居然要密碼才能進網路芳鄰
---------------------------------------------------
已經解決
問題在/opt/etc/samba/smb.conf
裡面的guest account = admin
admin要改成自己的帳號名稱(預設就是admin......)
因為我有改過所以會有錯誤......
最後修改: k13080215 (2008-09-13 13:39:45)
離線
#46 2008-10-03 00:29:32
Re: 安裝 SAMBA 3
我安装了samba3,版本是:3.2.4-1,发现在smb.conf里面必须要注释掉"dos charset = UTF-8",否则运行"/opt/etc/init.d/S08samba"时会出现错误提示:
Starting nmbd:
Aborted (core dumped)
Starting smbd:
Aborted (core dumped)
注销了此项目之后,运行/opt/etc/init.d/S08samba时不报错误了,感觉进程也在运行了(我运行"killall smbd"和"killall nmbd"都不会出现"no process killed"的提示)
但我用网上邻居无法看到WL-HDD的共享文件夹,直接在地址打"\\192.xxx.xxx.xxx\NAS"都无法访问。到底是什么一回事呢?
離線
#47 2008-10-03 09:01:18
Re: 安裝 SAMBA 3
fshell 提到:
我安装了samba3,版本是:3.2.4-1,发现在smb.conf里面必须要注释掉"dos charset = UTF-8",否则运行"/opt/etc/init.d/S08samba"时会出现错误提示:
Starting nmbd:
Aborted (core dumped)
Starting smbd:
Aborted (core dumped)
注销了此项目之后,运行/opt/etc/init.d/S08samba时不报错误了,感觉进程也在运行了(我运行"killall smbd"和"killall nmbd"都不会出现"no process killed"的提示)
但我用网上邻居无法看到WL-HDD的共享文件夹,直接在地址打"\\192.xxx.xxx.xxx\NAS"都无法访问。到底是什么一回事呢?
SAMBA 3 更新版有做設定修正,建議您參考 ardayang 兄的 smb.conf 設定,再試試看。
https://digiland.tw/viewtopic.php?pid=1147#p1147
技術問題請於論壇上集眾人之力公開討論,感恩
離線
#48 2008-10-03 21:29:16
Re: 安裝 SAMBA 3
Aven 提到:
SAMBA 3 更新版有做設定修正,建議您參考 ardayang 兄的 smb.conf 設定,再試試看。
https://digiland.tw/viewtopic.php?pid=1147#p1147
我按照ardayang的smb.conf做了一个,内容如下:
[global]
bind interfaces only = yes
interfaces = 192.168.0.1/24
workgroup = Workgroup
server string = ASUS_WL_HDD
guest account = root
security = share
load printers = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
netbios name = ASUS_NAS
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.0.1/24
[Share]
path = /opt/owner
browseable = yes
writable = yes
[USB]
path = /tmp/mnt/disc1
browseable = yes
writable = yes
结果还是一样,运行S08samba脚本启动时,不报告任何错误,但就是在网路芳邻无法访问WL-HDD,无论用NAS名还是直接在地址栏打ip地址
最後修改: fshell (2008-10-03 21:32:06)
離線
#50 2008-10-03 21:57:14
Re: 安裝 SAMBA 3
谢谢Aven的热心解答,终于找到问题所在,是我没有设置WL-HDD的ip到smb.conf里面。
[global]
bind interfaces only = yes
#以下填写WL-HDD的IP地址
interfaces = 192.168.0.x/24
workgroup = Workgroup
server string = ASUS_WL_HDD
guest account = root
security = share
load printers = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
netbios name = ASUS_NAS
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.0.1/24
[Share]
path = /opt/owner
browseable = yes
writable = yes
[USB]
#由于WL-HDD每次插入一个不同的U盘,都会在/tmp/mnt下mount一个不同的目录
#所以,USB的共享最好还是指定/tmp/mnt,这样子可以识别所有U盘
path = /tmp/mnt
browseable = yes
writable = yes
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
如果N13U B1刷DD-WRT下QoS,P2P,BT,架設FTP,Samba,Web+php 作者 hollowaysxp
|
1 | 12692 | 2011-11-15 20:32:59 作者 changeway |
RT-n16 DD samba 和FTP傳輸問題 作者 wchpei
|
2 | 13263 | 2011-11-11 09:28:34 作者 wchpei |
samba 3 nas 無法由主機名稱找到 只能從ip找 作者 ted_chou12
|
6 | 23551 | 2011-02-02 12:26:32 作者 hannahmo |
|
10 | 47995 | 2010-02-24 18:01:05 作者 hippo |
WL500gp 加裝 Samba 3.2.14-1 作者 vifung
|
2 | 13340 | 2009-08-30 21:41:48 作者 hippo |