Hello All, I installed Centos 6.5 64 bit on a Dell Vostro 1550 laptop with i3 core. The kernel installed was 2.6.32-431.el6.x86_64. I was not able to compile kernel modules, even after installing the kernel headers, kernel source rpms. So I downloaded the kernel linux-3.10.31.tar.xz, extracted it, and did the following: make defconfig change CONFIG_USB_USBNET=y, in the .config. make ASIX AX88xxx Based USB 2.0 Ethernet Adapters (USB_NET_AX8817X) [Y/n/m/?] (NEW) n ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet (USB_NET_AX88179_178A) [Y/n/m/?] (NEW) n All the other options selected the default. make modules make modules_install make install Then I booted from 3.10 kernel, which went thru fine. After logging in into the 3.10 kernel, I compiled and insmod the asix driver for usb to ethernet. Upon insmod, the eth1 interface comes up, but with no IPV4 address assigned. So I assigned a static IP address using ifconfig. Then added a route for the default gateway. Now, after assigning a static IPV4 address, this eth1 is pinging to the default gateway 192.168.1.1. But eth1 is not pinging/connecting to the external internet. Can someone please provide some answers. I am using the device from www.svbinternational.com. The device is labeled USB 2.0 to network 10/100Mbps ethernet adapter. Device id, as can be seen from lsusb is: Device 003: ID 0b95:772b ASIX Electronics Corp. AX88772B. Thanks in advance. Regards, Giri AX88772C_772B_772A_760_772_178_LINUX_DRIVER_v4.12.0_Source.tar.bz2 [root@gpcentospc1 AX88772C_772B_772A_760_772_178_LINUX_DRIVER_v4.12.0_Source]# insmod asix.ko [root@gpcentospc1 ~]# lsmod Module Size Used by asix 47587 0 [root@gpcentospc1 ~]# ifconfig (DEFAULT NO IP ADDRESS) eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:01 inet6 addr: fe80::200:ff:fe00:1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:228 (228.0 b) TX bytes:954 (954.0 b) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:52 errors:0 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4040 (3.9 KiB) TX bytes:4040 (3.9 KiB) [root@gpcentospc1 ~]# ifconfig eth1 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255 [root@gpcentospc1 ~]# ifconfig eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:01 inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:438 (438.0 b) TX bytes:1992 (1.9 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:52 errors:0 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4040 (3.9 KiB) TX bytes:4040 (3.9 KiB) [root@gpcentospc1 ~]# route add default gw 192.168.1.1 [root@gpcentospc1 ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 [root@gpcentospc1 ~]# lsusb Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0b95:772b ASIX Electronics Corp. AX88772B Bus 001 Device 004: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse Bus 001 Device 005: ID 0a5c:21bc Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR Bus 001 Device 006: ID 0c45:643e Microdia Bus 002 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller [root@gpcentospc1 ~]# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=3.73 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=254 time=1.88 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=254 time=1.95 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=254 time=1.95 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=254 time=1.87 ms 64 bytes from 192.168.1.1: icmp_seq=6 ttl=254 time=1.93 ms 64 bytes from 192.168.1.1: icmp_seq=7 ttl=254 time=1.91 ms 64 bytes from 192.168.1.1: icmp_seq=8 ttl=254 time=1.86 ms 64 bytes from 192.168.1.1: icmp_seq=9 ttl=254 time=1.97 ms 64 bytes from 192.168.1.1: icmp_seq=10 ttl=254 time=1.88 ms ^C --- 192.168.1.1 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 9778ms rtt min/avg/max/mdev = 1.867/2.095/3.731/0.549 ms [root@gpcentospc1 ~]# ping google.com ping: unknown host google.com [root@gpcentospc1 ~]# uname -a Linux gpcentospc1.cruzesoft.com 3.10.31 #8 SMP Tue Mar 18 01:52:26 IST 2014 x86_64 x86_64 x86_64 GNU/Linux [root@gpcentospc1 ~]# [root@gpcentospc1 ~]# [root@gpcentospc1 ~]# ethtool -i eth1 driver: asix version: 22-Aug-2005 firmware-version: ASIX AX88772B USB 2.0 Ethernet bus-info: usb-0000:00:1a.0-1.1 supports-statistics: no supports-test: no supports-eeprom-access: yes supports-register-dump: no supports-priv-flags: no [root@gpcentospc1 ~]# [root@gpcentospc1 ~]# The same device on Windows 7 64 bit, same laptop, gets the IP Address and mask as 169.254.74.198, whereas the wireless interface is properly assigned the IPV4 address as 192.168.1.2 : Autoconfiguration IPv4 Address. . : 169.254.74.198 Subnet Mask . . . . . . . . . . . : 255.255.0.0 C:\Users\giri>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::606c:d214:57c9:4ac6%17 Autoconfiguration IPv4 Address. . : 169.254.74.198 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : fe80::ed2:b5ff:fe13:d3d4%17 Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::7448:5c68:7e43:1108%15 IPv4 Address. . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : fe80::ed2:b5ff:fe13:d3d4%15 192.168.1.1 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos