Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to tell network speed?

Reply
Thread Tools Display Modes

How to tell network speed?

 
 
Al. C
Guest
Posts: n/a

 
      06-17-2005, 04:14 PM
Dumb question but how do I know if my home network (cheap BEFSR41
Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
or the 10 Mbit slow speed? Is there a command I can give? It is not
this, is it?:

al@1[~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:E9:39:9F:B8
inet addr:192.168.1.100 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::207:e9ff:fe39:9fb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92755 errors:0 dropped:0 overruns:0 frame:0
TX packets:101103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47574348 (45.3 MiB) TX bytes:14192769 (13.5 MiB)

Thanks,

Al
 
Reply With Quote
 
 
 
 
Rage
Guest
Posts: n/a

 
      06-17-2005, 04:26 PM
Al. C wrote:
> Dumb question but how do I know if my home network (cheap BEFSR41
> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
> or the 10 Mbit slow speed? Is there a command I can give? It is not
> this, is it?:
>
> al@1[~]$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:07:E9:39:9F:B8
> inet addr:192.168.1.100 Bcast:192.168.1.255
> Mask:255.255.255.0
> inet6 addr: fe80::207:e9ff:fe39:9fb8/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:92755 errors:0 dropped:0 overruns:0 frame:0
> TX packets:101103 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:47574348 (45.3 MiB) TX bytes:14192769 (13.5 MiB)
>
> Thanks,
>
> Al


It should tell you at boot if the cable is pluged in.
It appears in the logs it is the last line of my /var/log/dmesg

eth0: link up, 10Mbps, half-duplex, lpa 0x0000

dmesg may tell you but a faulty device on my work network has filled
mine with packet error reports.

Rage
--
***********************************
* *
* EuropeSwPatentFree *
* *
***********************************
 
Reply With Quote
 
ABC
Guest
Posts: n/a

 
      06-17-2005, 04:29 PM

"Al. C" <(E-Mail Removed)> wrote in message
news:7GCse.30054$(E-Mail Removed). com...
> Dumb question but how do I know if my home network (cheap BEFSR41
> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
> or the 10 Mbit slow speed? Is there a command I can give? It is not
> this, is it?:
>
> al@1[~]$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:07:E9:39:9F:B8
> inet addr:192.168.1.100 Bcast:192.168.1.255
> Mask:255.255.255.0
> inet6 addr: fe80::207:e9ff:fe39:9fb8/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:92755 errors:0 dropped:0 overruns:0 frame:0
> TX packets:101103 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:47574348 (45.3 MiB) TX bytes:14192769 (13.5 MiB)
>
> Thanks,
>
> Al

Look at the Linksys router. It will show you on the front if each device (as
well as the WAN link) is 100Mbit (the bottom row of lights that has the 100
symbol next to it).


 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      06-17-2005, 04:34 PM
On Fri, 17 Jun 2005 16:14:59 GMT, Al. C wrote:
> Dumb question but how do I know if my home network (cheap BEFSR41
> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
> or the 10 Mbit slow speed? Is there a command I can give?


http://www.catb.org/~esr/faqs/smart-questions.html
There are 190+ linuxes. Always provide distro and version when posting
it may get you better answers.

try man mii-tool
 
Reply With Quote
 
Al. C
Guest
Posts: n/a

 
      06-17-2005, 05:11 PM
Rage wrote:

> Al. C wrote:
>> Dumb question but how do I know if my home network (cheap BEFSR41
>> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
>> or the 10 Mbit slow speed? Is there a command I can give? It is not
>> this, is it?:
>>
>> al@1[~]$ ifconfig
>> eth0 Link encap:Ethernet HWaddr 00:07:E9:39:9F:B8
>> inet addr:192.168.1.100 Bcast:192.168.1.255
>> Mask:255.255.255.0
>> inet6 addr: fe80::207:e9ff:fe39:9fb8/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:92755 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:101103 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:47574348 (45.3 MiB) TX bytes:14192769 (13.5 MiB)
>>
>> Thanks,
>>
>> Al

>
> It should tell you at boot if the cable is pluged in.
> It appears in the logs it is the last line of my /var/log/dmesg
>
> eth0: link up, 10Mbps, half-duplex, lpa 0x0000
>
> dmesg may tell you but a faulty device on my work network has filled
> mine with packet error reports.
>
> Rage


Running Mepis 3.3.1 (Mepis is a flavor of Debian) on 2 year old 2.5 P4 box
with an Intel mobo (i810) and on-board (build in) NIC.

In dmesg I see this:


e100: eth0: e100_probe: addr 0xff8ff000, irq 11, MAC addr 00:07:E9:39:9F:B8
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex

Is this the real network or just the telling me that the NIC is capable of
100Mbit?

Thanks,
Al


 
Reply With Quote
 
Al. C
Guest
Posts: n/a

 
      06-17-2005, 05:13 PM
ABC wrote:

>
> "Al. C" <(E-Mail Removed)> wrote in message
> news:7GCse.30054$(E-Mail Removed). com...
>> Dumb question but how do I know if my home network (cheap BEFSR41
>> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
>> or the 10 Mbit slow speed? Is there a command I can give? It is not
>> this, is it?:
>>
>> al@1[~]$ ifconfig
>> eth0 Link encap:Ethernet HWaddr 00:07:E9:39:9F:B8
>> inet addr:192.168.1.100 Bcast:192.168.1.255
>> Mask:255.255.255.0
>> inet6 addr: fe80::207:e9ff:fe39:9fb8/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:92755 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:101103 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:47574348 (45.3 MiB) TX bytes:14192769 (13.5 MiB)
>>
>> Thanks,
>>
>> Al

> Look at the Linksys router. It will show you on the front if each device
> (as well as the WAN link) is 100Mbit (the bottom row of lights that has
> the 100 symbol next to it).


Only one row of lights on this router. Thanks anyway.

Al

 
Reply With Quote
 
Menno Duursma
Guest
Posts: n/a

 
      06-17-2005, 05:15 PM
On Fri, 17 Jun 2005 16:14:59 +0000, Al. C wrote:

> Dumb question but how do I know if my home network (cheap BEFSR41
> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
> or the 10 Mbit slow speed?


Maybe try connecting to it via telnet, rlogin or a web-browser. If this
thing supports SNMP, just query it's MIB (with something like "snmpwalk"
from the net-snmp package.)

> Is there a command I can give?


Probably one of the following:

/sbin/mii-tool eth0
/usr/sbin/ethtool eth0

> It is not this, is it?:
>
> al@1[~]$ ifconfig


Indeed, on Linux it's not.

--
-Menno.

 
Reply With Quote
 
Al. C
Guest
Posts: n/a

 
      06-17-2005, 05:20 PM
Bit Twister wrote:

> On Fri, 17 Jun 2005 16:14:59 GMT, Al. C wrote:
>> Dumb question but how do I know if my home network (cheap BEFSR41
>> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
>> or the 10 Mbit slow speed? Is there a command I can give?

>
> http://www.catb.org/~esr/faqs/smart-questions.html
> There are 190+ linuxes. Always provide distro and version when posting


Sorry. Using Mepis (Debain flavor) 3.3.1.


> try man mii-tool


Thanks. Worked great:

root@1[al]# mii-tool -v
eth0: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:aa:00, model 51 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
root@1[al]#



I assume the '100base' means 100Mbit and thats what I'm using?

Al

 
Reply With Quote
 
Al. C
Guest
Posts: n/a

 
      06-17-2005, 05:23 PM
Menno Duursma wrote:

> On Fri, 17 Jun 2005 16:14:59 +0000, Al. C wrote:
>
>> Dumb question but how do I know if my home network (cheap BEFSR41
>> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
>> or the 10 Mbit slow speed?

>
> Maybe try connecting to it via telnet, rlogin or a web-browser. If this
> thing supports SNMP, just query it's MIB (with something like "snmpwalk"
> from the net-snmp package.)
>
>> Is there a command I can give?

>
> Probably one of the following:
>
> /sbin/mii-tool eth0
> /usr/sbin/ethtool eth0
>


Thanks. ethtools worked.

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

-Al

 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      06-17-2005, 05:41 PM
On Fri, 17 Jun 2005 17:20:36 GMT, Al. C wrote:
> Bit Twister wrote:
>
>> On Fri, 17 Jun 2005 16:14:59 GMT, Al. C wrote:
>>> Dumb question but how do I know if my home network (cheap BEFSR41
>>> Linkysys 4-port router with CAT cable) is running at the 100 Mbib speed
>>> or the 10 Mbit slow speed? Is there a command I can give?

>>
>> http://www.catb.org/~esr/faqs/smart-questions.html
>> There are 190+ linuxes. Always provide distro and version when posting

>
> Sorry. Using Mepis (Debain flavor) 3.3.1.
>
>
>> try man mii-tool

>
> Thanks. Worked great:
>
> root@1[al]# mii-tool -v
> eth0: negotiated 100baseTx-FD flow-control, link ok
> product info: vendor 00:aa:00, model 51 rev 0
> basic mode: autonegotiation enabled
> basic status: autonegotiation complete, link ok
> capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
> link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
> root@1[al]#
>
>
>
> I assume the '100base' means 100Mbit


Yes.

> and thats what I'm using?


Hmmm, in this case we see "negotiated" then, yes.
You can force the speed setting and not get the speed.
Also we see *-FD* which is Full Duplex. That gets you closer to
indicated speed versus Half Duplex.
 
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Speed geo Network Routers 0 12-12-2005 02:11 PM
Network Speed spamfrog Home Networking 0 12-30-2004 09:20 AM
Network Speed Joel Gunn Windows Networking 2 01-02-2004 05:49 PM
Network Speed Buck Turgidson Linux Networking 11 11-04-2003 12:19 PM
network speed Bart V Wireless Internet 5 08-21-2003 06:25 PM



1 2 3 4 5 6 7 8 9 10 11