Xref: utzoo comp.sys.mac.comm:1325 comp.protocols.appletalk:4565 Path: utzoo!utgpu!watserv1!watmath!att!rutgers!usc!sdd.hp.com!uakari.primate.wisc.edu!aplcen!aplcomm!uunet!mcsun!ukc!warwick!nott-cs!mak From: mak@cs.nott.ac.uk (Martijn Koster) Newsgroups: comp.sys.mac.comm,comp.protocols.appletalk Subject: Problems with MacTCP hosts file: seems not to be used Keywords: Host, MacTCP Message-ID: <1990Oct23.122714.23505@cs.nott.ac.uk> Date: 23 Oct 90 12:27:14 GMT Reply-To: mak@cs.nott.ac.uk (Martijn Koster) Organization: Nottingham University Lines: 41 Hello all, I've got a slight problem: I'm using MacTCP, and have it set up so it can look-up names. I tested this with the "TCP Example" stack that came on one of the developer disks. It works fine, but then I tried adding hostnames in the Hosts file (in the System Folder, and yes, it's a text only file). This didn't work. I tried the following: aa-> A-> 128.243.20.4 bb.-> A-> 128.243.20.4 cc.cs.nott.ac.uk-> A-> 128.243.20.4 dd.cs.nott.ac.uk.-> A-> 128.243.20.4 ee.nott.ac.uk-> A-> 128.243.20.4 ff.nott.ac.uk.-> A-> 128.243.20.4 The '->' signifies a tab, and lines are nded with a return. 128.243.20.4 does exist, is in fact the machine I'm using now. And then I tried all the hostnames, but "TCP Example" returned $$$ Couldn't get address $$$ Can somebody explain what I'm doing wrong? I'd love to RTFM, but somebody has managed to lose it or something. Also, has someone written a program to convert a /etc/hosts file to a MacTCP Hosts file? And lastly, doesn't NCSA Telnet 2.3 use MacTCP name resolver? I ended up writing a program to convert /etc/hosts to a config.tel file (that awk script that came with telnet choked on comments). Thanks very much in advance, Martijn Koster Details: MacPlus, 2.5 Meg RAM, 20 Meg Rodime SCSI HD, System 6.0.5 (MacPlus, 4 Meg RAM, 40 Meg Apple SC HD, System 6.0.3 didn't work either) The Plus sits on LocalTalk, with a FastPath connected to the ethernet. MacTCP version 1.0.1, gets its IP Number of a server, DNS information has one entry "cs.nott.ac.uk".