Saturday 10 January 2015

Compiling Ethernet driver for RD9700 USB to ETHERNET ( Enter : E-100u ) in Ubuntu 14.04



I had bought a USB 10/100 Ethernet Adapter Enter: E-100u with RD9700 Version of Chipset. Previous version of Enter used "dm9601" driver, hence device was pre- configured for Ubuntu systems. Recent versions of these devices use "qf9700" driver but the driver file doesn't support on recent kernel. Compiling from the source shows lots of error.

I have edited the source - code and got it compiled for my system Ubuntu 14.04 , kernel: 3.17.8-031708-generic

Original source-code: www.pccables.com/drivers/RD9700Driver.zip
Modified:  qf9700.zip

Now run the following command in the source folder after extracting the source.


// run it in the extracted qf9700 folder
1) make
2) sudo cp qf9700.ko /lib/modules/`uname -r`/kernel/drivers/net/usb
3) depmod
4) modprobe usbnet
5) insmod /lib/modules/`uname -r`/kernel/drivers/net/usb/qf9700.ko

This will show a new eth'X ' in ifconfig.

X : be any number mine was 3. eg: eth3

Configure network interface:
nano -w /etc/network/interfaces
auto eth'X'
iface eth'X' inet dhcp

Restart network:
/etc/init.d/networking restart

And 'voila' you have your LAN connected.

Reference link:
1) https://mquin.livejournal.com/178482.html 
2) https://eyesonly666.wordpress.com/2012/10/15/compiling-linux-drivers-for-rd9700-qf9700-ko-under-debian-squeeze/