Mount-T smbfs-O username = administrator, password = 123456 // 192.168.100.htm/public/mnt/winkernel
Mount-t cifs-O username = administrator, password = 123456, codePage = cp936 // 192.168.100.htm/public/mnt/winkernel
[92615.408159] smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to CIFS
Reference
Company new storageProgramDedicated personnel are responsible for this. I need to talk about uploading the war package to a windws shared directory. Now it is changed to the Gentoo + xfce4 environment. Thunar does not support SMB: // protocol. Therefore, you only need to manually mount it. Samba has been installed before. Therefore, mount one directly.
Gentoo ~ # Mount-T smbfs-O username = aaa, password = aaa // 10.200.106.252/updatepack release
Error: smbfs filesystem not supported by the kernel
Please refer to the smbmnt (8) manual page
Smbmnt failed: 255
We found that the kernel does not support smbfs. Then we re-compiled the kernel.
<> SMB File System Support (obsolete, please use CIFS)
CIFS support (advanced network filesystem, smbfs successor)
[*] CIFS Statistics
[*] extended Statistics
[*] Support legacy servers which use weaker LANMAN Security
[*] CIFS extended attributes
[*] cifs posix extensions
[*] enable additional CIFS debugging routines
[] CIFS experimental features (Expe Rimental)
when you see the SMB file system, you can see the obsolete. It seems that this is not recommended. CIFS is recommended, so CIFS is selected. It seems to be the successor of smbfs.
Compile and replace the kernel, restart it, And then mount it. The depressing thing is that it still prompts No. However, when CIFS is selected, I assume that CIFS must support smbfs. This is not the case. To mount-T smbfs, You must select SMB file system support. At that time, we had to use Windows in vbox to access the shared directory. But I don't know why it's surprisingly slow. It takes 20 minutes (orz) to copy a 10 m package on a m lan ).
Later I realized that my thoughts were wrong. I do not want to use the obsolete SMB file system support. So I found the answer in the gentoo-wiki.com.
Gentoo ~ # Mount-t cifs // 10.200.106.252/updatepack/home/Rory/release-o "username = aaa, password = aaa, uid = 1000, isocharset = cp936"
Everything is done. Then write this command into the startup script.
Rory @ Gentoo ~ $ More/etc/CONF. d/local. Start
#/Etc/CONF. d/local. Start
# This is a good place to load any MISC programs
# On startup (use &>/dev/null to hide output)
############# Smbmount release from dual ################
Mount-t cifs // 10.200.106.252/updatepack/home/Rory/release-o "username = aaa, password = aaa, uid = 1000, isocharset =
Cp936"
################################## ########################
if you do not have a local. start should have a local file.