My questing was:
Picture this, a sun E250 with an fastethernetcard in it.
I want to put the first port (qfe0) on 100MB full duplex, qfe1 on 10MB half
duplex and qfe2 on 100MB half duplex.
Does any-one know how to configure this in the /etc/system file or in a
driver-specific configfile.
I know how to configure speed for an entire card, but not portbased
Here are the answers I got:
docs.sun.com:
http://docs.sun.com:80/ab2/@LegacyPageView?toc=SUNWab_28_14:/safedir/space3/
pkgs/rev8coll/ab1//SUNWabhdw/toc/QUADFENETDRV:1048;bt=Platform+Notes%3A+The+
Sun+Quad+FastEthernet+Device+Driver;ps=ps/SUNWab_28_14/QUADFENETDRV/Setting_
Parameters_for_the_Sun_Quad_Fast#14
------------------------------------------
I'd do it in the same place ethernet addresses are configured:
/etc/init.d/rootusr
The command used for this should be ndd; check "man ndd" for details
---------------------------------------------
- set the device instance:
ndd -set /dev/hme instance 0
this makes the next commands apply to hme0. Similarly, to set to
hme1,
simply say
ndd -set /dev/hme instance 1
- query parameters for the set instance:
ndd -get /dev/hme link_status 0 = link up, 1 = link down
ndd -get /dev/hme link_speed 0 = 10MBit, 1 = 100MBit
ndd -get /dev/hme link_mode 0 = half duplex, 1 = full duplex
ndd -get /dev/hme adv_autoneg_cap 0 = no autonegotiation, 1 =
autoneg.
enabled
- set parameters, e.g.
ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_autoneg_cap 1
to enable autonegotiation for hme0
for a full list of what can be queried and set for /dev/hme, do
ndd /dev/hme \?
------------------------------------------------
you have to consult ndd-command with it
ndd -set /dev/qfe instance <#controller-number>
for example qfe0
ndd -set /dev/qfe instance 0
for qfe1
ndd -set /dev/qfe instance 1
after this settup the rest of settings are done for chosen controller-
instance (please read the controller-values with ndd /dev/qfe \?)
--------------------------------------------------
Thanks to:
Dieter Wurm
Steve Turgeon
Roy S. Rapoport
Andrés Cáceres
Taco Hettema
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:15 CDT