From owner-freebsd-questions Tue Feb 17 21:21:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21254 for freebsd-questions-outgoing; Tue, 17 Feb 1998 21:21:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from argon.linkzone.com (argon.linkzone.com [204.182.59.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21205 for ; Tue, 17 Feb 1998 21:21:23 -0800 (PST) (envelope-from mlt@linkzone.com) Received: from localhost (mlt@localhost) by argon.linkzone.com (8.8.7/8.8.5) with SMTP id VAA28398; Tue, 17 Feb 1998 21:21:22 -0800 (PST) Date: Tue, 17 Feb 1998 21:21:21 -0800 (PST) From: Mark Turrin To: Timothy Toroni cc: freebsd-questions@FreeBSD.ORG Subject: Re: Connect & prompt times. In-Reply-To: <34EA64EF.6959B7FF@indy.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Feb 1998, Timothy Toroni wrote: > I'm running FreeBSD RESLEASE-2.2.5 on a 486dx33 with 8meg of memory. I > also have an 3c509(?)... the epX device. > > The computers in question are: > normandy.torpedogames.com 10.0.0.101 > iwojima.torpedogames.com 10.0.0.104 > > I am running the DNS server on normandy and it works great, my win95 > machine is able to to use it fine. > > The problem is that when I telnet or ftp to the computer(s) it connects > immediately but then sits for over a minute. Once I get the login > prompt I can login fine. When I run netstat it also takes over a > minute, what's up? > When this happens I have the /etc/resolv.conf as: > domain torpedogames.com > nameserver 10.0.0.101 > > If I rem out the nameserver line or put an invalid IP address in then it > connects and displays the login prompt immediately however the DNS no > longer works. What can I do to fix this? What's really causing this? Did you set up your /etc/hosts file? Did you put 127.0.0.1 in your DNS database files? > > Also, another question. What do I have to edit so I can login as root > via telnet? As a temporary fix I added another user to the wheel group > in /etc/group then su to root after logging on as the user but I assume > there has to be a better way. I've looked around in the > /etc/login.access but couldn't get anywhere. You never want to login as root via telnet. ALWAYS ALWAYS ALWAYS login as your self and then su to root, do what you need to do then type exit to get out of the root shell. You can totally hose your system screwing around as root. > > Thanks, > 73s > > -- > Timothy Toroni > N9VHM, Sgt. York, timothy@indy.net > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ___________________________________________________________________ Mark L. Turrin mlt@linkzone.com --- Save the whales...collect the whole set. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message