From owner-freebsd-questions@FreeBSD.ORG Sun May 21 02:14:47 2006 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 BD7A416A41F for ; Sun, 21 May 2006 02:14:47 +0000 (UTC) (envelope-from petermichaux@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA5C43D45 for ; Sun, 21 May 2006 02:14:46 +0000 (GMT) (envelope-from petermichaux@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1026905uge for ; Sat, 20 May 2006 19:14:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D6Xn5xXfvmH2/DxYz+DGwOYh8nJj3AGLonjp2bc3qNUzSOCF2GeV+GxVVQECdxeAPy7S6c6H1FhYBcruBdJuSkotUVnM0l+laCiM5CXDK/fRE+7AINInz7eT4R6Q8uKo+ErAVmmGmTB/EHzMirxmmxDhtnQS3TQoeCT/A1yD45Y= Received: by 10.78.47.15 with SMTP id u15mr870103huu; Sat, 20 May 2006 19:14:44 -0700 (PDT) Received: by 10.78.34.4 with HTTP; Sat, 20 May 2006 19:14:44 -0700 (PDT) Message-ID: <3cbaf1c80605201914l297d58dcve9e22bb99faee470@mail.gmail.com> Date: Sat, 20 May 2006 19:14:44 -0700 From: "Peter Michaux" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: setting host name during install? 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: Sun, 21 May 2006 02:14:47 -0000 Hi, During install, I don't quite understand the "host" parameter that I supplied for my networking configuration. I used DHPC and most of the parameters were filled in for me Host: Domain: gv.shawcable.net IPv4 Gateway: 192.168.0.1 Name server: 192.168.0.1 IPv4 Address: 192.168.0.103 Netmask: 255.255.255.0 Extra options to ifconfig (usually empty): When I pressed tab in the Host box it automatically filled in with ".gv.shawcable.net" which make sense since I have a cable modem from Shaw in Greater Victoria. But it seems like something should have gone before the first dot. Is there an opportunity here to give my computer a cool name like "beastie" so I can type things like "http://beastie:3000" instead of "http://192.168.0.103:3000" ? Or is this host name supposed to be some server at my ISP? I changed the hostname using the following steps but I don't know what I really gained. 1. vi /etc/rc.conf 2. change hostname=".gv.shawcable.net" to hostname="beastie" 3. restart computer so change becomes reality. 4. now the command prompt says root@beastie When I tried "http://beastie:3000" I ended up at the Beastie Boys website. Not the worst suprise but not what I was hoping for. Thanks, Peter