Operating System - HP-UX
1846707 Members
3349 Online
110256 Solutions
New Discussion

Re: telnet connection refused

 
V. V. Ravi Kumar_1
Respected Contributor

telnet connection refused

hi all,

we have rp2470 hp-ux 11i(11.11) machine. frequently it is refusing telnet connections. at that time the machine is responding for ping from other machines, but telnet is refused. from this(rp2470) machine iam unable to ping/telnet to other machines in the same network. if we reset the network interface it is working fine. it is not possible to reset every time since it is happening very frequently. can any body tell me how to solve the problem?
Never Say No
5 REPLIES 5
Hartmut Lang
Trusted Contributor

Re: telnet connection refused

What about patches?
Upgrading to the latest Patch bundle would be my first step.

Hartmut
Steven Sim Kok Leong
Honored Contributor

Re: telnet connection refused

Hi,

This problem occurs usually because of failure of either the switch or the server NIC in negotiating the duplex mode. Check the duplex mode on both your switch end and the server NIC end.

For the server end,

# lanscan
# lanadmin -x lanY (as flagged in your lanscan output)

If you don't see:

Current Speed = 100000000 Full-Duplex

Change it to full duplex:

# lanadmin -x lanY 100FD

Remember to ensure that the switch is hardcoded at 100FD as well.

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: telnet connection refused

Hi,

I type to fast. It should be:

Change it to full duplex:

# lanadmin -X 100FD lanY

Hope this helps. Regards.

Steven Sim Kok Leong
Michael Tully
Honored Contributor

Re: telnet connection refused

Hi,

The first thing to do would be to have a look at the statistics being produced by the lan card itself.

# lanadmin

You get the lan card changed by a HP CE, or if you have a second lan card, you could use it instead.

Michael

Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor

Re: telnet connection refused

Hi,

I agree with Michael. Check the NIC card statistics first. Also check your netstat output:

# netstat -s

If there are a lot of packet errors that error rate is high, it is a symptom of many possible causes including improper duplex negotiation.

To verify whether duplex negotiation is a cause, use lanadmin to check at server end e.g.

# lanadmin -x lan0

Also, check at the switch end.

If it has been identified as a cause (e.g. your server NIC has been at 100HD (half duplex) and your switch end is 100FD), you can set it at system runtime using

# lanadmin -X 100FD lan0

For the changes to take effect permanently even after a reboot, check out the files in:

# ls /etc/rc.config.d/hp*conf

Identify the driver you are using and modify its configuration file accordingly to hardcode the duplex mode.

Hope this helps. Regards.

Steven Sim Kok Leong