How do I install smbmount?

It seems that smbmount is not available in Kubuntu 12.10:

 - neptune():~$ smbmount //192.168.0.100/ samba/ -o rw
smbmount: command not found
 - neptune():~$ apt-file search smbmount
manpages-zh: /usr/share/man/zh_CN/man8/smbmount.8.gz
manpages-zh: /usr/share/man/zh_TW/man8/smbmount.8.gz
 - neptune():~$ aptitude search smbmount
 - neptune():~$

Furthermore, I cannot seem to use smbfs to mount:

 - neptune():~$ sudo mount -t smbfs //192.168.0.100/ samba/ -o rw
mount: unknown filesystem type 'smbfs'
 - neptune():~$ aptitude search smbfs
 - neptune():~$  

Any ideas how to continue?


Solution 1:

smbmount has been deprecated in favor of mount.cifs. I want to say "since at least 2008" but I can't find a reference.

Here's the accompanying manpage. You would use these parameters instead:

 sudo mount -t cifs //192.168.0.100/ samba/ -o rw

You might also need to install the cifs-utils Install cifs-utils package.

......