|
已经正确加载了usb驱动,DD也正确识别的优盘,1G的优盘,格式化为Ext2。
正确mount了jffs和opt目录,升级了ipkg
下载了oleg的3.2.10安装包
安装一切顺利
可是在我配置S08samba和smb.conf的时候,却总是提示在21行和23行未发现/opt/sbin/ 目录下的nmbd和smbd文件,而我用telnet明明看见在/opt/sbin/ 目录下看到了这两个2M和7M多的文件。
路由器的LAN IP 是192.168.1.1
贴上conf文件内容
- [global]
- bind interfaces only = yes
- interfaces = 192.168.1.1/24
- workgroup = Workgroup
- server string = 600N
- guest account = admin
- security = share
- load printers = no
- socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
- netbios name = 600N
- 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
复制代码
- #!/bin/sh
- # set samba_active=1 to activate samba
- samba_active=1
- [ 1 = $samba_active ] || exit 0
- if [ -n "`pidof smbd`" ] ; then
- echo "Stopping smbd:"
- killall smbd
- fi
- if [ -n "`pidof nmbd`" ] ; then
- echo "Stopping nmbd:"
- killall nmbd
- fi
- sleep 2
- echo "Starting nmbd:"
- /opt/sbin/nmbd -D
- echo "Starting smbd:"
- /opt/sbin/smbd -D
复制代码
下面是telnet的反馈信息
- root@600N:/jffs/tmp# /opt/etc/init.d/S08samba
- Starting nmbd:
- /opt/etc/init.d/S08samba: line 21: /opt/sbin/nmbd: not found
- Starting smbd:
- /opt/etc/init.d/S08samba: line 23: /opt/sbin/smbd: not found
复制代码
搜了很久,似乎都没有人遇到过这样的问题 |
|