1834302 Members
2113 Online
110066 Solutions
New Discussion

Question

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Question

When I change speed of my network card using 'lanadmin'. What files am I changing. Is there a conf file or something that shows full or half duplex? Not the netconf file, but I file that shows an entry for full or half duplex.

Thanks,
BOB
UNIX IS GOOD
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Question

When you change the speed and duplex setting of a NIC via lanadmin you are NOT changing any configuration file. The change you make with lanadmin is temporary. It will only last until you reboot next time.

To make a change permanent look for a file in /etc/rc.config.d that is named something like hbase100conf, hpetherconf or something like that.

That file should contain a line like:

HP_BASE100_SPEED[0]=100FD

Possible options are generally 100HD, 100FD and 10HD

That is where the speed of the NIC is determined when the machine reboots and where it should be set so that your change is permanent.
A. Clay Stephenson
Acclaimed Contributor

Re: Question

Answer: You are changing no files. Any changes made with lanadmin are simply 'on the fly'. To make the changes work across reboots, you need to edit the config file for your particul;ar card.

cd /etc/rc.config.d

Depending upon the card, you will find files like hpetherconf, hpgsc100conf, ... . You then make the settings in that file. First look in /etc/rc.config.d/netconf to see where lan0 or lan1 or whatever card you are interested in is defined, yoiu then find lan1 in hpgsc100conf (or whatever) and set the speed to 100FD or whatever is desired. The startup routines then use this data to call lanadmin.
If it ain't broke, I can fix that.
Nobody's Hero
Valued Contributor

Re: Question

Thanks Patrick,
Exactly what I was looking for.
Thanks for your help.

Bob
UNIX IS GOOD