1834149 Members
2218 Online
110064 Solutions
New Discussion

network

 
SOLVED
Go to solution
subhashni
Regular Advisor

network

hello,
how should i set network speed for nic as 100 full duplex temproarily as well as i would like to know how to set as permanently.
please advice.
thanks for the help
unix4me
15 REPLIES 15
Steven E. Protter
Exalted Contributor
Solution

Re: network

Shalom,

It depends on the system.

/etc/rc.config.d/hpbtlanconf

Is a place you can hardcode the speed.

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
Robert-Jan Goossens
Honored Contributor

Re: network

Hi,

# lanscan

# lanadmin -X 100FD "ppa number"

permanent change

edit the corresponding configuration file in the /etc/rc.config.d/ directory (attachment).

Regards,
Robert-Jan
Victor BERRIDGE
Honored Contributor

Re: network

Hi,
You can use sam or lanadmin to configure...
To set permanently would be in a file in /etc/rc.config.d and depends on your car model...

All the best
Victor
subhashni
Regular Advisor

Re: network

i have lan0 so is it going to be "lanadmin -X 100FD 0 " .

Thanks
unix4me
Victor BERRIDGE
Honored Contributor

Re: network

exactly...
But you could also go interactively by typing lanadmin to see and test...
after entering lanadmin, if you type display, it will show you the PPA number, the driver and speed...


All the best
Victor
subhashni
Regular Advisor

Re: network

hello thank you all.
I have only one more clarification, thanks for your time in advance.
Here is the parameters specified in the hpbtlanconf of my server
HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=?
HP_BTLAN_SPEED[0]=100FD
HP_BTLAN_MTU[0]=?

Not sure what should i specify for station address and mtu.please advice.
thanks
unix4me
V. Nyga
Honored Contributor

Re: network

Hi,

you don't need to specify this.
Let it empty.

Volkmar
*** Say 'Thanks' with Kudos ***
Robert-Jan Goossens
Honored Contributor

Re: network

Hi,

HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD
HP_BTLAN_MTU[0]=1500

You can set HP_BTLAN_STATION_ADDRESS empty, the hardware(MAC) address will be automatically set after a reboot.

Regards,
Robert-Jan
subhashni
Regular Advisor

Re: network

Thanks much for you all.

unix4me
Sheriff Andy
Trusted Contributor

Re: network

You might want to check with your network admin to make sure that your NIC settings corresponds with the settings on your HUB/ Switch.

Andy
subhashni
Regular Advisor

Re: network

hello ,
Thanks for all your replies , were really helpful .
How do i set the autoneg on on the server , it turned off by itself.
thanks again
unix4me
Sheriff Andy
Trusted Contributor

Re: network

Just like Robert-Jan suggested.

# lanadmin -X 100FD 100 1
subhashni
Regular Advisor

Re: network

Thank you for the reply.Actually the "lanadmin -X 100FD 1" changes the network speed as 100FD but autoneg is still off. please advice.
unix4me
Bill Hassell
Honored Contributor

Re: network

When you select 100FD, you have turned off auto-negotiation. Auto-negotiation means that the LAN card and the switch will negotiate the speed and duplex setting. Note that 100 BaseT network cards have difficulty negotiating correctly when the LAN cable is about 30-40 meters in length. In this case, the speed will usually be 100 but duplex will be half and will cause numerous errors. By editing the config file to select 100FD, the speed and duplex will be fixed and no mistake will be made.


Bill Hassell, sysadmin
subhashni
Regular Advisor

Re: network

Bill,
Then the network switch should also hardcoded to 100FD ,right. so that there is no negosiation. speed and duplex set to 100 FD.

thank you for all your help.
unix4me