Solved

how to find speed of NIC

Posted on 2003-12-05
10
1,802 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
  • 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

772 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