Solved

Telnet connections blank with telnet or putty

Posted on 2000-03-12
8
488 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 100 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Layer 7 Transparent cookie checker 22 65
Postfix DNS lookups setup 5 43
Try to Setting up Static IP Address on Raspberry Pi 2 model B but get problems 7 107
ifconfig 4 70
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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