From owner-freebsd-questions@FreeBSD.ORG Sat Oct 22 17:17:36 2005 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 9D0E016A420 for ; Sat, 22 Oct 2005 17:17:36 +0000 (GMT) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 897F343D64 for ; Sat, 22 Oct 2005 17:17:28 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 99639 invoked by uid 89); 23 Oct 2005 03:17:30 +1000 Received: by simscan 1.1.0 ppid: 99625, pid: 99633, t: 0.8712s scanners: clamav: 0.86.1/m:33/d:984 spam: 3.0.4 Received: from unknown (HELO ?192.168.1.34?) (212.2.166.180) by 0 with SMTP; 23 Oct 2005 03:17:29 +1000 In-Reply-To: References: <7381F490-0CDC-48E5-9137-924B25A8F670@redry.net> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6B1BC1A2-2332-442C-978F-BF079487ED5D@redry.net> Content-Transfer-Encoding: 7bit From: eoghan Date: Sat, 22 Oct 2005 18:17:26 +0100 To: Erik Norgaard X-Mailer: Apple Mail (2.734) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on luke.segpub.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-questions@freebsd.org Subject: Re: computer 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: Sat, 22 Oct 2005 17:17:36 -0000 On 22 Oct 2005, at 18:09, Erik Norgaard wrote: > On Sat, 22 Oct 2005, eoghan wrote: > > >> Im wondering if someone can point me in the correct direction. I >> have set my host name in my hosts file as >> 127.0.0.1 localhost localhost >> 192.168.1.35 home.nathaniel localhost >> So I wanted to use this to get my freeBSD machine from another >> computer on my network. If it try http://home.nathaniel/ on the >> freeBSD machine it works perfect. >> But if I try from my mac i get the usual cannot find server. The >> ServerName in my httpd.conf is home.nathaniel. >> Id like to get it sending this name so I can also use it with >> samba like: >> \\home.nathaniel\public >> Instead of using the machines IP address. Thanks for any help. >> > > I think you're on the wrong track, domain names doesn't work like > host names for samba clients. Your BSD machine never sends its > name. There's no way other clients can resolve the host name. > > You need to tell the clients on your network about the hostnames of > other hosts. > > I don't know about Mac, but even Windows has a hosts file in which > you can list known hosts on the network without the need to setup > dns. This is fine if you have only a few hosts. > > Cheers, Erik Thanks Erik Yeah Ive got it working on my mac now and Ill make the changes to the windows hosts file too. Thanks all Eoghan