From owner-freebsd-questions Sun Apr 21 13:41:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp25.singnet.com.sg (smtp25.singnet.com.sg [165.21.101.224]) by hub.freebsd.org (Postfix) with ESMTP id A6ECA37B405 for ; Sun, 21 Apr 2002 13:41:17 -0700 (PDT) Received: from flounder.singnet.com.sg (flounder.singnet.com.sg [165.21.101.116]) by smtp25.singnet.com.sg (8.12.3/8.12.3) with ESMTP id g3LKfCmP016773 for ; Mon, 22 Apr 2002 04:41:12 +0800 Received: (from cooluser@localhost) by flounder.singnet.com.sg (8.11.2/8.11.2) id g3LKfC602367 for freebsd-questions@FreeBSD.ORG; Mon, 22 Apr 2002 04:41:12 +0800 X-Authentication-Warning: flounder.singnet.com.sg: cooluser set sender to limdorj@singnet.com.sg using -f To: freebsd-questions@FreeBSD.ORG Subject: Problem: dynamic IP static hostname Message-ID: <1019421672.3cc323e875c30@flounder.singnet.com.sg> Date: Mon, 22 Apr 2002 04:41:12 +0800 (SGT) From: Zhifu Reply-To: limdorj@singnet.com.sg MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: SingNet WebMail 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 Hi, I am new to BSD environment. how do you subscribe/reply to the mailing list of freebsd-question? Specifically to my problem, I am asked to setup a BSD box which can plug into any network point that assigns the box a dynamic IP address. The box will act as a webserver to serve out intranet application as well as FTP server. I face the following problems: 1) How to configure /etc/hosts to map the dynamic IP to the hostname. 2) I am unable to PING from other Windows terminal but i can do PING 3) What should I put in /etc/rc.conf for hostname= I need the hostname in order to serve let other users access the box but I cannot use redirectional services from the internet or ask the network admin to assign me a specific address. I need to come up with a plug and play box. Thank you in advance. On Sunday 21 April 2002 06:28 am, Zhifu wrote: > Hi, I am a newbie. I am puzzled on how to configure a hostname to the > dynamic IP that I am assigned to in the network. I intend to use the BSD > box as a FTP server. I am using FreeBSD 4.4 Stable. Go here: http://www.dyndns.org/ Sign up for a resolvable name using one of the many domains they offer. Use that name as your FQDN of your freebsd box. Go to the clients section of that web site and download and make ez-ipupdate and compile it. Works well with freebsd. Each time you dynamically assigned ip changes, the tiny client updates the dns servers ad dyndns.org and you have a resolvable host name with a dynamic ip. Its really nice for home machines where buying a static is not cost justified. -- _________________________________________________ No I Don't Yahoo! And I'm getting pretty sick of being asked if I do. _________________________________________________ John Andersen / Juneau Alaska To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message