Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a davicom dm9601 USB ethernet card.

When I plug in the device, it is detected and drivers are loaded, but I can't connect to internet using it.

It works perfectly on XP, other laptop but not working on Ubuntu 11.10

How can I install the driver for this? I have tried many things But nothing is working.

If I go to this link driver but not compiling or may I be doing something wrong.

I found this one but don't know how to follow these steps .

This is my lsusb output:

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 003 Device
001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID
1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID
1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID
1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID
1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 001: ID
1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 004: ID
064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314] Bus 003
Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600 Bus 005 Device 002:
ID 0a46:9601 Davicom Semiconductor, Inc. DM9601 Fast Ethernet Adapter
Bus 006 Device 002: ID 046d:c045 Logitech, Inc. Optical Mouse Bus 003
Device 003: ID 0a5c:2101 Broadcom Corp. Bluetooth Controller Bus 004
Device 002: ID 04d9:1702 Holtek Semiconductor, Inc.

But when I connected my Internet from different system its start working.

share|improve this question
    
maybe use that other driver on ubuntu forums –  Ringtail Mar 29 '12 at 1:03
    
can u specify which driver –  Gaurav_Java Mar 29 '12 at 1:05
    
ubuntuforums.org/… –  Ringtail Mar 29 '12 at 1:08
    
tried it also contain error –  Gaurav_Java Mar 29 '12 at 1:09
add comment

2 Answers 2

This is the file you need to use : Linux Driver DM9601

This is the manufacture source

This is how you install it : Compile and install

If all else fails use Ndiswrapper and Windows Drivers

share|improve this answer
    
i have Compilation problem when i tried to compile that Linux Driver its shows me error i am posting error. u may edit ur answer –  Gaurav_Java Mar 28 '12 at 23:08
add comment
up vote 0 down vote accepted

Pre-Requirements

You will need the build-essential and linux-headers-generic packages to install. If you do not have these packages, you can find them on packages.ubuntu.com, download the *.deb files and manually install them.

linux-headers-generic is a virtual packages that installs the correct headers for the current kernel you're running. You can find that out by typing uname -r in the terminal. Mine is 3.0.0-17-generic. That means what I should really download is the linux-headers-3.0.0-17-generic package. Once you have your ethernet work, apt-get install linux-kernel-headers so you always have the correct headers.

The build-essential package has a lot of dependancies, and when you attempt to install the .deb file it will tell you what is missing. Go back to packages.ubuntu.com and download all of the *.debs for the packages it complains about.

If you're running Ubuntu, *.deb files can be installed by double clicking on them. On Kubuntu, you need to right click and choose the install option.

Build the module Goto Davicom's website and download the LINUX Driver to your home folder. Open up the Terminal and type tar -xzvf dm9601-Linux2.6_1_1 to extract it. Type cd dm9601 to enter the newly created folder. Type gedit dm9601.c to edit the broken source file. Change #include <linux/config.h> to #include <linux/configfs.h> Save the file and close gedit. Type make to build the module.

Ok, now you've built the module. At this point we can test it. With your Davicom USB adapter plugged in, type sudo insmod dm9601.ko to temporarily insert the module. If everything works, we need to make this module insert automatically on bootup.

Insert the module on bootup Type sudo cp dm9601.ko /lib/modules/$(uname -r)/kernel/ubuntu/net/ type sudo gedit /etc/modules Add dm9601 on it's own line at the end of the file Save and exit gedit.

Your module should now work on reboot. Congratulations! You will need to repeat steps 2,3 & 7 from the Build stage and step 1 from the Insert stage whenever you install a kernel update.

Troubleshooting If insmod failed to work, you probably need to add your USB device ID to the header file.

Type 'lsmod' and look for a line that belongs to your Davicom USB adapter. It should look similar to "Bus 001 Device 006: ID 0a46:9555 Davicom Semiconductor, Inc." If you have doubt, unplug all other USB devices and find the only line that doesn't have "0000:0000".

For the example above, type gedit dm9601.h and insert 2 lines that look like:

DM9601_DEV( "Davicom Semiconductor, Inc", VENDOR_ACCTON, 0x0a46, 0x9555,
                DEFAULT_GPIO_RESET )

Your module source code is now configured to recognize your module. Continue from Step 6 in the Build stage of the instructions.

share|improve this answer
    
But Compilation error is come in this way also . –  Gaurav_Java Mar 28 '12 at 23:14
    
If all else fails use Ndiswrapper and Windows Drivers –  Ringtail Mar 29 '12 at 1:35
    
but its works for wireless card i hope –  Gaurav_Java Mar 29 '12 at 1:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.