[Solved] Adding a secondary card

VK-QF9700 Cheapest
All I can google about it was the adapter base driver. I get over DM9601. After a quick search in LUCI>software , I found the kmod module. In description was mention DM9601. Install and work.
I know is a cheap thing, but is just part of a prototype.

Now, for everybody who will like to install a usb - Ethernet adapter, especially the cheap ones. Fallow this tutorial.
First, make sure you have a good image. Your kernel is important when you decide to add dongles to your project.
In the case above, I work on a OpenWRT image, and i got some kernel errors. So PEEL YOUR EYES to your kernel.

First step: Checking the card functionality and chipset vendor.
SSH to your device, and add the card into the usb port.
Your device will react and state an output contain the type of usb device. In the worst case (my case), the output will be USB-Ethernet Converter 100/1000.That is all.1£ street market card.
I was force to google after product serial number and find the chipset. Do the same, if in trouble. If you got a good output (you use a good card), you may see the type of chip-set.
Step Tow: Installing base Kernel usb modules.
Now, just run into cli:
$ opkg update
$ opkg install kmod-usb-core kmod-nls-base kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb-ohci kmod-usb-uhci kmod-usb2 usb-modeswitch $reboot
Step Three: Installing card driver

Login into Luci and go to software. Update your sources and lookup for your chipset vendor. Install the module.
Reboot.
Now, check if is all in order.
$ifconfig
The eth1 (most likely) will be there.
If is not, just reset your network service:
$ service network restart
Check again. eth1 will be there.
Login into Luci and edit lan network. Cover the new car. Save and apply. Reboot. Job done.

Now. Fore those who reed just in the end. In the beginning of the tutorial, I ask you to check your image/kernel. In may case I used --force-depends argument over opkg. It worked. BUT after after the installation process and the fast testing moments (plug a cord between the project an a laptop, check if you got net), I decide to fallow the advice of my teachers and switch to a more stable image.
You must understand that I can not guarantee that you will not damage your project, or mess up your kernel. Listen to the guy above me, he knows better.

1 Like