LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-28-2012, 09:19 AM   #16
brokerj
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled

Quote:
Originally Posted by miros84 View Post
Hello,

In windows you can check network speed conection when you go to network and see speed if it is 54Mps, 100Mps or 1000Mps, but in Linux, where can I check that?

I have Debian squeeze.
good speed
 
Old 02-28-2012, 10:46 AM   #17
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,380
Blog Entries: 3

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
Member response

Hi,
Quote:
Originally Posted by miros84 View Post
Code:
eth0      Link encap:Ethernet  HWaddr 00:19:66:bf:9f:e8  
          inet addr:192.168.0.19  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::219:66ff:febf:9fe8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2771 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2441962 (2.3 MiB)  TX bytes:562001 (548.8 KiB)
          Interrupt:29 Base address:0xe000
Also in information to network it shows speed 100Mb/s. That is 12MB. I can copy almost to 10MB
I changed the cable and I connect the PC to the 1Gigabit Switch with factory cord Cat6. Nothing change. It shows 100Mps again.
When I put ethtool eth0 in terminal, nothing appears.
I dissconect all other cables from the switch and I try only to connect my PC connected to the Switch and the connection appears 100Mps again. Something that I can try?
You are going to be gated by the slowest devices on your LAN. So if you have other systems on the LAN that are 10MB then you are gated by those devices. You could split the LAN so the devices are matched on that sub. Still you will be limited by the bandwidth of your provider.
 
Old 02-28-2012, 10:49 AM   #18
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,380
Blog Entries: 3

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
Moderator response

Hi,
Welcome to LQ!
Quote:
Originally Posted by brokerj View Post
good speed
Please re-read LQ Rules;
Quote:
Do not post if you do not have anything constructive to say in the post.
 
Old 02-28-2012, 11:32 AM   #19
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Try this with only your cable plugged in:

Code:
ethtool -s eth0 speed 1000 duplex full autoneg on
 
Old 02-28-2012, 03:46 PM   #20
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by H_TeXMeX_H View Post
Try this with only your cable plugged in:

Code:
ethtool -s eth0 speed 1000 duplex full autoneg on
Hi,

I try this command and internet disconected and now I have not internet. I tried the same command changing 1000 with 100 or 10 but the same thing. Now I have not internet. Please provide me a command to fix this problem. What aobut the above command what I got is:

Code:
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 pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 3
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: g
	Wake-on: d
	Link detected: yes
 
Old 02-29-2012, 07:32 AM   #21
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What do you mean you don't have internet ? How have you determined this ? Did it disconnect ?

Just connect again, if this is dsl connection run:

Code:
killall dhcpcd
dhcpcd eth0
as root, or use whatever programs the distro has to connect to the internet.
 
Old 03-01-2012, 07:56 AM   #22
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Well, now I have internet, but speed still is 100Mps, any idea what could be wrong and why I cannot get 1Gigabit?
 
Old 03-01-2012, 11:01 AM   #23
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It could be many things:

Drivers.
Cables.
Switch.
Router.

I did get gigabit ethernet even with cat 5e cable, maybe it wasn't exactly 1000 Mbps, but close enough.
 
Old 03-01-2012, 02:54 PM   #24
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by H_TeXMeX_H View Post
It could be many things:

Drivers.
Cables.
Switch.
Router.

I did get gigabit ethernet even with cat 5e cable, maybe it wasn't exactly 1000 Mbps, but close enough.
Router - Well, when I tried to connect the PC with the switch, I disconnected all cables. Included the cable between the switch and the router. I connected only the PC and the router. So, i discard the problem is the router.
Cables - I tryed with 3 different cables Cat 5e and new Cat 6 cable. So, I discard are the cables.
Switch - is new, TP-LINK, but meybe is not good quality. I will try to look another switch.
Drivers - I tried with Debian and Windows 7. if drivers are not good, that menas both OS doesnot install proper lan driver. Meybe the next step is install a PCIe LAN 1Gigabit card to some PCIe and try again.

Well, please tell me your opinion. I see you have expirians and can advice me more things.

Regards
 
Old 03-02-2012, 10:45 AM   #25
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It seems that that those are the last things to check: Drivers, Switch, Gigabit ethernet card. I can't think of anything else that would cause it to fail. Maybe the card or switch are bad, if you have spares, use them to test.
 
Old 03-02-2012, 11:07 AM   #26
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
I gave got it. Now I have 1Gbps conextion.
I just add new PCIe LAN card 1Gps to my computer and now it appears 1Gps in Windows 7 and Debian. Speed jump from 8MB to 20MB when copy files, and I think that´s because of the PCIe, because it works of 250Mb per second. I read in WIKI about PCIe speed but I am not sure if it is 250Mb (Megabit) or 250MB (megabyte). Because if it is Mb, so I am limited to 30MB by the motherboard. What do you think H_TeXMeX_H?
 
Old 03-02-2012, 11:15 AM   #27
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It depends on the PCIe version that the card and mobo support. Let's assume 1.0 for an old board, this means 250 MB/s. 1000 Mbits/s (/ 8 bits per byte) = 125 MB/s, so it should be ok.
 
Old 03-02-2012, 12:06 PM   #28
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by H_TeXMeX_H View Post
It depends on the PCIe version that the card and mobo support. Let's assume 1.0 for an old board, this means 250 MB/s. 1000 Mbits/s (/ 8 bits per byte) = 125 MB/s, so it should be ok.
So you understand that 250 are bytes and not bits?
 
Old 03-02-2012, 12:32 PM   #29
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Yes, 250 megabytes (MB).
 
Old 02-05-2013, 01:51 AM   #30
sarath@slashroot.in
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
network speed test

Hi..

Speed testing using iperf is a credible method.
Because iperf can be used to modify even the operating system window size while testing the speed. Window size plays a major role in throughput.
Also you can determine the jitter, and data grams dropped using iperf. It works on a client server model.
I recommend going thorough Network Speed test using iperf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] VPS - check network speed dlugasx Linux - Server 3 11-06-2012 01:08 AM
Network speed check pinga123 Linux - Newbie 6 03-11-2010 05:17 AM
check network speed lukeprog Red Hat 5 06-11-2009 01:47 AM
No network conection when there really is. gamewolf Debian 2 10-14-2007 12:08 AM
Can't configure a PPPOE network conection during installation. doraimom Debian 12 04-07-2006 04:45 PM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration