Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 13:15:39 -0500
From:      Mike Hernandez <sequethin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: samba mount by name
Message-ID:  <20060122181538.GA31000@dementia.beyondnormal.net>
In-Reply-To: <43D3BFB0.8000708@takas.lt>
References:  <43D3BFB0.8000708@takas.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
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 \\192.168.0.1 opens shares and 
> \\server doesnt.
> 
> Mounting localy on server:
> 
> mount_smbfs -I 192.168.0.1 //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:
> 192.168.0.1 server.domain.com 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060122181538.GA31000>