PDA

View Full Version : [all variants] Gigabit card only works on 100 mbit



Ossipon
April 14th, 2010, 09:49 PM
Hello,

I have bought two Asus NX1101 gigabit cards for my kubuntu box and ubuntu server box. The cards are automatically detected as eth1. However the speed is set to 100mbit instead of 1gbit.

ifconfig eth1

eth1 Link encap:Ethernet HWaddr 00:22:15:10:ec:71
inet addr:130.89.169.33 Bcast:130.89.175.255 Mask:255.255.240.0
inet6 addr: fe80::222:15ff:fe10:ec71/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:365778 errors:7 dropped:0 overruns:0 frame:7
TX packets:3250 errors:1 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32582008 (32.5 MB) TX bytes:700153 (700.1 KB)
Interrupt:17ethtool eth1

Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 24
Transceiver: internal
Auto-negotiation: on
lshw

*-network:0
description: Ethernet interface
product: IP1000 Family Gigabit Ethernet
vendor: Sundance Technology Inc / IC Plus Corp
physical id: c
bus info: pci@0000:00:0c.0
logical name: eth1
version: 41
serial: 00:22:15:10:ec:71
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=Sundance Technology IPG Triple-Speed Ethernet duplex=full ip=130.89.169.33 latency=64 maxlatency=10 mingnt=80 multicast=yes port=MII speed=100MB/s
resources: irq:17 ioport:ec00(size=256) memory:f7d00000-f7d000ff memory:f7c00000-f7c0ffff(prefetchable)I noticed that both lshw and ethtool claim that the card does not support 1000mbit. So changing the speed manually with ethtool doesn't work. In windows XP the card works as it should.

Activist
May 5th, 2010, 04:30 PM
i also have the nx1101 and mine is also recognised as 100mbps...

the problem i have is that at times i have no internet, and if from the network manager i disable networking and enable it again i am online again...

from a little search i did i think it might be because the card is not running full speed...
but how to fix this? :/

SpyrosB
May 21st, 2010, 07:47 PM
Same problem here on Ubuntu 10.4, tried to install the ASUS driver for linux with no luck

ftp://ftp.asus.com/pub/ASUS/Networking/Adaptor/NX1101/NX1101_Driver_MultiOS.zip

ReadMe


b. for kernel 2.6.x

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

#make all => generate ipg.ko

#insmod ./ipg.ko

#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...

xxx is your ip address, ex: 192.168.102.211

yyy is your netmask address, ex:255.255.255.0 but i'm getting errors


root@Akropolis:~/asus# make all
make -C /lib/modules/2.6.32-22-generic/build SUBDIRS=/root/asus modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic'
CC [M] /root/asus/ipg_main.o
In file included from /root/asus/ipg_main.c:159:
/root/asus/ipg.h:101:26: error: linux/config.h: No such file or directory
In file included from /root/asus/ipg_main.c:159:
/root/asus/ipg.h:130: error: ‘UTS_RELEASE’ undeclared here (not in a function)
/root/asus/ipg_main.c: In function ‘ipg_config_autoneg’:
/root/asus/ipg_main.c:1185: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_txcleanup’:
/root/asus/ipg_main.c:1673: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_txfree’:
/root/asus/ipg_main.c:1775: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_open’:
/root/asus/ipg_main.c:1842: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c:1960: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/root/asus/ipg_main.c:1960: error: (Each undeclared identifier is reported only once
/root/asus/ipg_main.c:1960: error: for each function it appears in.)
/root/asus/ipg_main.c:1962: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
include/linux/interrupt.h:117: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int, void *, struct pt_regs *)’
/root/asus/ipg_main.c:1962: warning: passing argument 3 of ‘request_irq’ makes integer from pointer without a cast
include/linux/interrupt.h:117: note: expected ‘long unsigned int’ but argument is of type ‘char *’
/root/asus/ipg_main.c: In function ‘init_rfdlist’:
/root/asus/ipg_main.c:2119: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘init_tfdlist’:
/root/asus/ipg_main.c:2207: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_get_rxbuff’:
/root/asus/ipg_main.c:2265: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_stop’:
/root/asus/ipg_main.c:2326: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_hard_start_xmit’:
/root/asus/ipg_main.c:2450: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_rx’:
/root/asus/ipg_main.c:2946: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_rxrestore’:
/root/asus/ipg_main.c:3203: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_get_stats’:
/root/asus/ipg_main.c:3247: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_nic_init’:
/root/asus/ipg_main.c:3499: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c:3499: warning: statement with no effect
/root/asus/ipg_main.c:3508: error: ‘struct net_device’ has no member named ‘open’
/root/asus/ipg_main.c:3508: warning: statement with no effect
/root/asus/ipg_main.c:3509: error: ‘struct net_device’ has no member named ‘stop’
/root/asus/ipg_main.c:3509: warning: statement with no effect
/root/asus/ipg_main.c:3510: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/asus/ipg_main.c:3510: warning: statement with no effect
/root/asus/ipg_main.c:3511: error: ‘struct net_device’ has no member named ‘get_stats’
/root/asus/ipg_main.c:3511: warning: statement with no effect
/root/asus/ipg_main.c:3512: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/root/asus/ipg_main.c:3513: warning: statement with no effect
/root/asus/ipg_main.c:3514: error: ‘struct net_device’ has no member named ‘do_ioctl’
/root/asus/ipg_main.c:3514: warning: statement with no effect
/root/asus/ipg_main.c:3521: error: ‘struct net_device’ has no member named ‘change_mtu’
/root/asus/ipg_main.c:3521: warning: statement with no effect
/root/asus/ipg_main.c: In function ‘ipg_nic_do_ioctl’:
/root/asus/ipg_main.c:3567: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_pciremove_linux2_4’:
/root/asus/ipg_main.c:3843: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c:3893: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘ipg_pciprobe_linux2_4’:
/root/asus/ipg_main.c:4000: error: implicit declaration of function ‘SET_MODULE_OWNER’
/root/asus/ipg_main.c:4011: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘init_module’:
/root/asus/ipg_main.c:4045: error: implicit declaration of function ‘pci_module_init’
/root/asus/ipg_main.c: In function ‘Set_LED_Mode’:
/root/asus/ipg_main.c:4250: error: ‘struct net_device’ has no member named ‘priv’
/root/asus/ipg_main.c: In function ‘Set_PHYSet’:
/root/asus/ipg_main.c:4279: error: ‘struct net_device’ has no member named ‘priv’
make[2]: *** [/root/asus/ipg_main.o] Error 1
make[1]: *** [_module_/root/asus] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic'
make: *** [all] Error 2

Rayve
June 23rd, 2010, 07:06 PM
Spyros,

I believe this has to do with a problem in the 2.6+ kernel which the old net_device structure with a new one called net_device_ops, this apparently affects USB Wireless adapters and VBox... I'm doing some research with Google and other posts here to try to fix my USB-N10... will post back if I manage to fix anything.

References: http://ubuntuforums.org/showthread.php?t=1285828
http://www.virtualbox.org/ticket/4264

Offshore
February 13th, 2011, 10:58 PM
Still no luck?
Having same problem (cannot build shipped or downloaded drivers / cannot get 1gbps link with available mod ipg -- just 100mbps), Ubuntu Server 10.04.2 LTS.