- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet session does not always connect and gives a...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:02 AM
тАО05-14-2004 07:02 AM
Telnet session does not always connect and gives a blank window.
It seems that for a period of time it will connect on the first attempt sometimes it may take two attempts. Other times it will take three attempts.
Does anyone have any idea as to why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:05 AM
тАО05-14-2004 07:05 AM
Re: Telnet session does not always connect and gives a blank window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:07 AM
тАО05-14-2004 07:07 AM
Re: Telnet session does not always connect and gives a blank window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:22 AM
тАО05-14-2004 07:22 AM
Re: Telnet session does not always connect and gives a blank window.
The other issue the delay in connecting may occur because the HPUX box can't immediatley determine the Win2k's name/address from DNS.
Every attempt at telnet, the HPUX box will try to perform an nslookup on the requesting host address. Usually you can tell this is happening because the connection will eventually happen ok but it takes a minute. If that is what you suspect, once you are logged in to a who -mT and see if it gives a name or just and IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:35 AM
тАО05-14-2004 07:35 AM
Re: Telnet session does not always connect and gives a blank window.
You can fix this without modifying your DNS servers: change nsswitch.conf to look in hosts first, then go to DNS if not found. Here's the relevant entry:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=retur
n UNAVAIL=continue TRYAGAIN=return]
Just replace the existing hosts: line with the above 1-liner. That should solve the long delay for initial connection.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:36 AM
тАО05-14-2004 07:36 AM
Re: Telnet session does not always connect and gives a blank window.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:36 AM
тАО05-14-2004 07:36 AM
Re: Telnet session does not always connect and gives a blank window.
This does not change. It will not eventually connect over time. I have left it open for long periods of time just to see if it will eventually connect. It does not.
With this "blank" window still running. I then have to open another command prompt and attempt to connect useing telnet. If it does not work after the second session is open, I then leave the first two "blank" windows open and open a third. The third always works.
I do know the NIC is set to Full-duplex. I'll check the switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 08:25 AM
тАО05-14-2004 08:25 AM
Re: Telnet session does not always connect and gives a blank window.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 08:32 AM
тАО05-14-2004 08:32 AM
Re: Telnet session does not always connect and gives a blank window.
I checked the NIC and switch/router interfaces and found they are all set to full-duplex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 08:54 AM
тАО05-14-2004 08:54 AM
Re: Telnet session does not always connect and gives a blank window.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 08:58 AM
тАО05-14-2004 08:58 AM
Re: Telnet session does not always connect and gives a blank window.
Try hostname and ip address. Is there a difference?
Check your patch levels for telnetd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 09:01 AM
тАО05-14-2004 09:01 AM
Re: Telnet session does not always connect and gives a blank window.
If you already checked your DNS stuff also check the sizes of the "/etc/utmp" and "/etc/wtmp" files maybe they are corrupt or too huge.
There may be threads on how to clear them and the implications thereof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 09:07 AM
тАО05-14-2004 09:07 AM
Re: Telnet session does not always connect and gives a blank window.
Both Hostname and IP address respond in the same way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 06:35 AM
тАО05-19-2004 06:35 AM
Re: Telnet session does not always connect and gives a blank window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 07:52 AM
тАО05-19-2004 07:52 AM
Re: Telnet session does not always connect and gives a blank window.
You can telnet from other UNIX boxes ok to this box; and you telnet to the box itself (from itself).
Obviously telnet is working.
But you can't telnet from Windows2000....is there anything blocking telnet, like maybe an IP range is excluded/denied in inetd.sec ?
Another thing, make sure the IP of the PC trying to connect is referenced either in the /etc/host file or via DNS, that way you don't have to wait for a login prompt...
Are enough tty session ? [Had to ask the obvious..]
But since it's starting from a PC....
... maybe PC there is something configured wrong on the PC.
...Remember, PC's will always read the PC host file first ! It doesn't matter what else is defined...if a host file exists it stops there first. If there is an incorrect entry in that file..it chokes resolution. Hence, you ain't a goin anywhere's son !
So you could be checking nslookup on other boxes and getting good resolve, but what about the PC itself.....
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 08:06 AM
тАО05-19-2004 08:06 AM
Re: Telnet session does not always connect and gives a blank window.
It is a very tricky thing to explain...
Telnet will always work from a PC (W2K) after one or two attempts.
I can resolve the server name with nslookup without any problem.
This does not just occur on one PC it is happening on several.
I have tried it with and with out a manual entry in my host file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 08:19 AM
тАО05-19-2004 08:19 AM
Re: Telnet session does not always connect and gives a blank window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 08:28 AM
тАО05-19-2004 08:28 AM
Re: Telnet session does not always connect and gives a blank window.
telnet hostname
it gives you the login prompt right away ?
The reason I am asking with almost daily patches going into the windows lately, thanks to the new worms coming out of the woodwork everyday, anything on the windows end is possible. Because while trying to fight the fire, micro$oft programmers do not pay attention to minor things like "what happens to telnet application if I do this change ?" At the end, who needs telnet, right ? Why should one even consider using a *nix system while there is a much better alternative called windows-XP NOT! ? Right ? Even Gartner Group provided proof that Windows is better and cheaper than running Linux (which I am still laughing with the opposite end of my body everytime I think about it by the way)
My suggestion is to compare the service pack levels of a "good" PC and "bad" PC. I do not think this has anything to do with the DNS server or the unix host. Just for the heck of it, if you have a personal windows workstation (like a laptop or a small desktop at home that you can carry for one day) which is not blessed by the forced company updates, I would bring such a workstation and try telneting from that one.
I don't know. I can not think any other possibility.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 10:03 AM
тАО05-19-2004 10:03 AM
Re: Telnet session does not always connect and gives a blank window.
I am not familiar with ethereal trace. I do not have a wtmp file and the utmp is only 5k.
The problem I'm having now is it is working flawlessly. It will probably act up again tomorrow but right now I can't trouble shoot it when it is working.
I will try to bring in a "less patched" PC and see if that helps and get back with you tomorrow
Thanks for all of the input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2004 03:12 PM
тАО05-19-2004 03:12 PM
Re: Telnet session does not always connect and gives a blank window.
Note that tyhe recommendation about DNS refers to the incoming IP address, not the server's. If your PC's IP address cannot be found by the server, then you'll see a delay. Verify this by adding your problem PC's address into /etc/hosts and edit nsswitch.conf to look on hosts first, then DNS.
Bill Hassell, sysadmin