ihrapsa / KlipperWrt

A guide to install Klipper with fluidd, Mainsail or Duet-Web-Control and webcam stream in OpenWrt. Mainly created around the Creality Wi-Fi box but any OpenWrt running device with similar specs will work just fine.
180 stars 39 forks source link

usbip Server support #36

Closed philipp-andreas closed 1 year ago

philipp-andreas commented 1 year ago

Hello, usbip server support would be great.

lg Andreas

ihrapsa commented 1 year ago

Try installing the server package: opkg install usbip-server Are you thinking of using klipper on a server/separate computer and control the printer over the network? I'm really curious how this goes.

ihrapsa commented 1 year ago

[UPDATE] Apparently the usbip openwrt packages require kmod-usbip, kmod-usbip-server and kmod-usbip-client which is a kernel modul and must be precompiled on snapshot OpenWrt images. I can build an image for you if you want.

PeterRob commented 1 year ago

Alternatively you could try Virtualhere which is a commercial development of usbip, there's a free server available.

philipp-andreas commented 1 year ago

[UPDATE] Apparently the usbip openwrt packages require kmod-usbip, kmod-usbip-server and kmod-usbip-client which is a kernel modul and must be precompiled on snapshot OpenWrt images. I can build an image for you if you want.

Hello PeterRob the creality box is to slow for octopi. so i would like to test with octopi on my homeserver and connect my ender 3 with usbip. an image would be very useful

lg Andreas

Nbrooks639 commented 1 year ago

[UPDATE] Apparently the usbip openwrt packages require kmod-usbip, kmod-usbip-server and kmod-usbip-client which is a kernel modul and must be precompiled on snapshot OpenWrt images. I can build an image for you if you want.

Hello PeterRob the creality box is to slow for octopi. so i would like to test with octopi on my homeserver and connect my ender 3 with usbip. an image would be very useful

lg Andreas

could you make this for me please

ihrapsa commented 1 year ago

openwrt-usbip-kmods.zip Here are the compiled binaries for the box with the usbip kmods preinstalled (kmod-usbip, kmod-usbip-server and kmod-usbip-client). You also need to install the usbip packages manually:

opkg install usbip usbip-server usbip-client

Here is the OpenWrt guide for extra info on using usb over ip