1819805 Members
3088 Online
109607 Solutions
New Discussion юеВ

Lan admin settings

 
SOLVED
Go to solution
dictum9
Super Advisor

Lan admin settings



I have a network connection that is running on Half Duplex and Autonegotiate=on

I would like Full duplex and autonegotiate=off

What file do I modify?

10 REPLIES 10
HGN
Honored Contributor
Solution

Re: Lan admin settings

Hi

You need to modify the
/etc/rc.config.d/netconf file

You can do it on-line after you make the same settings on the switch side
#lanadmin -X 100fd 1(for lan1)
#lanadmin -x 1 (will show you the current settings

Rgds

HGN
James R. Ferguson
Acclaimed Contributor

Re: Lan admin settings

Hi:

The file will vary depending on the type of LAN card in question. Based upon the driver type from 'ioscan -kfnC lan', a 'btlan1' type uses '/etc/rc.config.d/hpbasetconf'.

The filename will vary but the 'etc/rc.config.d' directory is the home.

Regards!

...JRF...
DCE
Honored Contributor

Re: Lan admin settings



I usually use SAM to change these settings - that way I do not have to worry about whether I have the correct files, and I do not have to worry about typos. I also find it faster/easier.

If you want to know which files it modifies, look at the samlog after you complete the task in SAM.
Rick Garland
Honored Contributor

Re: Lan admin settings

Depending on the NIC you have a driver file for the LAN.

Modify the driver file specific for your hardware.

Located in the /etc/rc.config.d directory. Examples entries are in the files as well.

dictum9
Super Advisor

Re: Lan admin settings

#lanadmin -X 100fd 1

That worked, but only until reboot. A file has to be modified. I knew the /etc/rc.config.d/netconf file configures networking but I couldn't find any reference at all to "full" or "autonegotiate" and there are no examples in it. Neither does hp*conf file sheds any light on it.

Also I am aware that this could be done in sam ... but I would rather modify the files myself.

Lastly, what settings must be changed on the switch side? My current output lanadmin -x ? shows the right settings, does this mean they have to be changed on the switch side also?

Phillip Thayer
Esteemed Contributor

Re: Lan admin settings

Lanadmin -x shows the right settings? Is t his before or after you did the lanadmin -X 100fd 1 command.

What is it that led you to feel that you needed to change these settings on the server? Was there an indicator on one of the switches or network devices?

Phil
Once it's in production it's all bugs after that.
dictum9
Super Advisor

Re: Lan admin settings

they were wrong before, and after the lanadmin command, they look good.

still the files must reflect these changes or after next reboot, they will go away
DCE
Honored Contributor

Re: Lan admin settings


do a ll /etc/rc.config.d/hp*

This will list all of the lan configuration files.

the one you is probably one of the following(depending on your specific card):
hpbtlanconf
hpetherconf
hpfddi4conf
hpgelanconf
hpigelanconf

Phillip Thayer
Esteemed Contributor

Re: Lan admin settings

You can modify the hpetherconf or hpbtlanconf files and change thge HP_lan-type_SPEEN parameter to use the value that you used with the -x option of the lanadmin command. So for lanadmin -x 100fd on a btlan you would change the file hpbtlanconf so that the parameter HP_BTLAN_SPEEN=100fd

Phil
Once it's in production it's all bugs after that.
dictum9
Super Advisor

Re: Lan admin settings


I gave up on the command line and used sam.

It modified /etc/rc.config.d/hpigelanconf
and hpietherconf files.

/var/sam/log is pretty confusing.