Solved

how to find speed of NIC

Posted on 2003-12-05
10
1,821 Views
Last Modified: 2013-12-27
Hi all
I want to find the speed at which my NIC is working

also please tell me how do change it from 10 MBPs to 100 mbps

Regards

Biju
0
Comment
Question by:pillaib
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9881795
Assuming you NIC is hme

 ndd -get /dev/hme link_speed (speed)
 ndd -get /dev/hme link_mode (full / half duplex)

To set it to 100 FD
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

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9882244

keep in mind that it must be a qfe, hme, or eri interface
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9883091
first try to find out which NIC is up on your system,
ifconfig -a

then check the NIC with up entry,
and then u can try liddler suggestion for finding out speed for that NIC.
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 1

Author Comment

by:pillaib
ID: 9894493
Hi
iprb0 is the NIC which is up

please can you explain me the meaning of each ndd -set options
so that its easy to remember and implement
Thanks and Regards

Biju
0
 
LVL 1

Author Comment

by:pillaib
ID: 9894511
Hi all

I am getting the following error messages

/usr/sbin/ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
iprb1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.10.169 netmask ffffff00 broadcast 192.168.10.255

/usr/sbin/ndd -get /dev/iprb1 link_speed
couldn't push module 'iprb1', No such device or address

Shud i login as root to use these command

Regards  and Thanks
Biju
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9894691
thats the first one. u may  be root to get this value.
also check
#ls -l /dev/iprb1
it must be some sym link
ls -l that sym link too.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9895231
> Shud i login as root to use these command
For shure!
But the error message indicates other problems too, see shivsa's comment.

> .. explain me the meaning of each ndd -set options ..
see your question? Or issue
  ndd options /dev/iprb1
if still in doubt:
  man ndd
0
 
LVL 18

Accepted Solution

by:
liddler earned 50 total points
ID: 9895427
You should not use the 1
try
/usr/sbin/ndd -get /dev/iprb link_speed
-------------------------------^-----------
instead of
/usr/sbin/ndd -get /dev/iprb1 link_speed
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9895689
dooh, mondey morning, my ndd example is wrong
Please see liddler's suggestion
0
 

Expert Comment

by:hzakir
ID: 10170209
Hello,
How do I check the NIC speed on a ce interface ?
Thanks !
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question