You are not logged in.

#1 2009-02-23 21:17:53

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

lan speed

i just upgraded my router. so i have gigabit lan ports. im just wondering, is there a way i can check what speed im connected at, whether its at 100 or gigabit? i dont really car too much about testing the speed, i just want to know what speed it thinks it connected. i tried ifconfig, but all i can figure out in tehre is my IP and mac

edit, just looked through it again, and spotted TXqueuelen set to 1000, is that it?

heres my ifconfig output, just in case

eth0      Link encap:Ethernet  HWaddr 00:1A:92:15:8D:34
          inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:92ff:fe15:8d34/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15657068 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8481464 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7204966599 (6871.1 Mb)  TX bytes:21605737884 (20604.8 Mb)
          Interrupt:254 Base address:0xe000

Last edited by ssl6 (2009-02-23 21:22:38)


this is a signature

Offline

#2 2009-02-23 21:43:29

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: lan speed

txqueuelen is the lengh of the transmit queue. You can check your negotiated speed with mii-tool which is a part of net-tools package.

Offline

#3 2009-02-23 21:51:45

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: lan speed

i just tried mii-tool, it just tells me the operations not supported

[urmom@urmom-pc k9copy]$ mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not permitted
SIOCGMIIPHY on 'eth1' failed: Operation not permitted
SIOCGMIIPHY on 'eth2' failed: Operation not permitted
SIOCGMIIPHY on 'eth3' failed: Operation not permitted
SIOCGMIIPHY on 'eth4' failed: Operation not permitted
SIOCGMIIPHY on 'eth5' failed: Operation not permitted
SIOCGMIIPHY on 'eth6' failed: Operation not permitted
SIOCGMIIPHY on 'eth7' failed: Operation not permitted
no MII interfaces found
[urmom@urmom-pc k9copy]$ sudo mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found

Last edited by ssl6 (2009-02-23 21:53:05)


this is a signature

Offline

#4 2009-02-23 21:52:46

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: lan speed

Do you run it as superuser? How about mii-tool -v ?

Last edited by fijam (2009-02-23 21:53:53)

Offline

#5 2009-02-23 21:53:43

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: lan speed

i tried that too ^

[urmom@urmom-pc k9copy]$ sudo mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found

Last edited by ssl6 (2009-02-23 21:56:48)


this is a signature

Offline

#6 2009-02-23 21:58:30

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: lan speed

How about ethtool eth0 ?

Offline

#7 2009-02-23 22:02:38

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: lan speed

uhh, this can't be right, can it? isnt ethtool part of the same package?

[urmom@urmom-pc k9copy]$ ethtool eth0
bash: ethtool: command not found

ah, nevermind, it is a seperate package, got it installed, works now

[urmom@urmom-pc k9copy]$ sudo ethtool eth0
Settings for eth0:
        Supported ports: [ MII ]
        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: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes

i guess i got my answer and all is well......unless my cable is crap, should be fine though

Last edited by ssl6 (2009-02-23 22:04:40)


this is a signature

Offline

#8 2009-02-23 22:08:32

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: lan speed

Supported ports: [ MII ]

Yet mii-tool can't read it. Weird. What chip is that btw?

Offline

#9 2009-02-24 00:38:41

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: lan speed

whatever is built into the nforce 5 series chipset, im on an asus m2n-e motherboard, so its not all that new

i thought that was wierd though too, i ended up trying mii-tool again after installing ethtool, still the same thing


this is a signature

Offline

Board footer

Powered by FluxBB