Operating System - HP-UX
1833175 Members
3114 Online
110051 Solutions
New Discussion

Re: Change network card setting.

 
SOLVED
Go to solution
O'lnes
Regular Advisor

Change network card setting.

Our UNIX server network card is 100M ethernet, if our local area network change from 10M to 100M , does it need to make any setting to enable 100M speed?
Andy
6 REPLIES 6
Joaquin Gil de Vergara
Respected Contributor

Re: Change network card setting.

what server do you have?

Normally lan cards are autosensing and by default it's enabled

you can check it with the lanadmin command (see man pages)

Teach is the best way to learn
Michael Tully
Honored Contributor

Re: Change network card setting.

You can use 'lanadmin' to display and to change the cards settings, however I'd suggest if your not sure you use 'sam' to change it (them). 'sam' will change the card and also update the appropriate configuration file. Using 'lanadmin' does not do this.



Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: Change network card setting.

#lanadmin -x
to get the current setting.

The ppa-number can be got from
#lanscan


Make sure that you do not have a mismatch of speed between your switch and the server.

To change the setting.

#lanadmin -X 100FD


Thanks
Leif Halvarsson_2
Honored Contributor

Re: Change network card setting.

Hi
Some server can be very sensitive to network settings. Check for:

Both Network card and switch port hard.
or
Both Network card and switch port auto.
Never mix hard and auto.

To check the settings (for lan 0):
lanadmin -x 0
to change the settings to auto
lanadmin -X AUTO_ON 0
change to 100 full duplex hard
lanadmin -X 100FD 0



Sebastian Galeski_1
Trusted Contributor
Solution

Re: Change network card setting.

Hi
for permament settings You have to edit file in /etc/rc.config.d:

For speed and duplex, it depends on which driver your lancard is using, you can check by doing ioscan -fknClan and then match it to this list;

Driver duplex file Description Software
btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf Internal (core) LAN card
btlan4 hpgsc100conf
btlan5 hppci100conf "external" PCI card A5230A
btlan6 hpsppci100conf V-class PCI lan card
gelan hpgelanconf GigaBit card A4926A


All the files are in /etc/rc.config.d
If youre going to do it online you should test it from the console by doing /sbin/init.d/net stop then start.

For example entry in /etc/rc.config.d/hpbase100conf:

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_STATION_ADDRESS[0]=0x001083F5B591
HP_BASE100_SPEED[0]=100HD


regards seba


MANOJ SRIVASTAVA
Honored Contributor

Re: Change network card setting.

Hi


here is waht you can do :


1. Identify the LAN Interface using the lanscan command to know the interface.
2. Check for the speed set already using the Lanadmin command.
3. Use the command lanadmin ???S 100/10 nmid or the ppa to change it to the desired one.
4. Check the setting using the lanadmin command again.
5. To change it permanently go to /etc/rc.config.g directory and make changes in the net* files.


Manoj Srivastava