samba mount by name

Mike Hernandez sequethin at
Sun Jan 22 10:15:44 PST 2006

On  Sun, Jan 22, 2006 at 07:24:00PM +0200, Aivaras wrote:
> How to get to samba share by name?
> On windows mashine typing in explorer \\ opens shares and 
> \\server doesnt.
> Mounting localy on server:
> mount_smbfs -I //server/data /mnt/samba - works
> mount_smbfs //server/data /mnt/samba - mount_smbfs: can't get server 
> address: syserr = Operation timed out
> ping server - I get good response - ping works to that name.
> /etc/hosts:
> server

You'll either need a DNS server or you'll have to edit your hosts
files. To include the names and ip's of the machines you want to
connect to by name. Windows has a hosts file that works very
similar to /etc/hosts. You need to add the ip address and name
of the machine to it.

Mike H

More information about the freebsd-questions mailing list