From owner-freebsd-questions@FreeBSD.ORG Sun Jan 22 18:15:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F5A516A41F for ; Sun, 22 Jan 2006 18:15:44 +0000 (GMT) (envelope-from sequethin@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A20C43D49 for ; Sun, 22 Jan 2006 18:15:40 +0000 (GMT) (envelope-from sequethin@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so565727wxc for ; Sun, 22 Jan 2006 10:15:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:sent-from-pda:user-agent; b=Drttk6hCCyJDp63c0DORDyr5xMNY+rw1uUiMwO1B6yPAS4BWv5m1FtrJreunwRicaI697ZOvoS9HOoelOlPMtyI9+GjEyvs70kgw8PYIYerL62BCm+I/uzvOIH6xZW+vtY2BgA5SwkDX0jTP37EE1dOspa/bGThtTP/dEg4qa7E= Received: by 10.70.131.17 with SMTP id e17mr4968907wxd; Sun, 22 Jan 2006 10:15:39 -0800 (PST) Received: from localhost ( [24.193.224.187]) by mx.gmail.com with ESMTP id i16sm6175837wxd.2006.01.22.10.15.39; Sun, 22 Jan 2006 10:15:39 -0800 (PST) Date: Sun, 22 Jan 2006 13:15:39 -0500 From: Mike Hernandez To: freebsd-questions@freebsd.org Message-ID: <20060122181538.GA31000@dementia.beyondnormal.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <43D3BFB0.8000708@takas.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D3BFB0.8000708@takas.lt> Sent-From-PDA: Yes User-Agent: Mutt/1.5.9i Subject: Re: samba mount by name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 18:15:44 -0000 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