Operating System - HP-UX
1849541 Members
6479 Online
104044 Solutions
New Discussion

telnet issue with TUN on HPUX 11.00 (L1000)

 
yacine elhammar
Occasional Contributor

telnet issue with TUN on HPUX 11.00 (L1000)

Hello
Using TUN of ESKER V1.0.0.12 to perform telnet connections to the L1000, and this is done by a macro that sends automatically the login and password, when there's no problem with the old HP9000/E25, the PCs seems to send login prompt before the L1000 sends the login prompt
so the session is not opened.
I've tried to add a sleep before sending the user-name/passwd and it'ok, but I need to use the same macro as with the old E25
So why L1000 seems to have a delay when telneting and not the E25 ?
thanx for help.
note: I've HPUX 11.00 with XSW11.00 of Sept. 2k
2 REPLIES 2
Kofi ARTHIABAH
Honored Contributor

Re: telnet issue with TUN on HPUX 11.00 (L1000)

yacine elhammar :

it might be that the L class is trying to resolve the name of the connecting host before it allows the telnet. If that is the case, you might want to look at your /etc/resolv.conf (if you are using dns) or if you are not using dns, check that the connecting host is listed in /etc/hosts. In both cases, verify that your /etc/nsswitch.conf has

hosts: files [NOTFOUND=continue] dns

To test, you can try doing a telnet from the remote host and check how long it takes to get a prompt - if it takes a long time, it probably is an indication of the name lookup... if it returns immediately, you may want to look at the syslog.log for any tell tale signs.

good luck and let's know how it goes.
nothing wrong with me that a few lines of code cannot fix!
yacine elhammar
Occasional Contributor

Re: telnet issue with TUN on HPUX 11.00 (L1000)

I've tried to configure name switch service with SAM : 1/ /etc/hosts 2/ none . Cause I don't use DNS nor NIS.
but it's still didn't work.
I've the same delay with ftp: when I run ftp the L class needs 2 seconds to send the ftp login prompt as with telnet.