From owner-freebsd-questions Fri Sep 15 00:03:31 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA28999 for questions-outgoing; Fri, 15 Sep 1995 00:03:31 -0700 Received: from hoover.stanford.edu (hoover.Stanford.EDU [36.33.0.99]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA28994 for ; Fri, 15 Sep 1995 00:03:29 -0700 Received: from HOOVER.STANFORD.EDU by HOOVER.STANFORD.EDU (PMDF V4.3-10 #8660) id <01HVA9P4GAI8002HLZ@HOOVER.STANFORD.EDU>; Fri, 15 Sep 1995 00:03:30 -0700 (PDT) Date: Fri, 15 Sep 1995 00:03:30 -0700 (PDT) From: Annelise Anderson Subject: How To Telnet Out To: questions@freebsd.org Message-id: <01HVA9P4GTSY002HLZ@HOOVER.STANFORD.EDU> X-VMS-To: IN%"questions@freebsd.org" X-VMS-Cc: ANDRSN MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-questions@freebsd.org Precedence: bulk Hi-- I just installed FreeBSD (2.0.5, from the CDROM) a couple of weeks ago (my thanks to the author of the FIPS utility and those of the installa- tion program in general; it went fine). I've managed to set things up so I can telnet out, and I assume that if I can do that (ping and nslookup also work) that I should be able to telnet in, but I can't. (The usual message is "connection refused.") My machine is attached directly to the Stanford ethernet; it has a number (36.33.0.163) and a name (hvrm301.stanford.edu) known to Stanford's DNS machine. It's pingable, and I have run a Windows Web server on it. It is not networked to any other machines. etc/services has these lines: telnet 23/tcp telnet 23/udp ... login 49/tcp #Login Host Protocol login 49/udp etc/sysconfig has: hostname=hvrm301.stanford.edu # My computer... tcp_extensions=YES network_interface="ep0 lo0" ifconfig_ep0="inet 36.33.0.136" #netmask 0xffffff00" #ifconfig_sl0=inet 36.33.0.136 ifconfig_lo0="inet local host" #netmask I took sl0 out--not sure what it does, but it produced the message that ioctl could not assign the address... ep0 is the ethernet card (3COM509) etc/hosts (I've commented this out--doesn't prevent telneting out...) #36.33.0.136 hvrm301.stanford.edu #36.33.0.99 hoover.stanford.edu #localhost hvrm301.stanford.edu etc/protocols tcp 6 TCP etc/resolv.conf search stanford.edu nameserver 36.33.0.151 etc/inetd.conf telnet stream tcp nowait root /usr/libexec/telnetd telnetd etc/ttys console none unknown off secure ttyv0 "/usr/libexec/getty Pc" cons25 on secure ttyv1 " " " " ttyv2 " " " " ttyv3 " " off secure #ttyd0 "/usr/libexec/getty std.9600" dialup on secure (mouse) ttyd1 "/usr/libexec/getty std.9600" dialup on secure ttyd2 " unknown off secure ttyd3 " unknown off secure #(Computer has only two serial ports) ttyp0 none network #plus another 31 of these--ttyp1-ttypv (ttyd0 should probably have whatever's right to make the mouse work-- I haven't tried that yet) I don't have previous experience with any variety of Un*x so I could well be missing something pretty obvious. Any suggestions would be appreciated. Annelise Annelise Anderson andrsn@hoover.stanford.edu