From owner-freebsd-questions@FreeBSD.ORG Mon May 2 18:44:45 2005 Return-Path: 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 01D7B16A4CE for ; Mon, 2 May 2005 18:44:45 +0000 (GMT) Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3908643D6B for ; Mon, 2 May 2005 18:44:44 +0000 (GMT) (envelope-from tobias.fendin@telia.com) Received: from [192.168.1.6] (81.227.162.56) by pne-smtpout2-sn1.fre.skanova.net (7.1.026.7) (authenticated as u18317830) id 42687F20002B2F9F for questions@freebsd.org; Mon, 2 May 2005 20:44:43 +0200 Message-ID: <4276751A.6070003@telia.com> Date: Mon, 02 May 2005 20:44:42 +0200 From: Tobias Fendin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050403) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <42764BCC.2000903@schmittnet.com> In-Reply-To: <42764BCC.2000903@schmittnet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: hostname problem on a local network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 18:44:45 -0000 Bill Schmitt (SW) wrote: > I have a FreeBSD 4.9 system on a private network, connected to the > internet through a Netgear router/firewall which acts as a DHCP server > and receives its names through netbios. I'm trying to set it to > respond to the fully qualified name "schfrbsd.lan". In my rc.conf, I > have the line: > > hostname="schfrbsd.lan" > > I've also tried adding a dot to the end of it: > > hostname="schfrbsd.lan." > > Whatever I do, I cannot get the machine to register itself on the > network (though Samba) as schfrbsd.lan. It always shows up as > schfrbsd. "hostname -s" returns the same value. > > Can someone tell me what I'm doing wrong? > > Bill Though it shouldn't be needed, you could try to set Sambas netbios name. See smb.conf(5) for more details. // Tobias Fendin