LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-02-2012, 03:42 AM   #1
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
how big is my NIC?


I am no sysadmin but have inherited a back end.

Is there a way from the command line to figure out
what spec NIC I have, like is it 10Mb 100Mb etc?
 
Old 03-02-2012, 04:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ethtool would be my first port of call. ifconfig should show you this too in less detail
 
1 members found this post helpful.
Old 03-02-2012, 04:04 AM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Code:
dmesg | grep eth
Code:
lspci | grep Ether
 
1 members found this post helpful.
Old 03-02-2012, 04:18 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by acid_kewpie View Post
ethtool would be my first port of call. ifconfig should show you this too in less detail
well, these are knackered old servers with 2.4 kernels!
installing stuff is a headache.

---------- Post added 03-02-12 at 10:18 AM ----------

Quote:
Originally Posted by zhjim View Post
Code:
dmesg | grep eth
Code:
lspci | grep Ether
cheers, that'll do!
 
Old 03-02-2012, 04:24 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Remember not to mix what the nic reports as vs what it's actually running as.
 
Old 03-02-2012, 09:49 AM   #6
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by acid_kewpie View Post
Remember not to mix what the nic reports as vs what it's actually running as.
oh that's right confuse me why don't ya!
 
Old 03-05-2012, 03:03 AM   #7
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Especially without giving ways to see the used speed.
 
Old 03-05-2012, 03:23 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by zhjim View Post
Especially without giving ways to see the used speed.
Hang on... let me just get my handbag...


I already advised using ethtool in my first reply.
 
Old 03-05-2012, 04:51 AM   #9
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Just poking you... some more

As the op said that he does not have ethool I looked for the infos that ethtool prints out under /proc but could not find a file that holds the information and so was hopping that you'll might know.
 
Old 03-05-2012, 09:34 AM   #10
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
hey guys, I found this great app called ethtool

;-)

As an explanation, I'm trying to find why a machine is slow.
I know collisions are "normal" in ethernet, but I have none logged at all:

Code:
 $ ethtool -S eth0
     tx_collisions: 0
     tx_single_collisions: 0
     tx_mult_collisions: 0
     tx_excessive_collisions: 0
     tx_late_collisions: 0
So I take it to mean that the network is not under any strain at all.
Which probably means the bottleneck is not in the network or NIC.
Which is what I suspect anyway.
 
Old 03-05-2012, 09:37 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well in terms of network hardware, the biggest reason for things being slow is duplex mismatch on a given connection, so make sure they are the same at both ends.
 
Old 03-05-2012, 05:17 PM   #12
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by acid_kewpie View Post
Well in terms of network hardware, the biggest reason for things being slow is duplex mismatch on a given connection, so make sure they are the same at both ends.
oh crikey!

I never wanted to be a sysadmin.
(well I did but I've changed my mind now)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Big Apple, Big Google, Big Brother LXer Syndicated Linux News 1 04-26-2011 03:06 AM
how to use Big O, Big Omega, and Big Theta to find running time of algorithms naveed17 Programming 3 03-17-2011 10:25 AM
difference between big theta, big omega & big o mahboob ul haq Linux - Newbie 1 01-29-2011 01:36 PM
LXer: Why Big Compute and Big Storage will meet Big Pipe at the Last Mile LXer Syndicated Linux News 0 12-23-2007 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration