SUMMARY: Changing NIC settings on the fly.

From: Fletcher, Joe (joe.fletcher@Metapack.com)
Date: Tue Nov 28 2000 - 08:02:56 CST


Hi,

Lot's of responses so thanks to Mike, Evandro, Douglas, Don, Andy, Daniel
and any that are still
in the aether.

Seems ndd WILL do what I want but I have to be more explicit on how I use
it. I'd already run it on
one of the problem systems but nothing seemed to change. I can't just say

ndd -set hme:adv_100fdx_cap 1

and expect it to work. I also have to state that half duplex is disabled and
I have to change the settings in the right order and I have to bounce the
interface. I also got a warning about using ndd on hme0 which is the card I
need to change. Apparently it can hang the system. The box also has two QFEs
so I'm going to think of getting those in on the act to work around the
potential hang. From the SUN document on the subject, courtesy of Douglas
Lee I need to do:

    ndd set qfe:qfe_adv_autoneg_cap=0
        set qfe:qfe_adv_100T4_cap=0
        set qfe:qfe_adv_100fdx_cap=1
        set qfe:qfe_adv_100hdx_cap=0
        set qfe:qfe_adv_10fdx_cap=0
        set qfe:qfe_adv_10hdx_cap=0

and then bounce the card.

Cheers.

Joe

-----Original Message-----
From: Fletcher, Joe [mailto:joe.fletcher@Metapack.com]
Sent: 28 November 2000 12:18
To: Sunmgr (E-mail)
Subject: Changing NIC settings on the fly.

Hi,

Anyone know how to change the settings of an ethernet card in a SUN while
it's active?
I've been through the archives and seen the ndd commands and also the
options for /etc/system.
The ndd commands don't appear to act on an interface while it's running.
HP have things like "lanadmin -X 100FD lan0" and Tru64 has "lan_config -s
100 -x 1 tu0" which do the sort of thing I'm after so what's the Solaris
equivalent? It's not in the Rosetta Stone page BTW.

MetaPack
The Lightwell
12/16 Laystall Street
Clerkenwell
London EC1R 4PF
Tel: +44 (0) 20 7843 6720
Fax: +44 (0) 20 7843 6721
--------------------------------------------------------------------------
This email is confidential and proprietary;
all information contained in it must be used only by the addressee in
accordance with MetaPack's terms of business and non-disclosure agreement.
Disclosure, copying, and distribution to, or use by, anyone other than the
intended recipient is strictly prohibited and may be unlawful.
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:24 CDT