TELNET woes

TELNET woes

Post by Chris Fische » Thu, 06 Apr 2000 04:00:00



Hi Chris,

You need to put the IP address of your Windoze box in your /etc/hosts
file.

Regards,

Chris


> Hi Everyone,

> I have possibly a rtfm question, but since I can't find 'tfm' for this
> question, I thought I'd post, I'm sure someone could answer it faster than I
> can find the answer.  I am running Mandrake 6.1 as my server, on a peer-peer
> relationship with my Windows 98 box.  I have the machines both on
> 192.168.1.x IP numbers, and all I use them for is file, print. drive
> sharing.  I try to telnet into my linux box, from my windows box, and I've
> only got through once out of about 40 tries.  Usually in the telnet title
> bar it just sits there with "Telnet - 192.168.1.9" and the term windows sits
> blank, and after a while I just get a login timed out messge.  I have made
> sure that telnet is enabled in /etc/inetd.conf, and also that the ip of my
> windoze box is put in /etc/hosts.allow.  Anyone know why this would be
> happening...I sure don't.  Any help would be cool.  Thanks

> Chris

 
 
 

TELNET woes

Post by Chris Web » Fri, 07 Apr 2000 04:00:00


Hi Everyone,

I have possibly a rtfm question, but since I can't find 'tfm' for this
question, I thought I'd post, I'm sure someone could answer it faster than I
can find the answer.  I am running Mandrake 6.1 as my server, on a peer-peer
relationship with my Windows 98 box.  I have the machines both on
192.168.1.x IP numbers, and all I use them for is file, print. drive
sharing.  I try to telnet into my linux box, from my windows box, and I've
only got through once out of about 40 tries.  Usually in the telnet title
bar it just sits there with "Telnet - 192.168.1.9" and the term windows sits
blank, and after a while I just get a login timed out messge.  I have made
sure that telnet is enabled in /etc/inetd.conf, and also that the ip of my
windoze box is put in /etc/hosts.allow.  Anyone know why this would be
happening...I sure don't.  Any help would be cool.  Thanks

Chris

 
 
 

TELNET woes

Post by patrick.them.. » Fri, 07 Apr 2000 04:00:00




Quote:> Hi Everyone,

> I have possibly a rtfm question, but since I can't find 'tfm' for this
> question, I thought I'd post, I'm sure someone could answer it faster
than I
> can find the answer.  I am running Mandrake 6.1 as my server, on a
peer-peer
> relationship with my Windows 98 box.  I have the machines both on
> 192.168.1.x IP numbers, and all I use them for is file, print. drive
> sharing.  I try to telnet into my linux box, from my windows box, and
I've
> only got through once out of about 40 tries.  Usually in the telnet
title
> bar it just sits there with "Telnet - 192.168.1.9" and the term
windows sits
> blank, and after a while I just get a login timed out messge.  I have
made
> sure that telnet is enabled in /etc/inetd.conf, and also that the ip
of my
> windoze box is put in /etc/hosts.allow.  Anyone know why this would be
> happening...I sure don't.  Any help would be cool.  Thanks

> Chris

never had that happen in this direction,
but heres some easy fix to try first.

copy your 'hosts' file from /etc to c:\windows\hosts on your win
machine.
(c:\windows, pls set to your values)
!!check that both machines are included in the file!!

if that does not fix it, look through your /var/log/messages and
warnings files,
see if you find anything there .

--
'...' said the joker to the thief
'there's too much confusion, i cant get no relief...
so let us not talk falsely now, the hour's getting late'

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

TELNET woes

Post by Frank van Schi » Fri, 07 Apr 2000 04:00:00



> Usually in the telnet title
> bar it just sits there with "Telnet - 192.168.1.9" and the term windows sits
> blank, and after a while I just get a login timed out messge.

Not completely sure (not at all, even :), but it might have to do with
the server trying to do a DNS lookup of your local machine, which won't
work well of course, unless you add it to /etc/hosts.
Simply add to /etc/hosts:
192.168.1.9   hostname

And replace hostname with your windows box's homepage.

--
Frank

 
 
 

TELNET woes

Post by Chris Web » Fri, 07 Apr 2000 04:00:00


you know, I checked out my /etc/hosts and saw:

192.168.1.9      hostname_of_server

and then added

192.168.1.13    hostname_of_client

and when I telnetted the sucker came up faster than I could blink....who
knew...anyways, now it will even resolve the host name of my server if I
connect using just the hostname not an ip, so thanks for your help....
;-)

Chris

Quote:

> Not completely sure (not at all, even :), but it might have to do with
> the server trying to do a DNS lookup of your local machine, which won't
> work well of course, unless you add it to /etc/hosts.
> Simply add to /etc/hosts:
> 192.168.1.9   hostname

> And replace hostname with your windows box's hostname.

> --
> Frank

 
 
 

TELNET woes

Post by Anthony J. Peon » Fri, 07 Apr 2000 04:00:00


