From owner-freebsd-questions@FreeBSD.ORG Sat Oct 22 17:10:02 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 BFAE716A41F for ; Sat, 22 Oct 2005 17:10:02 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from mail.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5237A43D53 for ; Sat, 22 Oct 2005 17:10:00 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from mail.math.ku.dk (localhost [127.0.0.1]) by mail.math.ku.dk (Postfix) with ESMTP id 6ECA51B28A; Sat, 22 Oct 2005 19:09:57 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by mail.math.ku.dk (Postfix) with ESMTP; Sat, 22 Oct 2005 19:09:57 +0200 (CEST) Date: Sat, 22 Oct 2005 19:09:57 +0200 (CEST) From: Erik Norgaard To: eoghan In-Reply-To: <7381F490-0CDC-48E5-9137-924B25A8F670@redry.net> Message-ID: References: <7381F490-0CDC-48E5-9137-924B25A8F670@redry.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:10:02 -0000 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