Alex and all,
Thanks for the input... I've been working on this with your
help. I still need some guidance, however.
Here's where I am so far.
At 12:38 PM 3/5/99 -0800, Alex Belits wrote:
>On Fri, 5 Mar 1999, Mark A. Swope wrote:
<snip>
>The most common telnet entry in /etc/inetd.conf is:
>
>telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
I have the above.
>So it runs tcpd that then runs in.telnetd. Without tcpd it will be:
<snip>
> That means, tcpd doesn't like what it sees. Most likely it can
>backresolve its IP address to something, but when it tries to resolve that
>name, it fails, or sees something other than its IP address.
>/var/log/messages most likely contains some more or less intelligent
>explanation of what exactly tcpd didn't like.
An example of my syslog:
Mar 6 11:45:14 wheezer in.telnetd[174]: warning: /etc/hosts.allow, line 12:
can't verify hostname: gethostbyname(avatar.home.net) failed
Mar 6 11:45:14 wheezer in.telnetd[174]: refused connect from
[EMAIL PROTECTED]
>1. The "right" way is to fix DNS, so your Windows box either doesn't
>resolve at all, or its IP address resolves correctly, and /etc/hosts
>doesn't conflict with DNS.
I'm not running DNS.
I have all three hosts listed explicitly in hosts.allow:
ALL: zephyr.home.net
ALL: avatar.home.net
ALL: wheezer.home.net
and all three listed explicitly in hosts:
127.0.0.1 localhost
192.168.1.125 avatar.home.net avatar
192.168.1.126 zephyr.home.net zephyr
192.168.1.127 wheezer.home.net wheezer
My network is listed thus:
home.net 192.168.1
>
>2. The "wrong" way is to remove tcpd from telnet line in /etc/inetd.conf.
>and say
<snip>
I don't want to do things the wrong way. I didn't think that it'd be
worth it to enable dns if I only had 3 statically addressed hosts
on my network.
I *may* eventually get my Linux host to connect to my ISP via
PPP (I used to do this when I was running this box as a Linux
workstation - now I'm trying to run it as a server, and the PPP
link isn't a big priority).
Since it appears that several things depend upon tcpd, I don't think
that it'll be a good idea to kill it.
>--
>Alex
>
>----------------------------------------------------------------------
> Excellent.. now give users the option to cut your hair you hippie!
> -- Anonymous Coward
>
>P.S. BTW ssh is much better than telnet for a whole lot of reasons.
I guess I'm old-fashioned. I know even less (read "nothing") about
ssh than I do about telnet, etc. Again, I want to do the Right Thing(tm)
here. I do plan to be able to dial into my server from the outside world.
I could investigate ssh, but I think I have a pretty fundamental problem
to get around here.
mas
----------------------------------------------------------------------------
-------------
MilliHelen - n. The amount of Beauty required to launch 1 ship.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]