|
himy
发表于 2017-5-11 19:22
来自 中国江西南昌
打QNAP的客服电话,然后有一个技术员联系我,远程解决。代码如下:可参考。
login as: admin
admin@192.168.1.8's password:
[~] # df
Filesystem Size Used Available Use% Mounted on
[~] #
[~] # smb2status
smbd (samba daemon) Version 3.6.25
smbd (samba daemon) is running.
max protocol SMB 1.0 enabled.
[~] # /etc/init.d/restart
-sh: /etc/init.d/restart: No such file or directory
[~] # /etc/init.d/smb.sh restart
Restarting SMB services:
Shutting down SMB services: smbd nmbd.
Shutting down winbindd services: winbindd.
locks path was set to /share/MD0_DATA/.locks
Shutting down winbindd services: winbindd.
Starting winbindd services:Starting SMB services:.
done.
[~] # /etc/init.d/restart
-sh: /etc/init.d/restart: No such file or directory
[~] # smb2status
smbd (samba daemon) Version 3.6.25
smbd (samba daemon) is running.
max protocol SMB 1.0 enabled.
[~] # smb2status
smbd (samba daemon) Version 3.6.25
smbd (samba daemon) is running.
max protocol SMB 1.0 enabled.
[~] # smb
smb21enable smb2disable smb2enable smb2status smbtools
[~] # smb
smb21enable smb2disable smb2enable smb2status smbtools
[~] # smb2enable
Shutting down SMB services: smbd nmbd.
Shutting down winbindd services: winbindd.
max protocol SMB 2.0 ... enabled.
locks path was set to /share/MD0_DATA/.locks
Shutting down winbindd services: winbindd.
Starting winbindd services:Starting SMB services:.
smbd (samba daemon) Version 3.6.25
smbd (samba daemon) is running.
max protocol SMB 2.0 enabled.
[~] # /etc/init.d/smb.sh restart
Restarting SMB services:
Shutting down SMB services: smbd nmbd.
Shutting down winbindd services: winbindd.
locks path was set to /share/MD0_DATA/.locks
Shutting down winbindd services: winbindd.
Starting winbindd services:Starting SMB services:.
done.
[~] # df
[~] #
[~] # cd /share/MD0_DATA/
[/share/MD0_DATA] # ll
drwxrwxrwx 46 admin administ 4.0k May 11 10:37 ./
drwxrwxr-x 31 admin administ 1.0k May 11 18:37 ../
[/share/MD0_DATA] # cd
[~] # cp /etc/config/smb.conf /share/MD0_DATA/Web/
[~] # cp /etc/default_config/smb.conf /mnt/HDA_ROOT/.config/smb.conf
[~] # reboot
[~] #
|
|