From owner-freebsd-questions Sun Apr 28 19:42: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 4433137B417 for ; Sun, 28 Apr 2002 19:41:57 -0700 (PDT) Received: from attbi.com ([12.252.0.125]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020429024157.HHIY25242.rwcrmhc53.attbi.com@attbi.com> for ; Mon, 29 Apr 2002 02:41:57 +0000 Message-ID: <3CCCB26C.4090300@attbi.com> Date: Sun, 28 Apr 2002 20:39:40 -0600 From: Aaron J Siegel User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: unrecognised FBSD box in other windows client References: <1020021963.3ccc4ccb3099b@pike.singnet.com.sg> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello In this case I do not believe you will want to use the hosts file. The hosts file just maps a know set of ip address to name, and it will work on the computer which owns that hosts file. Take a look at the man for dhclient.conf, you can send the DHCP server a hostname useing the line send host-name "box1.network.edu.sg", I have never used, it might work. Zhifu wrote: >Hi, I am running a FreeBSD box (hostname: box1.network.edu.sg) in a Windows network environment. The network assigns IP addresses dynamically. I have set my > >etc/hosts >127.0.0.1 localhost >155.69.10.20 box1.network.edu.sg box1 > >etc/rc.conf >hostname="box1.network.edu.sg" >ifconfig="DCHP" > >Problem >1) IP address keeps changing. I need to keep updating my /etc/hosts file. >2) I cannot ping box1 from another windows machine (box2) and from box2 to box1. Why is that so? > >Thanx in advance. >Zhifu (newbie) > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message