Solved

Linux and NIC's

Posted on 2014-11-14
3
149 Views
Last Modified: 2014-11-15
I have Red Hat 6.5

How do I verify how many NIC's I have

How do I verify how large the NIC is (10GB or 1GB)

Thanks
0
Comment
Question by:Anthony Lucia
3 Comments
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 167 total points
ID: 40443236
Run ifconfig and it will show you the NICs.  eth0 is the first ethernet (eth1, eth2, etc.) and wlan0 is the first wireless adapter.
0
 
LVL 34

Assisted Solution

by:Seth Simmons
Seth Simmons earned 166 total points
ID: 40443272
ifconfig shows the interfaces
for the connection speed, do dmesg | grep -i duplex
0
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 167 total points
ID: 40443482
Hi

ifconfig -a will be the best way that way it will show u all interfaces including the ones are not up

For the speed try the following

ethtool interface

example

ethtool eth0

u will see something like this:

Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes

Regards.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 85
CentOS/RHEL 7 Linux maillog worldwide readable 2 68
networking details on centos 6.6 4 64
curl SSL certificate unable to get local issuer certificate 15 71
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

831 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