As USB webcams are not really working on these routers I wanted to try USBIP. Now I could install these packages: kmod-usbip-client kmod-usbip-server kmod-usbip but looks like there is no usbip binary:
root@GL-AX1800:~# usbip
-ash: usbip: not found
Is there anything OK with those kmod packages or anything is missing?
You installed kmod-⦠This standing for something like ākernel moduleā.
Every of your operating systems has different āareas/layer/sections/ā¦ā. somewhere at the ring 0 is your hardware, roundabout ring 1 is āthe kernelā (the technical real operating system). Above are userland tools, the binaries and Programms you know, which you are working every day. A set of this tools is known as distribution.
And because the kernel needs to be more flexible today, where we have various hardware and donāt want to recompile for any possible set of hardware, there are modules, that can be loaded into the kernel, to access special hardware.
You installed the kernel module for a layer between IP (Net) and USB (xHCI) ⦠But no userland tools to interact with this modules.
This is not written above.
If the only answer of all tried explainarion from your side is āI already did thisā, I am not motivated to answer any further.
There are two most likely situation:
The wrong libusb package was used and the install command gave errors on the console. We canāt see the errors unless you provide them.
We take a look into the source and peek where the script wants to install the binary.
But because you have not provided any source of your used packages, Iāll take the first Google hit: packages/net/usbip/Makefile at openwrt-21.02 Ā· openwrt/packages Ā· GitHub
Line 90 wants to copy the binary libusb in /usr/sbin/
Solved by using VirtualHere instead, if anyone needs it use āVirtualHere USB Server for Linux (ARM)ā: https://virtualhere.com/usb_server_software
Works immediately after starting the one single binary. Trial version can share 1 device.
And you will need to add a config.ini next to your binary also, I cannot remember how I created that, I believe virtualhere has some parameters to create it.
ServerName=MyServer
AllowedDevices=Cannot remeber how to get this id
It=Some timestamp here
EasyFindId=Cannot remember how I got this id
EasyFindPin=Cannot remember how I got this pin