1834483 Members
3435 Online
110067 Solutions
New Discussion

network speed

 
SOLVED
Go to solution
subhashni
Regular Advisor

network speed

Hi,
How should i set autoneg on for my NIC card and also i would like to specify gigabit speed.Please help/
Thanks
unix4me
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: network speed

Which card? Which OS? In general the answer is to set the value in a file in /etc/rc.config.d. It could be hpbtlancon, hpetherconf, hpgelanconf, ... depending upon the driver associated with your card. In any event, Gigabit speed cannot be hard-set; the card must be set to autoneg in order to allow it to run at that speed.
If it ain't broke, I can fix that.
Torsten.
Acclaimed Contributor

Re: network speed

You should use SAM -> Networking and Communications -> Networking Interface Cards

for that. You can only set autoneg (default) *or* a fixed speed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Victor Fridyev
Honored Contributor

Re: network speed

For HPUX11.11 you can find by lanscan ID of the NIC and run

lanadmin -x ID

This shows you speed and negotiation of the NIC

As far as I know, you can not change parameters of Gigabit NIC.
100BaseT parameters can be changed by

lanadmin -X 100FD ID.

In order to write this into appropriate file, use SAM

HTH
Entities are not to be multiplied beyond necessity - RTFM
navin
Super Advisor

Re: network speed

Thanks for the reply. Can i use lanadmin to set autoneg on for my NIC Card. Thanks
Learning ...
A. Clay Stephenson
Acclaimed Contributor

Re: network speed

Of course, that is what SAM uses (and using SAM to set network configurations is for wimps). Lanadmin will only make the run-time changes that will be lost upon reboot; that is why you edit the appropriate file in /etc/rc.config.d so that the rc command will call lanadmin with the options taken from your file upon boot.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: network speed

Whether you can or not is rather pointless. If you can you would have to reset it every time you re-boot the machine. You would be much better off to use SAM which will update the proper config file so that the setting will survive re-boot.

You can check and see what it is set to now as follows:

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/8/0/0/4/0 0x00306E38E28C 0 UP lan0 snap0 1 ETHER Yes
119

Pete
Pete Randall
Outstanding Contributor

Re: network speed

Sorry - missed the last part:


# lanadmin -x 0
Speed = 1000 Full-Duplex.
Autonegotiation = On.


Pete

Pete
rick jones
Honored Contributor

Re: network speed

All HP-UX Gigabit Ethernet NICs default to autoneg and autosense, so there really shouldn't be anything you need to set, unless someone before you has hard-coded settings.

there is no rest for the wicked yet the virtuous have no pillows