I'm having the same problem with telnet and have tried all of the
suggested fixes. Running Mandrake/Redhat 6.1. I noticed that my
inetd.conf file refers to a file called in.telnetd which is not present
on my system. Anybody got any ideas? All other network functions (SAMBA,
FTP, Internet via a proxy on an NT machine) are all working wonderfully
well from other microsoft machines on the LAN, except the NT machine
can't get to the Samba shares on the linuxbox, but that may be NT.

--
Anthony J. Peone
Brockport Computer

 "There is no spoon"

 
 
 

TELNET woes

Post by Chris Web » Sat, 08 Apr 2000 04:00:00


Hey Anthony,

have you tried just telnetting into your Mandrake box from your Mandrake
box.  This is just to make sure you can even telnet at all...try that and
then post the output, it may be helpful.

Chris



Quote:> I'm having the same problem with telnet and have tried all of the
> suggested fixes. Running Mandrake/Redhat 6.1. I noticed that my
> inetd.conf file refers to a file called in.telnetd which is not present
> on my system. Anybody got any ideas? All other network functions (SAMBA,
> FTP, Internet via a proxy on an NT machine) are all working wonderfully
> well from other microsoft machines on the LAN, except the NT machine
> can't get to the Samba shares on the linuxbox, but that may be NT.

> --
> Anthony J. Peone
> Brockport Computer

>  "There is no spoon"

 
 
 

TELNET woes

Post by Anthony J. Peon » Sun, 09 Apr 2000 04:00:00


Hi folks,

I tried telnet to localhost and to the linuxbox ip address both as root
and as a user with non-root privileges, from the linuxbox. Both times I
get a connection closed by foreign host message. I do get an escape
character is ^ message before this though.

--
Anthony J. Peone
Brockport Computer

 "There is no spoon"

 
 
 

TELNET woes

Post by Jerome Corr » Tue, 11 Apr 2000 04:00:00




Quote:> Hi folks,

> I tried telnet to localhost and to the linuxbox ip address both as
root
> and as a user with non-root privileges, from the linuxbox. Both times
I
> get a connection closed by foreign host message. I do get an escape
> character is ^ message before this though.

> --
> Anthony J. Peone
> Brockport Computer

I have the same problem, when I try to telnet the localhost I get:
connection closed by foreign host.

I don't understand what I have done wrong, I try to add the localhost in
hosts.allow, but its still the same. I have notice that in the
hosts.allow file they talk about 'tcpd' (i don't know what it is) but it
seems to be missing from my /usr/sbin directory, could it be why I can't
use telnet?

thanks for any help

--
Jerome Corre

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

TELNET woes

Post by JCA » Thu, 13 Apr 2000 04:00:00



> Hi Chris,

> You need to put the IP address of your Windoze box in your /etc/hosts
> file.

    This seems to be the standard answer to this question when dealing
with Red Hat or Mandrake. Now, what is it in the configuration of these
distributions that forces one to tinker with /etc/hosts? My Slackware
box accepts telnet connections from any machine anywhere, without
having to monkey with /etc/hosts. Can anybody throw any light here?
 
 
 

TELNET woes

Post by Anthony J. Peon » Thu, 13 Apr 2000 04:00:00


So I reload the OS from a new Redhat 6.2 CD and telnet works fine now.
Wonder why the telnet daemon wasn't running on the Mandrake based system
when I selected it - oh well. Now I gotta get a second NIC to work, use
it to connect to a cable modem  and try to configure Sendmail. My work
is cut out for me. Thanks all for the suggestions.

--
Anthony J. Peone
Brockport Computer

 "There is no spoon"

 
 
 

1. ftp and telnet woes

Hey guys,

I'm running Mandrake Linux 6.1 and it's acting as my Server/firewall.
Not sure about the firewall part but I did setup an ipchain and all
that. Anyway, I'm having two problems.

1. I can't seem to restrict telnet access to only those on my LAN. It
seems to be all or nothing. Last time I tried adding lines to the
/etc/hosts.deny and /etc/hosts.allow according to a friend's suggestion
it blocked all telnet even on my LAN.

2. I can't ftp as a real user. I can log into ftp as anonymous but when
I try to log in as a user it always says login incorrect. I've tried all
kinds of things. I've read up on ftpaccess but nothing I've tried so far
has worked.

Any help with these two things would be most appreciated. Oh and I'll
want to restrict the ftp to only LAN as well.

Thanks in advance. Send e-mail if you can. I'll get it faster but I'll
check back here as well.

2. a ksh script w/ detailed explanation - counting uid

3. Telnet Woes.

4. Kernel Net modules (and a linux alterative to Ghost)

5. Telnet woes..

6. problems writing to FAT32 smbmounts

7. ftp/telnet woes

8. /proc/kcore

9. telnet woes

10. Xterms not cleaning up utmp properly / Telnet woes

11. PPP w/ Sendmail & Telnet woes... :(

12. Samba,localhost,ftp & telnet woes.

13. Telnet woes