Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2005 18:17:26 +0100
From:      eoghan <freebsd@redry.net>
To:        Erik Norgaard <norgaard@math.ku.dk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: computer name
Message-ID:  <6B1BC1A2-2332-442C-978F-BF079487ED5D@redry.net>
In-Reply-To: <Pine.LNX.4.64.0510221906180.6417@shannon.math.ku.dk>
References:  <7381F490-0CDC-48E5-9137-924B25A8F670@redry.net> <Pine.LNX.4.64.0510221906180.6417@shannon.math.ku.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B1BC1A2-2332-442C-978F-BF079487ED5D>