From owner-freebsd-questions@FreeBSD.ORG Sat Oct 30 20:26:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EAF0106564A for ; Sat, 30 Oct 2010 20:26:38 +0000 (UTC) (envelope-from baerks@t-online.de) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by mx1.freebsd.org (Postfix) with ESMTP id B67C98FC0C for ; Sat, 30 Oct 2010 20:26:37 +0000 (UTC) Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de ) by mailout07.t-online.de with smtp id 1PCHlr-0001le-IC; Sat, 30 Oct 2010 22:11:23 +0200 Received: from amd.catfish.ddns.org (EAO5O4ZlZhwGeuv2l3ptNshrKPMfBdIeB87RVejQzUatMKoGuHwMzsfZQHxHevdgrq@[79.218.82.153]) by fwd05.aul.t-online.de with esmtp id 1PCHlq-1hgHMe0; Sat, 30 Oct 2010 22:11:22 +0200 Received: from amd.catfish.ddns.org (localhost [127.0.0.1]) by amd.catfish.ddns.org (8.14.3/8.14.3) with ESMTP id o9UKBkA4023297 for ; Sat, 30 Oct 2010 22:11:46 +0200 (CEST) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id o9UKBkvK023275 for freebsd-questions@freebsd.org; Sat, 30 Oct 2010 22:11:46 +0200 (CEST) (envelope-from monkel) Date: Sat, 30 Oct 2010 22:11:45 +0200 From: Sabine Baer To: freebsd-questions@freebsd.org Message-ID: <20101030201145.GJ11765@amd.catfish.ddns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-ID: EAO5O4ZlZhwGeuv2l3ptNshrKPMfBdIeB87RVejQzUatMKoGuHwMzsfZQHxHevdgrq X-TOI-MSGID: cb24e086-f2bb-407a-9b0f-0fcbff2103ee Subject: Re: hostname 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, 30 Oct 2010 20:26:38 -0000 On Sat, Oct 30, 2010 at 04:00:39PM -0400, Tim Dunphy wrote: > how can I set the hostname so that it persists through reboots? I have > set the hostname I want in /etc/hosts but rebooting the change does > not show up. In CentOS you have /etc/hostname which serves this > purpose but in FreeBSD I don't know how to do this. I think, /etc/rc.conf could be the best place. Sabine -- Der Gefraessige, wenn er Vorsicht nicht kennt, isst sich Uebelkeit an. Dem toerichten Mann wird sein Magen zum Spott, wenn er zu Klugen kommt. (Hávamál 13)