From owner-freebsd-questions Sun Jan 13 7:58:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id C534137B400 for ; Sun, 13 Jan 2002 07:58:29 -0800 (PST) Received: from user-119aekg.biz.mindspring.com ([66.149.58.144] helo=motil) by swan.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16Pn1b-0002L5-00; Sun, 13 Jan 2002 07:58:23 -0800 Message-ID: <000701c19c64$7447cdd0$0200a8c0@motil> From: "barazani" Cc: "Joe & Fhe Barbish" , "FBSD Questions" References: <20020113125743.A287@localhost> <20020113133735.A8806@b1n.org> Subject: Re: ? about hosts file Date: Sun, 13 Jan 2002 10:59:38 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 its %windir%\system32\drivers\etc\hosts ----- Original Message ----- From: "BinarySoul" To: "Scott Mitchell" Cc: "Joe & Fhe Barbish" ; "FBSD Questions" Sent: Sunday, January 13, 2002 7:37 AM Subject: Re: ? about hosts file > I do agree with Scot and i think the file in windows is: > %WINDIR%\system\hosts > > Scott Mitchell (scott.mitchell@mail.com) wrote: > > On Sat, Jan 12, 2002 at 01:42:53PM -0500, Joe & Fhe Barbish wrote: > > > I thought that putting 10.0.10.1 like I have it below that > > > I would be able to put lanhost in telnet to logon to the > > > gateway box from the winbox connected to the other end of > > > the lan crossover cable. > > > When I do that I get unable to reach host. > > > Putting in IP address 10.0.10.1 in telnet gets me connected. > > > My host.conf file has first go to host then bind. > > > Am I using the hosts file wrong? > > > > I think so... assuming I've read your message correctly, you want to be > > able to telnet from your Windows machine to your FreeBSD machine using > > hostnames rather than IP addresses? The /etc/hosts on the FreeBSD box > > won't help you there -- it's private to that machine; your Windows box > > neither knows nor cares what you've got in that file. > > > > You could add the same hostname<-->address mappings to the hosts file on > > your Windows box (yes, it does have one -- can't remember exactly where it > > lives, but a 'Find Files' under C:\WINDOWS or C:\WINNT for 'hosts' should > > turn it up. IIRC, the format is pretty standard). > > > > Alternatively, you could run a DNS nameserver on the FreeBSD box, so that > > all machines on your LAN can share a single set of hostname definitions. > > This is a little more work to set up (and you'll need to do some research > > first, so you know what you're doing before you begin), but well worth it > > in the long run. > > > > HTH, > > > > Scott > > > > -- > > =========================================================================== > > Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels > > Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" > > scott.mitchell@mail.com | 0xAA775B8B | -- Anon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message