Hi,
what is the command to set the network card speed to 1000Mbps/full
the machine is installed with solaris9 and the network card is ce01
and how to know weather it is 1000Mbps full or not ..
Thanks in advance....
|
|
0
|
|
|
|
Reply
|
r.deepak29 (13)
|
2/22/2007 11:27:57 AM |
|
tinku schrieb:
> Hi,
>
> what is the command to set the network card speed to 1000Mbps/full
>
> the machine is installed with solaris9 and the network card is ce01
>
> and how to know weather it is 1000Mbps full or not ..
>
> Thanks in advance....
>
Hello,
take a look here.
http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html
Marco
|
|
0
|
|
|
|
Reply
|
Marco
|
2/22/2007 3:20:55 PM
|
|
tinku =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BE
> Hi,
>
> what is the command to set the network card speed to 1000Mbps/full
>
> the machine is installed with solaris9 and the network card is ce01
>
> and how to know weather it is 1000Mbps full or not ..
>
> Thanks in advance....
Have you tried ndd (man ndd) ?
G
|
|
0
|
|
|
|
Reply
|
stosic
|
2/22/2007 8:02:29 PM
|
|
stosic.g@gmail.com =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BE
> tinku =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BE
> > Hi,
> >
> > what is the command to set the network card speed to 1000Mbps/full
> >
> > the machine is installed with solaris9 and the network card is ce01
> >
> > and how to know weather it is 1000Mbps full or not ..
> >
> > Thanks in advance....
>
>
> Have you tried ndd (man ndd) ?
>
> G
sorry, wrong place.
G
|
|
0
|
|
|
|
Reply
|
stosic
|
2/22/2007 8:15:30 PM
|
|
"Marco Decker" <marco.decker@gmx.de> wrote in message
news:45ddb49e$0$20300$9b4e6d93@newsspool3.arcor-online.net...
> tinku schrieb:
>> Hi,
>>
>> what is the command to set the network card speed to 1000Mbps/full
>>
>> the machine is installed with solaris9 and the network card is ce01
>>
>> and how to know weather it is 1000Mbps full or not ..
>>
>> Thanks in advance....
>>
>
>
> Hello,
>
> take a look here.
>
> http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html
>
> Marco
I downloaded the script and when executed as root, I get the following
message:
Interface Speed Duplex
--------- -------- --------
operation failed: Invalid argument
rtls1 operation failed: Invalid argument
yaj
|
|
0
|
|
|
|
Reply
|
Yajesh
|
2/22/2007 9:13:55 PM
|
|
Yajesh Shanker wrote:
> "Marco Decker" <marco.decker@gmx.de> wrote in message
> news:45ddb49e$0$20300$9b4e6d93@newsspool3.arcor-online.net...
>
>>tinku schrieb:
>>
>>>Hi,
>>>
>>>what is the command to set the network card speed to 1000Mbps/full
>>>
>>>the machine is installed with solaris9 and the network card is ce01
>>>
>>>and how to know weather it is 1000Mbps full or not ..
>>>
>>>Thanks in advance....
>>>
>>
>>
>>Hello,
>>
>>take a look here.
>>
>>http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html
>>
>>Marco
>
>
> I downloaded the script and when executed as root, I get the following
> message:
> Interface Speed Duplex
> --------- -------- --------
> operation failed: Invalid argument
> rtls1 operation failed: Invalid argument
>
>
> yaj
>
>
Hi,
Take a look further down the page :-)
ce Ethernet adapters
Older versions of the Sun GigaSwift Ethernet 1.0 driver do not support
the ndd link_mode and link_speed parameters. You may either install the
latest Sun GigaSwift Ethernet adapter patch (111883) or you may use
kstat ce ce_device to get speed and duplex information for ce Ethernet
adapters.
For example (from http://www.samag.com/documents/s=9142/sam0405l/0405l.htm):
$ netstat -k ce | egrep 'link_speed|link_status|link_duplex'
Interpretation:
link_up - 0 down, 1 up
link_speed - speed in Mbit/s
link_duplex - 1 half duplex, 2 full duplex, 0 down
On my V490 I see :-
root: netstat -k ce0 | egrep 'link_speed|link_status|link_duplex'
lp_cap_asmpause 1 lp_cap_pause 0 link_T4 0 link_speed 1000
link_duplex 2 link_asmpause 0 link_pause 0 link_up 1 mac_mtu 1522
|
|
0
|
|
|
|
Reply
|
Richard
|
2/23/2007 9:42:00 AM
|
|
"Richard Skelton" <Richard.Skelton@Infineon.com> wrote in message
news:ermct8$g77$1@athen03.muc.infineon.com...
> Yajesh Shanker wrote:
>> "Marco Decker" <marco.decker@gmx.de> wrote in message
>> news:45ddb49e$0$20300$9b4e6d93@newsspool3.arcor-online.net...
>>
>>>tinku schrieb:
>>>
>>>>Hi,
>>>>
>>>>what is the command to set the network card speed to 1000Mbps/full
>>>>
>>>>the machine is installed with solaris9 and the network card is ce01
>>>>
>>>>and how to know weather it is 1000Mbps full or not ..
>>>>
>>>>Thanks in advance....
>>>>
>>>
>>>
>>>Hello,
>>>
>>>take a look here.
>>>
>>>http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html
>>>
>>>Marco
>>
>>
>> I downloaded the script and when executed as root, I get the following
>> message:
>> Interface Speed Duplex
>> --------- -------- --------
>> operation failed: Invalid argument
>> rtls1 operation failed: Invalid argument
>>
>>
>> yaj
> Hi,
> Take a look further down the page :-)
> ce Ethernet adapters
> Older versions of the Sun GigaSwift Ethernet 1.0 driver do not support the
> ndd link_mode and link_speed parameters. You may either install the latest
> Sun GigaSwift Ethernet adapter patch (111883) or you may use kstat ce
> ce_device to get speed and duplex information for ce Ethernet adapters.
>
> For example (from
> http://www.samag.com/documents/s=9142/sam0405l/0405l.htm):
>
> $ netstat -k ce | egrep 'link_speed|link_status|link_duplex'
>
> Interpretation:
> link_up - 0 down, 1 up
> link_speed - speed in Mbit/s
> link_duplex - 1 half duplex, 2 full duplex, 0 down
>
>
>
>
> On my V490 I see :-
> root: netstat -k ce0 | egrep 'link_speed|link_status|link_duplex'
> lp_cap_asmpause 1 lp_cap_pause 0 link_T4 0 link_speed 1000
> link_duplex 2 link_asmpause 0 link_pause 0 link_up 1 mac_mtu 1522
------------
I'm not sure if you are mistaken with my adapter type to what you are
describing above.
I do NOT have ce type adapter.
Its is rtls Ethernet Adapter form D-Link, which works great.
BTW - I do see 100Mbps Full Duplex when it is booting. I am able to set that
using ndd command without any problem.
However, the script does not exhibit the same results. Just curious, what is
different in the script that it is not able to output the results.
On Solaris 10 x86 system, it does not even recognize -k switch with the
netstat command.
$ netstat -k rtls1
netstat: illegal option -- k
usage: netstat [-anv] [-f address_family]
netstat [-n] [-f address_family] [-P protocol] [-g | -p | -s
[interval [count]]]
netstat -m [-v] [interval [count]]
netstat -i [-I interface] [-an] [-f address_family] [interval
[count]]
netstat -r [-anv] [-f address_family|filter]
netstat -M [-ns] [-f address_family]
netstat -D [-I interface] [-f address_family]
$
yaj
-----------
|
|
0
|
|
|
|
Reply
|
Yajesh
|
2/23/2007 2:44:31 PM
|
|
Yajesh Shanker <yaj@rogers.com> wrote:
> On Solaris 10 x86 system, it does not even recognize -k switch with the
> netstat command.
The -k was never documented as part of netstat. Since solaris 8, you
can get the same information (and more) with 'kstat'.
kstat -n rtls1 should limit the output.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
2/23/2007 5:04:20 PM
|
|
On Feb 23, 6:44 am, "Yajesh Shanker" <y...@rogers.com> wrote:
> "Richard Skelton" <Richard.Skel...@Infineon.com> wrote in message
> news:ermct8$g77$1@athen03.muc.infineon.com...
> > Yajesh Shanker wrote:
> >> "Marco Decker" <marco.dec...@gmx.de> wrote in message
>>>news:45ddb49e$0$20300$9b4e6d93@newsspool3.arcor-online.net...
> >>>tinku schrieb:
> >>>>what is the command to set the network card speed to 1000Mbps/full
> >>>>the machine is installed with solaris9 and the network card is ce01
> >>>>and how to know weather it is 1000Mbps full or not ..
> >>>take a look here.
>>>http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_setting...
> >> I downloaded the script and when executed as root, I get the following
> >> message:
> >> Interface Speed Duplex
> >> --------- -------- --------
> >> operation failed: Invalid argument
> >> rtls1 operation failed: Invalid argument
> > Take a look further down the page :-)
> > ce Ethernet adapters
> > Older versions of the Sun GigaSwift Ethernet 1.0 driver do not support the
> > ndd link_mode and link_speed parameters. You may either install the latest
> > Sun GigaSwift Ethernet adapter patch (111883) or you may use kstat ce
> > ce_device to get speed and duplex information for ce Ethernet adapters.
Maybe
> > For example (from
> >http://www.samag.com/documents/s=9142/sam0405l/0405l.htm):
> > $ netstat -k ce | egrep 'link_speed|link_status|link_duplex'
> > Interpretation:
> > link_up - 0 down, 1 up
> > link_speed - speed in Mbit/s
> > link_duplex - 1 half duplex, 2 full duplex, 0 down
> > On my V490 I see :-
> > root: netstat -k ce0 | egrep 'link_speed|link_status|link_duplex'
> > lp_cap_asmpause 1 lp_cap_pause 0 link_T4 0 link_speed 1000
> > link_duplex 2 link_asmpause 0 link_pause 0 link_up 1 mac_mtu 1522
I dont have access to a V490 today but I'd be surprised if
-k works
> I'm not sure if you are mistaken with my adapter type to what you are
> describing above.
> I do NOT have ce type adapter.
> Its is rtls Ethernet Adapter form D-Link, which works great.
> BTW - I do see 100Mbps Full Duplex when it is booting. I am able to set that
> using ndd command without any problem.
> However, the script does not exhibit the same results. Just curious, what is
> different in the script that it is not able to output the results.
>
> On Solaris 10 x86 system, it does not even recognize -k switch with the
> netstat command.
> $ netstat -k rtls1
> netstat: illegal option -- k
A fair cop. There is no -k switch on any SPARC I have
access to either. That I tried. So it seems that these two links are
utter BS in places.
You might try kstat instead but mileage may vary depending on
interface type.
On eri I get:
kstat eri|egrep 'link|speed'
ifspeed 100000000
link_duplex 2
link_up 1
Adjust your egrep accordingly
|
|
0
|
|
|
|
Reply
|
gerryt
|
2/23/2007 5:06:39 PM
|
|
gerryt <lepsysinc@gmail.com> wrote:
> I dont have access to a V490 today but I'd be surprised if
> -k works
It's not a hardware question but OS. 'netstat -k' was an undocumented
option to display the raw kstat information for the interface. It was
introduced before 'kstat' was introduced as a separate utility.
> A fair cop. There is no -k switch on any SPARC I have
> access to either. That I tried. So it seems that these two links are
> utter BS in places.
> You might try kstat instead but mileage may vary depending on
> interface type.
netstat -k and kstat should have similar information, but the
formatting will be different.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
2/23/2007 7:09:02 PM
|
|
On Feb 23, 11:09 am, Darren Dunham <ddun...@redwood.taos.com> wrote:
> gerryt <lepsys...@gmail.com> wrote:
> > I dont have access to a V490 today but I'd be surprised if
> > -k works
> It's not a hardware question but OS. 'netstat -k' was an undocumented
> option to display the raw kstat information for the interface. It was
> introduced before 'kstat' was introduced as a separate utility.
an undocumented option since removed looks like..
netstat -k fails on an ultra 60/Solaris 8 box I checked and my Blade
2000 Solaris 10 11/06. That leaves 9 as a possibility
A quick look at netstat.c in Opensolaris sez:
while ((c = getopt(argc, argv, "adimnrspMgvf:P:I:DR")) != -1) {
No dash k there either : >
|
|
0
|
|
|
|
Reply
|
gerryt
|
2/23/2007 11:14:47 PM
|
|
"gerryt" <lepsysinc@gmail.com> writes:
>On eri I get:
>kstat eri|egrep 'link|speed'
> ifspeed 100000000
> link_duplex 2
> link_up 1
Or use the power of perl:
kstat -p 'eri:*::/link|speed/'
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
|
|
0
|
|
|
|
Reply
|
Casper
|
2/24/2007 2:12:28 PM
|
|
gerryt <lepsysinc@gmail.com> wrote:
> an undocumented option since removed looks like..
> netstat -k fails on an ultra 60/Solaris 8 box I checked and my Blade
> 2000 Solaris 10 11/06. That leaves 9 as a possibility
Some different set of patches? Works fine for me. As far as I'm aware,
it wasn't removed until Solaris 10.
See: http://docs.sun.com/app/docs/doc/817-0552/6mgbi4fhc?a=view
# uname -ri
5.8 SUNW,Ultra-60
# netstat -k hme0
hme0:
ipackets 373220 ierrors 0 opackets 8 oerrors 0 collisions 0
defer 0 framing 0 crc 0 sqe 0 code_violations 0 len_errors 0
[snip...]
# uname -ri
5.9 SUNW,Ultra-30
# netstat -k hme0
ipackets 932050634 ierrors 0 opackets 459567837 oerrors 0 collisions 0
defer 0 framing 0 crc 0 sge 0 code_violations 0 len_errors 0
[snip...]
> A quick look at netstat.c in Opensolaris sez:
> while ((c = getopt(argc, argv, "adimnrspMgvf:P:I:DR")) != -1) {
> No dash k there either : >
Since it was removed in 10, I expect it to not be in OpenSolaris code.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
2/26/2007 7:04:41 PM
|
|
|
12 Replies
430 Views
(page loaded in 0.138 seconds)
|