home | list info | list archive | date index | thread index

[OCLUG-Tech] Wrong ethernet driver?

Folks,

Does anyone have experience with Ubuntu Server? I am running Ubuntu Server on an eeeBox. The server install went fine but the Ethernet link is running at 100 Mbps when it is capable of 1 Gbps (and connected to Gb switch). I trawled through Google but other than some problems reported back in 2008/2009 with the kernel using the wrong driver (r8169 instead r8168), I couldn't find anything else. The situation then was that the NIC would not work at all. The driver loaded on my machine is r8169 but it works, albeit slowly.

I have tried resetting the link speed using ethtool but it doesn't seem to do anything.

Has anyone come across this before? Thanks.

Regards,
Spencer

----------------------------------

From $ lshw

 *-network
      description: Ethernet interface
      product: RTL8111/8168B PCI Express Gigabit Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: eth0
      version: 02
      serial: 00:22:15:d3:7e:5d
      size: 100MB/s
      capacity: 1GB/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.4 latency=0 link=yes module=r8169 multicast=yes port=MII speed=100MB/s

$ uname -a
Linux khyber 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux

$ ethtool eth0
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000033 (51)
	Link detected: yes