What's new

Is it possible to install usbip-server or usb-redirector on AC68U?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

IRONFELIX

New Around Here
Hi !
I would like to transьше one USB-dongle to another linux-server in internet. Is it available the usbip-server in merlin, or in the Entware ?
 
Last edited:
I think it fails for at least two points in the system requirements:
  • others, which meet the following requirements:
    • kernel version from 2.6.15 to 3.19
    • udev subsystem
    • read-write file system (not read only)
    • kernel source code or kernel headers are required for installation
The file system is read only.
I'm not sure if the kernel source and headers can be added.
 
Thanks for your opinions. This evening I'm going to install virtualhere.
I've installed Entware-ng and found usb-server in it. After install, I've tried to run usbip deamon and received the message "usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded".
After that I've found the Zyxel's comment on qnap forum:
"kernel modules (usbip_common_mod.ko) are not part of Entware and should be downloaded from some other url. You must insmod the following kernel modules before you run usbip progs".
The next question, where I can find these modules, and is it possible to add it on AC68U?
 
Last edited:
... where I can find these modules, and is it possible to add it on AC68U?
Attached is an archive with the kernel modules. Just remove the .PDF extension and then extract, tar xzvf asuswrt-arm-usbip.tar.gz

Here's the .config change if you compile it yourself.

~/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36/config_base.6a
Code:
...
CONFIG_STAGING=y
# CONFIG_STAGING_EXCLUDE_BUILD is not set
CONFIG_USB_IP_COMMON=m
CONFIG_USB_IP_VHCI_HCD=m
CONFIG_USB_IP_HOST=m
# CONFIG_USB_IP_DEBUG_ENABLE is not set
# CONFIG_ECHO is not set
# CONFIG_COMEDI is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_TRANZPORT is not set
# CONFIG_POHMELFS is not set
# CONFIG_USB_SERIAL_QUATECH2 is not set
# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
# CONFIG_VME_BUS is not set
# CONFIG_IIO is not set
# CONFIG_ZRAM is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_CRYSTALHD is not set
...


SHA256 signature
7be35dd7f8e8e5d7a2500baf29c70a5cf54a7daabd349074185ba80504c28bb9 asuswrt-arm-usbip.tar.gz
 

Attachments

  • asuswrt-arm-usbip.tar.gz.pdf
    24.7 KB · Views: 400
Hi Hi !!!
Can anybody help me to compile this package of usb-redirector for Entware? The package script is old and my skills is not enough to improve it.
Code:
make package/usb-server/compile V=s
Collecting package info: done
make[1]: Entering directory '/home/sergo/Entware-ng'
make[2]: Entering directory '/home/sergo/Entware-ng/package/libs/toolchain'
make[2]: Leaving directory '/home/sergo/Entware-ng/package/libs/toolchain'
make[2]: Entering directory '/home/sergo/Entware-ng/package/usb-server'
make[2]: Nothing to be done for 'compile'.
make[2]: Leaving directory '/home/sergo/Entware-ng/package/usb-server'
make[1]: Leaving directory '/home/sergo/Entware-ng'
 
2 Fitz Mutch,
When I've went over on Merlin firmware 384 with 380 the vhci_hcd.ko (attached in post #6) doesn't load by insmod with mistake. Can you provide me new files or explain how improve the situation.
 
@IRONFELIX link in Your last post isn't work. Can you correct it, I will be grateful.
Or please send to a private version for 384 (996.pol(a)gmail.com)
ps. and where I can need put the files, if /lib/modules is read only, I never compiled the firmware for router ;-(
thx
 
Last edited:
2 Fitz Mutch,
When I've went over on Merlin firmware 384 with 380 the vhci_hcd.ko (attached in post #6) doesn't load by insmod with mistake. Can you provide me new files or explain how improve the situation.
did you ever figure it out?
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top