Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to mount two Samba shares from my Ubuntu Server to my Desktop they are:

path = /media/share
read only = no
guest ok = yes

path = /var/www
read only = no

I made two directories in my home folder on the desktop called share and www how do I mount these now? I have to use the terminal btw.

If I run the command: smbclient -L // from my Desktop which is the IP of my server it works.

share|improve this question

You can mount the samba share using a command like:

$ mount -t smbfs // /media/share

You can check the mount manual for more options. When you get the shares mounted correctly, you can add them to /etc/fstab to be mounted after system startup.

share|improve this answer

Khaled is right, but if you need further info, there's a good old howto in Ubuntuforums:

The same question was asked on AskUbuntu, and the answers are also very interesting, showing how to make that mount permanent easily

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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