63

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?

1
  • Lamentably, the Debian samba package installs a "man samba" page that still talks about smbmount instead of mount.cifs - thanks for the more up-to-date information !
    – user149804
    Apr 16 '13 at 15:26
84

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.

......

5
  • 10
    The package name is cifs-utils. Thanks anyway
    – Ninsuo
    May 2 '13 at 15:07
  • 5
    For the record, this is what worked for me on Debian 8: mount.cifs //{ip address}/{dir} /mnt/remote --verbose -o "port=8888,username=foo,password=bar,sec=ntlm".
    – Adriano P
    May 11 '16 at 17:55
  • 2
    Building off of @AdrianoP I had to add a "vers=1.0" to the end: mount.cifs //{ip address}/{dir} /mnt/remote --verbose -o "port=8888,username=foo,password=bar,sec=ntlm,vers=1.0" Jun 27 '19 at 13:23
  • I also had to install keyutils for sec=krb support or I would get an error 2 when trying to mount Sep 11 '19 at 14:25
  • The -o rw which I consider the important part gives me mount: bad usage \\ Try 'mount --help' for more information.
    – Cadoiz
    Jan 18 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.