1852096 Members
4036 Online
104064 Solutions
New Discussion

lan speed

 
SOLVED
Go to solution
subhashni
Regular Advisor

lan speed

Hi ..
Is there any other way to make lan settings permanent (settings survive after reboot) , instead of editing rc.config.d/driverspecific file.
thanks
unix4me
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: lan speed

Hi:

No, that's why there are configuration files...

Regards!

...JRF...
DCE
Honored Contributor

Re: lan speed



You can use SAM - although it modifies the driver specific files for you.........
Steven E. Protter
Exalted Contributor

Re: lan speed

Shalom,

Changing the configuration files does make them permanent.

I ran into a situation where a lan was not coming up 100 BaseT full duplex and had to hard code settings into /etc/rc.config.d/hpbtlanconf

This was using configuraiton files to overcome an OS to Switch defect.

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
rick jones
Honored Contributor

Re: lan speed

Steven - wrt the switch problem, I might suggest a shotgun rather than a workaround in the host :)

More seriously, if Subhashni is having duplex problems, and wants to hardcode, please make very certain that it is an autoneg problem that cannot be resolved anyother way.

Steven and others will have already seen this boilerplate:

$ cat usenet_replies/duplex
How 100Base-T Autoneg is supposed to work:

When both sides of the link are set to autoneg, they will "negotiate"
the duplex setting and select full-duplex if both sides can do
full-duplex.

If one side is hardcoded and not using autoneg, the autoneg process
will "fail" and the side trying to autoneg is required by spec to use
half-duplex mode.

If one side is using half-duplex, and the other is using full-duplex,
sorrow and woe is the usual result.

So, the following table shows what will happen given various settings
on each side:

Auto Half Full

Auto Happiness Lucky Sorrow

Half Lucky Happiness Sorrow

Full Sorrow Sorrow Happiness

Happiness means that there is a good shot of everything going well.
Lucky means that things will likely go well, but not because you did
anything correctly :) Sorrow means that there _will_ be a duplex
mis-match.

When there is a duplex mismatch, on the side running half-duplex you
will see various errors and probably a number of _LATE_ collisions
("normal" collisions don't count here). On the side running
full-duplex you will see things like FCS errors. Note that those
errors are not necessarily conclusive, they are simply indicators.

Further, it is important to keep in mind that a "clean" ping (or the
like - eg "linkloop" or default netperf TCP_RR) test result is
inconclusive here - a duplex mismatch causes lost traffic _only_ when
both sides of the link try to speak at the same time. A typical ping
test, being synchronous, one at a time request/response, never tries
to have both sides talking at the same time.

Finally, when/if you migrate to 1000Base-T, everything has to be set
to auto-neg anyway.
there is no rest for the wicked yet the virtuous have no pillows