CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 Platforms > Linux
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-01-02
Junior Member
 
Join Date: 2005-09-21
Posts: 11
Rep Power: 0
sambols has an average reputation (10+)
Default Determining the speed of the network card

What is the command to show the speed of the network card?
I am running GNU bash, version 2.05.8(1) - release.
Reply With Quote
  #2 (permalink)  
Old 2007-01-03
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 854
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Determining the speed of the network card

Use ethtool, or mii-tool. Bash won't help you, it's just a shell, for running commands.
Reply With Quote
  #3 (permalink)  
Old 2007-01-03
Senior Member
 
Join Date: 2006-04-27
Location: Twillight zone
Posts: 464
Rep Power: 3
abusharif has an average reputation (10+)
Default Re: Determining the speed of the network card

As a side note if memory serves me well, mii-tool doesn't support display of gigabit interface only 10/100 unless it is recently changed and new version added splat.
Reply With Quote
  #4 (permalink)  
Old 2007-01-03
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 854
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Determining the speed of the network card

Yeah, sometimes one works and not the other...working on a box this morning, where mii-tool works on some interfaces, ethtool works on all of them.

[Expert@fw]# mii-tool eth4
SIOCGMIIPHY on 'eth4' failed: Operation not supported
[Expert@boss]# ethtool eth4
Settings for eth4:
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: d
[Expert@fw]#
Reply With Quote
  #5 (permalink)  
Old 2007-01-04
Member
 
Join Date: 2005-09-15
Posts: 65
Rep Power: 4
stuartgreen has an average reputation (10+)
Default Re: Determining the speed of the network card

ifconfig -a

this should show you all interfaces in the machine and what speed they are currently configured at
Reply With Quote
  #6 (permalink)  
Old 2007-01-04
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 854
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Determining the speed of the network card

Quote:
Originally Posted by stuartgreen View Post
ifconfig -a

this should show you all interfaces in the machine and what speed they are currently configured at
On IPSO, yes, but not on Linux - at least not with the SPLAT boxes I've got in front of me.
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 07:41.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0