Saving NDD settings?

Saving NDD settings?

Post by Russell J. LeBa » Thu, 15 Jun 2000 04:00:00



I have a Solaris 2.6 box that as an hme and qfe in it. It is
auto-negotiating 100-half for most of the interfaces. I can use ndd to turn
auto-negotiating off and then force it to 100-full with no problem. But when
I reboot the box it loses these settings. Is there a way to save them (on
the card, in the prom) or should I look into writing a script to do this at
boot time?

Thanks!
--
Russ LeBar
UNIX System Administrator
Enterprise Rent-A-Car

 
 
 

Saving NDD settings?

Post by Ole Michaelse » Fri, 16 Jun 2000 04:00:00



Quote:> I have a Solaris 2.6 box that as an hme and qfe in it. It is
> auto-negotiating 100-half for most of the interfaces. I can use ndd to turn
> auto-negotiating off and then force it to 100-full with no problem. But when
> I reboot the box it loses these settings. Is there a way to save them (on
> the card, in the prom) or should I look into writing a script to do this at
> boot time?

I just did a 'grep ndd /etc/init.d/*' on my Solaris 2.7 box, which
returned two files, inetinit and nettune both having ndd mentioned in
them. Put your ndd commands with the rest of the ndd commands in one
of those two files.

Cheers,

-- Ole

 
 
 

Saving NDD settings?

Post by eric reye » Fri, 16 Jun 2000 04:00:00


go to /etc/system file. follow this url


> I have a Solaris 2.6 box that as an hme and qfe in it. It is
> auto-negotiating 100-half for most of the interfaces. I can use ndd to turn
> auto-negotiating off and then force it to 100-full with no problem. But when
> I reboot the box it loses these settings. Is there a way to save them (on
> the card, in the prom) or should I look into writing a script to do this at
> boot time?

> Thanks!
> --
> Russ LeBar
> UNIX System Administrator
> Enterprise Rent-A-Car

 
 
 

Saving NDD settings?

Post by chri sbannaya » Fri, 16 Jun 2000 04:00:00



> I have a Solaris 2.6 box that as an hme and qfe in it. It is
> auto-negotiating 100-half for most of the interfaces. I can use ndd to turn
> auto-negotiating off and then force it to 100-full with no problem. But when
> I reboot the box it loses these settings. Is there a way to save them (on
> the card, in the prom) or should I look into writing a script to do this at
> boot time?

> Thanks!
> --
> Russ LeBar
> UNIX System Administrator
> Enterprise Rent-A-Car

Hi

U can create a hme or afe.conf file in /kernel/drv to set ndd paramters or set
them in
the /etc/system file or add the ndd commands to /etc/init.d/inetsvc

Chirs

 
 
 

Saving NDD settings?

Post by Chad Smal » Fri, 16 Jun 2000 04:00:00


Excerpt from SunSolve paper on the subject:

....
         (if using /etc/rc2.d/S99...)

          ndd -set /dev/hme instance 0
          ndd -set /dev/hme adv_100T4_cap 0
          ndd -set /dev/hme adv_100fdx_cap 1
          ndd -set /dev/hme adv_100hdx_cap 0
          ndd -set /dev/hme adv_10fdx_cap 0
          ndd -set /dev/hme adv_10hdx_cap 0
          ndd -set /dev/hme adv_autoneg_cap 0

          (if using /etc/system)

          set hme:hme_adv_autoneg_cap=0
          set hme:hme_adv_100T4_cap=0
          set hme:hme_adv_100fdx_cap=1
          set hme:hme_adv_100hdx_cap=0
          set hme:hme_adv_10fdx_cap=0
          set hme:hme_adv_10hdx_cap=0
....


> I have a Solaris 2.6 box that as an hme and qfe in it. It is
> auto-negotiating 100-half for most of the interfaces. I can use ndd to turn
> auto-negotiating off and then force it to 100-full with no problem. But when
> I reboot the box it loses these settings. Is there a way to save them (on
> the card, in the prom) or should I look into writing a script to do this at
> boot time?

> Thanks!
> --
> Russ LeBar
> UNIX System Administrator
> Enterprise Rent-A-Car

 
 
 

Saving NDD settings?

Post by Russell J. LeBa » Fri, 16 Jun 2000 04:00:00


Thanks for the help!

--
Russ LeBar
UNIX System Administrator
Enterprise Rent-A-Car

 
 
 

1. setting duplex: need sun doc confirming /etc/system better than ndd

Around May of this year, we ran into autonegotiation and duplex
problems between our Sun servers and our Cisco switches.  While
working on a resolution to the problem (we decided to standardize on
turning off autonegotiation and forcing full-duplex in /etc/system) I
found a document on sunsolve that recommended using the /etc/system
implementation of setting duplex/autonegotiation, instead of ndd in an
rc script, as it was a more reliable way of ensuring the settings
stayed the way you want them.

I always thought the ndd and /etc/system implementations would be
equally reliable, so this doc really surprised me.  Now I have to
convince others of this fact, and I'm having difficulty finding the
doc on sunsolve.

Does anyone know of this doc and how I can find it again?  Thank you
for the help.

2. NIS - ypinit error

3. Disable these ndd /dev/ip setting?

4. Zombie processes

5. /etc/system entry for ndd setting

6. AutoInstall is for ex

7. setting full-duplex with ndd with more than 1 hme

8. Walnut Creek CDROMs behind times

9. ndd to change arp setting

10. Magic TCP ndd settings

11. /dev/tcp settings through ndd on Solaris 2.5

12. ndd settings for token ring?

13. ndd setting