LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-05-2008, 12:42 PM   #1
claudio4j
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Davicom usb ethernet adapter works partially


Hi folks, I am having some issues related to the use of a usb ethernet adapter, its a davicom.
The linux is gutsy (kubuntu) with the latest updates applied. Kernel version 2.6.22-14-generic

See below the specifications and settings.

What I found weird, some websites connect to, but others sites doesn't connect (HTTP os SSH), the firefox, displays at status bar "waiting data" forever. Websites such as google.com works fine, but many others I try doesn't work (facebook, sun.com, microsoft.com, ubuntuforums.com)
Currently I have eth0 (usb ethernet) and eth1 (wireless). eth1 works fine.

I saw at ifconfig, there are a lot of dropped and errors at RX transmissions. (see far below, detailed information)

RX packets:3501 errors:542 dropped:170 overruns:138 frame:659

I did some bit of debug with wireshark and see some lost packets (see screenshots below)

http : //ubuntuforums .org/attachment.php?attachmentid=58786&d=1202226451
http : //ubuntuforums .org/attachment.php?attachmentid=58787&d=1202226451

I turned off upnp discovery at the router device and turned of any networking program running at linux, to make it easy to debug.

Then I fired up ssh claudius.com.br and see some lost packets at wireshark

See attached screenshots, really strange.

If you need some more info, don't be afraid to ask.

I saw other similar threads, related to usb ethernet adapter, about to turn off tulip and enable dmfe, pci=noacpi, I have already tried that, no success.

dmfe and tulipe modules are not loaded
ipv6 is disabled at linux and firefox

Those threads doesn't solve the issue or doesn't apply

I can ping DNS servers with good response times.

Code:

$ cat /etc/resolv.conf
search claudius.com.br
nameserver 192.168.1.1

192.168.1.1 is the router device, where it points to the following DNS

DNS 1: 200.167.216.14
DNS 2: 200.167.216.15
Code:

$ 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=127 time=3.89 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=127 time=1.72 ms

$ ping 200.167.216.15
PING 200.167.216.15 (200.167.216.15) 56(84) bytes of data.
64 bytes from 200.167.216.15: icmp_seq=1 ttl=252 time=10.1 ms
64 bytes from 200.167.216.15: icmp_seq=2 ttl=252 time=11.5 ms
64 bytes from 200.167.216.15: icmp_seq=3 ttl=252 time=16.6 ms

Code:

$ lshw -C network
*-network
description: Ethernet interface
physical id: 1
logical name: eth0
serial: 00:60:6e:50:43:a0
capabilities: ethernet physical
configuration: broadcast=yes driver=dm9601 driverversion=22-Aug-2005 firmware=Davicom DM9601 USB Ethernet ip=192.168.1.10 multicast=yes

================================================== ==

$ lsusb
Bus 003 Device 002: ID 0a46:9601 Davicom Semiconductor, Inc.

Code:

$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:60:6E:50:43:A0
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3501 errors:542 dropped:170 overruns:138 frame:659
TX packets:2482 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1403464 (1.3 MB) TX bytes:509632 (497.6 KB)

Code:

$ cat /etc/network/interfaces
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

Code:

$ route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0

================================================== ==

Code:

$ lsmod |grep dm9
dm9601 10624 0
usbnet 19976 1 dm9601
mii 6528 2 dm9601,usbnet
usbcore 138632 6 dm9601,usbnet,usbhid,ehci_hcd,uhci_hcd

================================================== ==

Code:

$ cat /etc/modules
fuse
lp
sbp2


==> /var/log/syslog <==
Code:

Feb 2 18:52:51 panzer kernel: [ 175.556000] usb 3-1: new full speed USB device using uhci_hcd and address 3
Feb 2 18:52:51 panzer kernel: [ 175.732000] usb 3-1: configuration #1 chosen from 1 choice
Feb 2 18:52:51 panzer kernel: [ 175.900000] eth0: register 'dm9601' at usb-0000:00:1d.2-1, Davicom DM9601 USB Ethernet, 00:60:6e:50:43:a0
Feb 2 18:52:51 panzer kernel: [ 175.900000] usbcore: registered new interface driver dm9601
Feb 2 18:52:51 panzer kernel: [ 175.940000] eth0: link down
Feb 2 18:53:11 panzer kernel: [ 195.524000] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

Last edited by claudio4j; 02-05-2008 at 12:46 PM. Reason: Attach screenshots
 
Old 02-07-2008, 01:32 PM   #2
claudio4j
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I have solved the issue
http://ubuntuforums.org/showthread.php?t=688314
 
  


Reply


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
USB ethernet adapter Lynnzer Mandriva 4 05-15-2009 11:40 AM
Davicom Tulip Ethernet card Red Knuckles Fedora 2 11-06-2006 06:17 PM
USB Ethernet Adapter shababc Linux - Newbie 1 03-05-2006 03:45 AM
USB Ethernet Adapter shababc Red Hat 1 02-18-2006 01:39 PM
USB Ethernet Adapter help mcrexx Linux - Newbie 5 09-18-2005 03:54 PM


All times are GMT -5. The time now is 12:43 PM.

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