robertklep / dsm7-usb-serial-drivers

Synology DSM 7 USB serial drivers
498 stars 82 forks source link

rndis_host module #13

Open jose-pr opened 2 years ago

jose-pr commented 2 years ago

Would like to use a usb ethernet modem, was able to obtain mii.ko but no luck finding rndis_host.ko

robertklep commented 2 years ago

I'll see if I'm able to build it. What platform?

jose-pr commented 2 years ago

Apollolake

robertklep commented 2 years ago

Try and see if it works: https://github.com/robertklep/dsm7-usb-serial-drivers/tree/main/modules/apollolake

jose-pr commented 2 years ago

Was able to load it was using it with the modules at /lib/modules/ (cdc_ether , usbnet) and mii from some other github repo. but getting an error bad CDC descriptors. Maybe the provided cdc_ether is not good enough ?

modprobe rndis_host
insmod /lib/modules/mii.ko
insmod /lib/modules/usbnet.ko
insmod /lib/modules/cdc_ether.ko
insmod /lib/modules/rndis_host.ko

Could you also provide cdc_ether, usbnet and mii ?

robertklep commented 2 years ago

I can't get those to build :(

jose-pr commented 2 years ago

I can't get those to build :(

Thanks for trying, I ended creating a bare bones a VM just to passthrough the usb device and then create a network bridge :(