USB/IP
-
Update:
Just tried this but I'm getting anUnknown package
error. What am I missing? Are you using a custom build or something? I've tried with and without-force-depends
$ opkg install kmod-usb-ohci
Unknown package 'kmod-usb-ohci'.
Collected errors:- opkg_install_cmd: Cannot install package kmod-usb-ohci.
_
And here's myuname
in case it's helpful:$ uname -a
Linux Omega-1848 3.18.23 #1 Fri Jan 15 18:15:53 UTC 2016 mips GNU/Linux--
Update again:
Issuingopkg update
seems to have fixed my issue although I just did this earlier. No idea what happened there.Not having any luck installing
usbip-server
orusbip-client
though. Perhaps outlining the steps you used to installusbip
would be helpful. Thanks!Running:
$ opkg install -force-depends http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/usbip_1.1.1-2_ar71xx.ipkResults in:
Collected errors:- satisfy_dependencies_for: Cannot satisfy the following dependencies for usbip:
- kernel (= 3.18.20-1-7bed08fa9c06eb8089e82c200340ec66) *
-
Hello Levi! Did you try opkg update prior to opkg install kmod... ? You solved when I was writing, so for the next question, use this 3 packages:
opkg install http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/usbip_1.1.1-2_ar71xx.ipk
opkg install http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/usbip-client_1.1.1-2_ar71xx.ipk
opkg install http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/usbip-server_1.1.1-2_ar71xx.ipkI did managed to install as I told before, I can list the usb devices but can't make it run, because the kernel modules that are required are not loading:
usbipd: error: please load usbip-core.ko and usbip-host.ko!This modules are from a differente kernel version (3.18.20) and when I try to load with insmod the terminal just not respond anymore until reboot.
lsmod doesn't show this modules either.Stuck again.
-
@ArgusR Aha. Okay, I misunderstood that you were able to get it running. I suppose I can be a test-bunny meanwhile.
See my edit again for the result on trying to install those packages from the OpenWrt wiki.
-
sorry, miss that.
Did you use - - (2) before force-depends
opkg --force-depends install ....
-
@ArgusR I appreciate the help. That got me up and going for a bit.
Got this error when trying to install the
usbip-client
however:Configuring kmod-usbip-client.
failed to find a module named vhci-hcd
Configuring usbip-client.
Collected errors:- satisfy_dependencies_for: Cannot satisfy the following dependencies for usbip-client:
- kernel (= 3.18.20-1-7bed08fa9c06eb8089e82c200340ec66) *
And:
$ opkg --force-depends install vhci-hcd
Unknown package 'vhci-hcd'.
-
@ArgusR Glad I could help
-
@Levi-Roberts So the package usbip_1.1.1-2_ar71xx.ipk worked but the usbip-client_1.1.1-2_ar71xx.ipk didn't?
-
@ArgusR said:
@Levi-Roberts So the package usbip_1.1.1-2_ar71xx.ipk worked but the usbip-client_1.1.1-2_ar71xx.ipk didn't?
That is correct.
-
Ok, I did something wrong and apparently I killed my Omega, heheh. Only have access thru USB-Serial, nothing accept lo on ifconfig.
I would try to go back to factory restore, but can't access the Web-GUI. Anyone knows if I can reflash thru serial?
-
@ArgusR If you have got your Omega into a state where you can't access it via web browser there are two things you can do:
- Try pushing and holding the reset button for several seconds (I usually allow at least 30 seconds) - if you are lucky, this will restore you to factory settings
- If you have serial access to you Omega and can transfer files to it and run commands on it try the following:
- Get yourself a copy of the current Omega system image from: repo.onion.io/omega/images/
I believe that omega-v0.0.6-b266.bin is the current image. - Copy this file to the /tmp directory on your Omega
- From the /tmp directory on your Omega, run the command:
sysupgrade omega-v0.0.6-b266.bin
and wait for the installation to be applied and the Omega to reboot - takes quite a time - don't be impatient and interrupt it!
- Get yourself a copy of the current Omega system image from: repo.onion.io/omega/images/
-
@Kit-Bishop Thank you, the first option of hard reboot worked, back to action.
-
And stuck again. I have 5 modules on /lib/modules/3.18.20 that appears after I installed the usbip packages, and I can't figure out how to load them on the kernel.
-
@ArgusR I'm not in front of my onion but can you load the modules by:
insmod <module_name> <parameters>
-
@Janus-Sanders I did try insmod "module", but the command console doesn't come back anymore, stop responding, and after a few tries I bricked the Onion. Just waiting to solve this brick problem to come back to the modules issue.
-
So, a bit belatedly, but did ya'll ever get usb-ip ever working? While working on it, I found http://www.virtualhere.com/ which works using the MIPS version of their server on the Onion Omega. Performance doesn't seem particularly amazing, but definitely works, and gives a basic gui for control on clients.