LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-02-2009, 10:47 AM   #1
Foldarn
LQ Newbie
 
Registered: Sep 2008
Location: Northern UT
Posts: 13

Rep: Reputation: 0
gig NIC only connects at 100 mbit. Connecting to gig switch.


I have a small fileserver. It's just used for myself and my wife for convenience. It's also used as a media server for our television.

I'm running it with Ubuntu 8.10 (Intrepid) on it.

It's running an Intel Atom motherboard as shown here:

D945GCLF2
http://www.intel.com/Products/Deskto...D-overview.htm

The product spec sheet says the following about the on-board NIC:

Quote:
The LAN, based on the RealTek RTL8111C Ethernet Controller, provides the following
functions: 10/100/1000 Mb/s Gigabit Ethernet LAN
I also tossed on a gigabit NIC as shown here:

NetGear GA311 Ver.A1
http://kb.netgear.com/app/products/model/a_id/2432

Both of these NICs connect ONLY at 100 mbit and I don't know why. At first the secondary NIC was connecting at gig speed. The motherboard network interface I'm not sure of at the start because it was only connected to a 100 mbit device on the other side.

The Netgear is connected to a Netgear 5 port gig switch. The switch has 2 indicator LEDs where if one LED is lit, it's 100 mbit. If both are lit, it's 1 gbit connection.

Transfer speeds originally were at 50 MB/sec when it was up on gigabit, limited only by the hard drive in the machine.

Transfer speeds with 100 mbit are as expected, 10-12 MB/sec.

The motherboard interface is using a Realtek RTL8111C chip.

The Netgear NIC uses a Realtek RTL8169 chip.

Can someone help me get these network interfaces connecting at gig speeds?

Last edited by Foldarn; 04-02-2009 at 10:54 AM. Reason: corrected title
 
Old 04-02-2009, 10:47 AM   #2
Foldarn
LQ Newbie
 
Registered: Sep 2008
Location: Northern UT
Posts: 13

Original Poster
Rep: Reputation: 0
New information!

I can use the below command after a reboot and it will switch to gigabit speeds..... for awhile. Once it switches back to 100 mbit, if I try to use ethtool again, it takes a few seconds for the NIC to come back on, but when it does, it's still sitting there at 100 mbit.

Code:
sudo ethtool -s eth1 speed 1000 duplex full
 
Old 04-02-2009, 10:55 AM   #3
bcromwell
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
try ethtool -s eth1 autoneg off speed 1000 duplex full
You shouldn't need to do this a RFC states gig is suppose to autoneg. I assume you using a cat5 ethernet cable.
 
Old 04-02-2009, 11:34 AM   #4
Foldarn
LQ Newbie
 
Registered: Sep 2008
Location: Northern UT
Posts: 13

Original Poster
Rep: Reputation: 0
bcromwell, it's Cat6 ethernet cable I'm using. 3 feet of it. It's brand new and only 3 feet long. However, after doing a little bit of research, I saw another post where someone had the same issue due to bad network cabling. If I do the ethtool you specified, it will NOT give me an active link light. Ever. Not until I redo the command and enable autoneg. Like I said, even then it just goes back to 100 mbit.

Unfortunately, I'm at work so I'm unable to test the cabling at this current time.
 
Old 04-03-2009, 08:04 PM   #5
Foldarn
LQ Newbie
 
Registered: Sep 2008
Location: Northern UT
Posts: 13

Original Poster
Rep: Reputation: 0
I've ruled out the cables. Ethernet cables that work perfect on my desktop running XP are now connected to one of my Linux boxes. So I'm currently laying the blame on either the NIC, the kernel, or the drivers, but I don't know what to do about it.

If I try and force it using

Code:
sudo ethtool -s eth1 speed 1000 duplex full
The link goes dead for about 5-10 seconds, then comes back alive still at 100 mbit.

If I execute this

Code:
sudo ethtool -s eth1 speed 1000 duplex full autoneg off
then the link goes dead and it does NOT come back up until I reinstate the autonegotiation. I'm totally at a loss here.
 
  


Reply

Tags
gigabit, nic, rtl8169


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
Gigabit Switch and 100 Mbit peripherals lucazorzi Linux - Networking 3 01-30-2009 04:12 PM
4 gig Ram seen as 3 gig ubuntu santana Ubuntu 9 04-09-2008 09:19 AM
How to split a 9 Gig folder in 2x4.5 Gig folders jayhel Slackware 5 08-19-2005 12:36 AM
Why my 80 gig hard drive only shows 70 gig? dsuratman Linux - Newbie 3 11-20-2003 12:54 AM
RH 7.0 Adding Promise ATA 100 Card and 160 gig drive lsgko Linux - Newbie 1 08-05-2003 05:33 PM


All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
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