From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 19:27:52 2004 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 7D43716A4CE for ; Wed, 20 Oct 2004 19:27:52 +0000 (GMT) Received: from idesigns.net (idesigns.net [209.239.38.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D4EC43D5E for ; Wed, 20 Oct 2004 19:27:52 +0000 (GMT) (envelope-from software@schmittnet.com) Received: from [127.0.0.1] (ct-seymour2d-19.wtrbct.adelphia.net [68.71.172.19]) by idesigns.net (8.12.10/8.12.10) with ESMTP id i9KJRnii018254; Wed, 20 Oct 2004 15:27:50 -0400 Message-ID: <4176BC39.6060900@schmittnet.com> Date: Wed, 20 Oct 2004 15:27:53 -0400 From: "Bill Schmitt (SW)" User-Agent: Mozilla Thunderbird 0.6+ (Windows/20041018) X-Accept-Language: en-us, en To: "Donald J. O'Neill" References: <4176477D.2030207@schmittnet.com> <41768D59.8010405@netmaster.ru> <41768FD9.1060805@schmittnet.com> <200410201245.08345.donaldj1066@fastmail.fm> In-Reply-To: <200410201245.08345.donaldj1066@fastmail.fm> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: Host name question 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: Wed, 20 Oct 2004 19:27:52 -0000 Donald J. O'Neill wrote: On Wednesday 20 October 2004 11:18 am, Bill Schmitt (SW) wrote: Alexey Karguine wrote: Bill Schmitt wrote: Well, every other computer on the network is listed as an "attached device" except the FBSD box. And, when I've booted Knoppix in the past, it showed up, too. What are the operating systems of the other computers? Is this your own personal lan? I use a Linksys router, the only things that show up are ip's that it has supplied dynamically. If a box is using a static ip, it wont show up on the router. If it's a FBSD box, just the ip shows up, if it's a Win box, the ip and copmuter name will show up. I don't think you have to worry about that. Also, when I start Apache (2.0) I receive a message "Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName. Ruben de Groot wrote: I don't remember exactly, it's been a while since I've had Apache install and operating, but I seem to remember having to go into the Apache config file and putting in the the name and ip address. Someone else can probably tell you better than I can. On Wed, Oct 20, 2004 at 07:09:49AM -0400, Bill Schmitt (SW) typed: I know I've seen the answer to this question somewhere here, but I can't seem to find it. I'm running FBSD 4.9 on a machine which is connected to a router (Netgear) that provides DHCP services. The FBSD box gets the IP correctly (assigned based on the MAC address), but the router never sees it by name. I have the name of the machine in the hosts file and rc.conf, but the router never gets the name back. Can anyone help? What makes you think the router *should* get the name back? Please, show contents of /etc/resolv.conf file on your machine. Two lines in resolv.conf: search albyny.adelphia.net nameserver 192.168.0.1 You've got 192.168.0.1 listed as a nameserver. Can't be. That's the ip address of your Netgear router, it acts as a DHCP server not as a DNS server. What is albyny.adelphia.net? Is that your ISP? You need to get one or more nameserver ip's from your ISP. That's what goes in resolv.conf Thanks, Bill Don It's a personal lan with primarily Windows machines on it. albny.adelphia.net is the ISP prefix. I don't recall editing resolv.conf before, meaning something I did in sysinstall must have put that in there. Adelphia is the isp (cable connection). They're configuration instructions for Windows say to "automatically DNS address automatically". I've got that option checked in the router, as well. I believe the router gets it from the isp, then provides it to the rest of the machines, but networking has never been my specialty! :-p Bill