?
Solved

Telnet connections blank with telnet or putty

Posted on 2000-03-12
8
Medium Priority
?
494 Views
Last Modified: 2010-03-18
I've got all the TCP/IP configured all the Services/network/hosts configured in /etc but when I connect through Telnet or Putty I connect but the screen is blank and typing does nothing.. (I've got Apache 1.3.9 setup and Samba with File and Print sharing configured on the linux box as well.) the ip range is 10.0.0.XXX with a subnet mask of 255.255.255.0 no gateway... nameserver 10.0.0.1 and the windows station see's the server can print to the printer browse the intranet and access the files on the shared folder.

I hope this is all the info you would need.
0
Comment
Question by:arch69
8 Comments
 
LVL 8

Expert Comment

by:stefanx
ID: 2609767
Just give it some time... like 3 minutes because it is attempting to do a reverse DNS lookup on the IP address of the host that you telnetted from. TO make it do it faster, set up a DNS Server (BIND) on your Linux machine and configure the zone 0.0.10.in-addr.arpa.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 400 total points
ID: 2609878
An easier alternative to setting up a DNS server is to simply put the IP's and hostnames of your 10.0.0.x clients in the server's /etc/hosts file and make sure that the search order is:

hosts:      files dns ...

in /etc/nsswitch.conf.
0
 

Expert Comment

by:AGB
ID: 2611687
1. You can use IP address for telnet connections.

2. Check your DNS configuration on the Windows station.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:stefanx
ID: 2611700
AGB : That's not the issue. It's the Linux box that wants to reverse resolve the incoming telnet address before issuing a login prompt. It has nothing to do with the DNS resolution from the Windows hosts.
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2611704
Greetings.

I thought the file to fiddle with was host.conf, and nsswitch.conf comes into play only when using nscd (not installed by default). Does anybody knows what uses host.conf and what uses nsswitch.conf?

(OK, so I should not piggyback a question on a question, but I feel this issue - is it host.conf, nsswitch or both - is relevant nevertheless)

Cheers,
     alf
0
 
LVL 8

Expert Comment

by:stefanx
ID: 2611716
I also thought it was host.conf. On my systems there isn't an nsswitch.conf. Care to explain jlevie ?
0
 

Expert Comment

by:AGB
ID: 2611817
Check your /etc/inetd.conf
Have you permission for telnetd daemon?
0
 

Author Comment

by:arch69
ID: 2613837
Perfect all I did was put 10.0.0.20 user1 and 10.0.0.21 user2 into hosts /etc and that was it.. thanks
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Screencast - Getting to Know the Pipeline
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question