It comes with manufacturer driver on the small cd. Since I don't have that reader for CDs I was forced to find manually driver in order to test if device works. On my Windows machine I downloaded driver from https://www.driverscape.com/download/usb-to-ethernet-adapter and manually installed it. It works.
Now my question is, how can I get the driver for it on OpenWRT? I want to turn my old laptop with Intel i5 CPU into router. I installed OpenWRT on USB and I am live booting it and it works. Since on that laptop I have only 1 LAN port I bought that adapter. I want to use it as WAN interface and use my existing LAN port to connect with my Windwos machine. How can I achieve that? How can I get the driver for this adapter?
You need to download the kmod package for your hardware in order for it to work. Do this: unplug the usb Ethernet dongle, reboot device, plug it in. Post the last lines of output from dmesg which should give some clues as to which kmod is needed.
Can you plug it on a windows computer, and find the device ID info ? There is no clue in the given doc to guess the manufacter and device. suggestion: have you tried an old realtek driver?
How can I install it? Do I need to somehow include it before making bootable usb or I can somehow download it directly from OpenWRT? If that is the case, how can I connect to the internet using OpenWRT?
You can add it to the image when you use firmware-selector.
Or you can download from OpenWrt, it is up to you.
Since you have a laptop you can probably use its wifi to connect to the internet.
Sat Jan 27 20:06:23 2024 kern.info kernel: [ 225.166145] usb 1-1: new full-speed USB device number 7 using xhci_hcd
Sat Jan 27 20:06:23 2024 kern.info kernel: [ 225.364718] dm9601 1-1:1.0 eth1: register 'dm9601' at usb-0000:00:14.0-1, Davicom DM96xx USB 10/100 Ethernet, 00:e0:4c:53:44:58
It looks like it is recognized now. Thank you.
One more question tho. When i run following command this is the output.
Do I need to configure it myself? Sorry about so many basic questions, I am new to this networking stuff. Please feel free to provide me with some useful resources if you have any where I can get the basics about setting up OpenWRT.
I managed to connect my laptop-router to the ISP router WAN(on laptop-router) to LAN(on ISP's router) and eth0 interface from laptop-router to my Windows machine and it is connected to the network successfully.
How can I now set up WIFI access point on laptop-router and to connect all mobile devices to it instead of ISP's router WIFI? After I achieve that I want to set up SQM on OpenWRT, but let's go step by step.
Edit: I don't have Network -> Wireless option available
I am using laptop for now just to test things out and see if this can have some improvement in practice before purchasing router. I am unable to check what my wifi card id is. I will have to take a break from this project for several days.