Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It would be great if you would have given the IP address information for these machines and would have let us know the communication flow that occurs between these machines.
The output that you pasted shows that the system's are configured to use "Auto Negotiation" which according to me is the reason behind the slowness. If you could hard code them to use 1 gig speed then it will work fine and when they are communicating with 10/100 base machine the speed will automatically come down to match their speed.
It appears to me that as of now the are communicating using 10/100 base speed by default.
I am begining to think its a network card problem in my desktop as the speeds are slow for my desktop to/from server and fairly fast from other machines to/from on the network.
If i try to set autoneg off (on my desktop) when setting speed 1000 it tells me invalid argument.
Quote:
root@AOC:~# ethtool -s eth0 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
not setting speed
not setting duplex
not setting autoneg
Quote:
ethtool -s eth0 speed 1000 duplex full autoneg on
I did check to see if the same error happened on my server and it did, so autoneg cannot be of for 1000 speeds.
As a quick and dirty test I went to to my windows laptop (10/100) and sent a 1 gig file to both the server and my desktop and the results were
What is the speed of your server's network adapter. If it is a gigbit adapter then yes there is a possibility of network card issue on your desktop. Because from the output you pasted your Desktop has got a gigabit adapter and your laptop has got base 100 full duplex adapter. So if laptop is able to transfer files quickly to your server and not to your desktop then there can be an issue with desktop's NIC.
Could you please let us know what are the OSs installed on these three machines (server, laptop and your desktop)
I will try removing everything that is 10/100 (laptop and ISP router) and see what speeds I get from my lads pc (gigabit, windows) although the 8 port hub should be able to handle mixed speeds.
@t3em1nvt0r
The server is debian setup with ssh and samba and headless, and yes its a gigabit builtin adapter
The desktop is Ubuntu 10.10
And the laptop is Windows vista.
I think a couple of other things I will check are:
swap network cable from the laptop to the desktop to test the cable,
boot from a clean install of debian on the desktop, just to be sure its not software related as the ubuntu has had numerious updates and things installed and removed over time.
on the server seemed to keep even after disconnecting the cable, and inserting the direct connection.
the same command (IP changed) on the desktop, and bingo I could ping and then start the iperf test.
I guess its time to go and get some new cat 6 cables for the rest of the computers, then worst case a new gig hub, best case it all goes well and is fast :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.