1755411 Members
4726 Online
108832 Solutions
New Discussion юеВ

Telnet on HP-UX 11.11

 
SOLVED
Go to solution
Peter Jones_1
Occasional Contributor

Telnet on HP-UX 11.11

I have a customer using hostaccess (version 7.20g, build 985174793. Copyright pixel
innovations Ltd) to connect to an 11i box. Sporadically, a session will cease to respond (typed characters do not appear on the screen) then will close. Other sessions on the same workstation may be unaffected. Problem is not limited to a single user or w/station. Nothing in the logs. No firewall involved. No discernable pattern.
9 REPLIES 9
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Telnet on HP-UX 11.11

I would load PHNE_24131; it looks like it might be your answer.

I would also make certain that if this is a 100BaseT connection that auto-negotiation is notr used but rather that 100FD is hard set on both the UNIX box port and the corresponding switch port.
If it ain't broke, I can fix that.
Peter Jones_1
Occasional Contributor

Re: Telnet on HP-UX 11.11

OK. I'll check for the patch. How do I set port speed on the UNIX box?
Jeff Schussele
Honored Contributor

Re: Telnet on HP-UX 11.11

Hi Peter,

To set port speed you first need to know which port

ioscan -fnC lan

return will be like lan0, lan1, etc.

You can tie that to the IP with

netstat -in

Once you have the PPA (0, 1, etc)
Then you see what it's set at currently

lanadmin -x 0 (1,2,etc)

You'll get output like

Current Speed = 100 Half-Duplex Auto-Negotiation-ON

To change it use lanadmin as follows

lanadmin -X 100FD 0 (1,2,etc)

This forces it to 100 Full-Duplex Auto-Neg-OFF

To make this permanent you need to determine which conf file in /etc/rc.config.d is the proper file for that specific lan driver & set the following field in it to that value

HP_XXXXXX_SPEED=100FD

Where XXXXXX will relate to the actual filename - here's some example filenames in /etc/rc.config.d

hpbase100conf
hpbtlanconf
hpetherconf

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Peter Jones_1
Occasional Contributor

Re: Telnet on HP-UX 11.11

Can this be done on-the-fly? This is a 24x7 production box. Patch PHNE_24131 is loaded on this machine. lanadmin display shows 26 inbound errors and 12 inbound unknown protocols, is that significant do you think? We have reset the stats with a clear to see if they count up again.
Jeff Schussele
Honored Contributor

Re: Telnet on HP-UX 11.11

Yep, it can be done while on-line. Just be very careful typing - i.e. dont type 10FD.
It *may* cause a few seconds of network inactivity while resetting.
But it shouldn't be longer than 10 seconds.
Don't forget to edit the proper conf file so that the speed is set at next & every boot or it'll fall back to whatever the switch negotiates with it.
We tell our net admins to lock the switch ports at 100FD as a safeguard.

And no, depending on what the total packet count was, I don't think those counts were significant. Any Half-Duplex setting will ALWAYS rack up some collisions/errors due to the fact that it's NOT Full-Duplex.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Peter Jones_1
Occasional Contributor

Re: Telnet on HP-UX 11.11

We will try setting port speed (not during the online day, however) and see if that makes a difference. In addition, this box is an RP7410 with a 1Gig card. It replaced a N4000 with a 10/100BaseT card, which did not exhibit this problem. Do you know what the significance of the CKO (Checksum offload) flag is?

root@ccwcs004:/var/adm/syslog # ifconfig lan0
lan0: flags=1843
inet 10.132.6.23 netmask ffffff00 broadcast 10.132.6.255
T G Manikandan
Honored Contributor

Re: Telnet on HP-UX 11.11

Pete Randall
Outstanding Contributor

Re: Telnet on HP-UX 11.11

Peter,

If I recall correctly, the 1Gb cards don't exhibit the auto-negotiate problem. Have you checked both ends? The card with

"lanadmin -x 0" (0 or whatever the instance number ioscan returns)

AND the switch?

Pete

Pete
Pete Randall
Outstanding Contributor

Re: Telnet on HP-UX 11.11

Peter,

Still looking for an authoritative answer on 1Gb cards, I came across this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6a6fdfe5920fd5118fef0090279cd0f9,00.html

Check the comments from Handy Arry, in particular the following:

"The 1000Base-T adapter can operate at 10/100 Mbps in either
half-duplex or full-duplex modes and also at 1000 Mbps in Full-Duplex
mode.

The 1000Base-T adapter cannot be manually set to 1000Mbps operation.
The auto-negotiation function must be ON to achieve 1000Mbps
operation. There is no 1000hd or 1000fd parameter.

The 1000Base-T adapter can be manually set to 10 or 100 Mbps, but not
to 1000 Mbps. To achieve gigabit speed, the 1000Base-T adapter and its
link partner must be allowed to autonegotiate. If the adapter:

has autonegotiation on, and its link partner also has autonegotiation on, and
the link partner can operate at 1000Mbps Full Duplex, then the result will
be a link set to operate at 1000Mbps Full Duplex. "


Hope this helps,
Pete

Pete