Operating System - HP-UX
1759755 Members
3692 Online
108888 Solutions
New Discussion юеВ

Re: changing 10/megs to 100/megs

 
khilari
Regular Advisor

changing 10/megs to 100/megs

Hi guys, i want to change the lan card speed from 10m/sec to 100m/sec. Now, can i do it through command line or have to use sam. And if i do it on a running application and database should that be a problem??
Thanks
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: changing 10/megs to 100/megs

If your card supports it then you can do a lanadmin -S 100. Man lanadmin for details. (You can use the lanscan command to get the NMID).

This will reset the card and whether or not the application is able to handle that interruption depends upon how the application was coded. You also need to make sure that your speed/duplex settings agree on the switch end of the connection as well.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: changing 10/megs to 100/megs

Shalom,

It would be helful to know the machine model. Then it would be possible to advise whether this is a good idea or not.

Note: built in NIC on D/R/K class and similar era machines can only go 10 BaseT half duplex.

Lets assume that this system does not meet that critera. Here is what you can do to make it go 100 BaseT assuming its also not a 1000 BaseT card which requires auto negotiation.

1) Have the network switch port set to 100 baseT Manual
2) use lanadmin -X to test the change while its running.
3) Edit /etc/rc.config.d/hpbtlanconf to make the change permanent. put in the entry for th e lan number eg lan0 or lan1 or lan2 and put 100FD on the last line for 100 BaseT full duplex.
4) boot. Use lanadmin -x 0 (for lan0 1 for lan1 etc) to test it all out.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
khilari
Regular Advisor

Re: changing 10/megs to 100/megs

the model is 9000/800/K580
A. Clay Stephenson
Acclaimed Contributor

Re: changing 10/megs to 100/megs

Ok, is this the built-in LAN on your K-box or an add-in NIC? If an add-on card, what is the product number? If it's the built-in then 10Base-T is all it will do.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: changing 10/megs to 100/megs

post ioscan output that will do it.

ioscan

ioscan -fnC lan

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com