[Samba] smbmount how to?

Urban Widmark urban at teststation.com
Sat Aug 24 00:53:01 GMT 2002

On Fri, 23 Aug 2002, drobson wrote:

> I want to access files on my Windows PC from my Linux PC running Samba.
> I've looked at the documentation for smbmount, but like most Linux 
> documentation,
> it documents the "what is" not the"how to".

There is a smb howto that includes client part:

But it is seriously out of date and documents early samba 2.0.

> Could some kind-hearted, experienced soul give me the actual 
> configurations and
> commands needed to mount a directory of the Windows 98 file system on my
> Linux file tree so that I may access those files from within Linux?

On most standard linux installs you already have what you need. Try:

mount -t smbfs -o username=foo //win98netbiosname/share /mnt/smb

The smbmount manpage mostly shows what additional options you can choose
from. I think win9x only looks at the password you give and compares it
with the one for the share.

The only tricky part could be the win98netbiosname, it's not the dns name
and ip number doesn't work either. It must be the name the win9x box calls

If you built samba yourself, ensure you enabled smbmount in the
./configure command.

If you built the kernel yourself, ensure you built smbfs (as a module or 


More information about the samba mailing list