USB over IP

  Рет қаралды 39,130

Tall Paul Tech

Tall Paul Tech

10 ай бұрын

In this video, I show you how you can use a USB device over a network, just as though it was plugged into your host locally.

Пікірлер: 191
9 ай бұрын
If you want to know what is going on in the packet capture, assign port 3420 to USBIP dissector. Then you'll see the actual URBs instead of just TCP packets.
@TallPaulTech
@TallPaulTech 9 ай бұрын
Mate! Why didn't I think of that? I just set the decode of tcp port 3240 to USBIP... I didn't realise it had that, but of course it would because I've used Wireshark in the past to snoop proper usb when reverse engineering a Wi-Spy. I didn't even think of this. Cheers.
@felixthecat1672
@felixthecat1672 10 ай бұрын
I appreciate not only the knowledge being shared but the manner in which you present yourself while doing so. Dust your shoulders off, homie.
@RandyWF5X
@RandyWF5X 9 ай бұрын
Brilliant. One of millions of hidden capabilities in Linux OS's.
@PaulBunkey
@PaulBunkey 10 ай бұрын
The reverse of your setup might be very useful : now I can "plug-over-IP" a dongle into one of my servers while sitting in the office!
@mncam_com
@mncam_com 10 ай бұрын
Have had to emulate physical ports for the better part of 20 years -- Sometimes I found hardware solutions (most recently from Digi International) work pretty well! You can run hardware on one end and virtual on the other depending on needs. Some of their latest products have like 20 USB host hubs which is of course overkill for 99% of applications :-) For anyone looking for Windows solutions (saw one in the comments) there is a third party app or two. "USB over Network" I found is the most stable and reliable.
@eadweard.
@eadweard. 9 ай бұрын
USB-IP has a Windows client I believe.
@dingokidneys
@dingokidneys 10 ай бұрын
Pretty cool. One of those things that I had no idea was possible but now I can think of numerous uses. Thanks for that.
@TallPaulTech
@TallPaulTech 10 ай бұрын
Exactly!
@slincolne
@slincolne 9 ай бұрын
Have to say it - the 3D Spectrum analyser looks very cool !
@TallPaulTech
@TallPaulTech 9 ай бұрын
Yeah man, that's why I get all the chicks!
@progenitor_amborella
@progenitor_amborella 9 ай бұрын
Very much appreciated the way you showed yourself and the audience around the terminal.
@iGrave
@iGrave 9 ай бұрын
I recently went down the USB over IP rabbit hole. I need the client to be Windows. Tried a bunch of software solutions, but always had issues. I ended up getting a hardware solution - a Silex DS-510. Works perfectly, very happy with it :)
@HenryLoenwind
@HenryLoenwind 9 ай бұрын
Thanks. I had already resigned to the idea that no such device existed and I'd have to find a way to pull another dedicated ethernet cable someday (i.e. when I finally move my gaming PC from being in the next room to being in the basement). However, seeing the price of the Silex, I'm not sure if being too lazy to move the PC isn't the better option after all... ;)
@gutschke
@gutschke 9 ай бұрын
There is a commercial, albeit really inexpensive, solution that has worked well for me. As far as I can tell, it makes use of some of the same kernel modules that this video documents. But it then implements the server in user-space and implements its own wire protocol. And as opposed to the basic kernel modules, it also adds support for Windows and MacOS, and it conveniently provides a user-friendly GUI app. You can even get an Android app that allows you to plug your USB device into your phone and then make it accessible over the network. And if you want to access your USB devices across the internet, it provides discoverability and encryption. Do you have to buy a commercial solution, when you might as well use the built-in tools that come with your Linux system? No, not at all. But since it's a small one-time payment, I found it a useful addition to my set of tools that I usually keep around. And honestly, the free feature-restricted mode that it has is frequently good enough for one-off experiments. Search for Virtual Here, if you are interested. N.B. I have never used this product with bandwidth-intensive USB devices such as cameras or mass storage. I have no idea how well that would work. A wimpy little Android phone or a tiny SBC is likely not powerful enough to encapsulate all that data in IP packets. So, try the demo version before shelling out money to make sure your use-case is supported. But for the particular needs that I have, it's an awesome little tool.
@jennyd255
@jennyd255 9 ай бұрын
Thank you. I've been wanting to be able to do that with a DVB-S2 dongle for a while now. You are the first person who I've found who has posted such a clear guide!
@cokegen
@cokegen 10 ай бұрын
Dude I love the content on your channel, everything is interesting ... keep up the good work !!
@TallPaulTech
@TallPaulTech 10 ай бұрын
Haha, then you'd love my OnlyFans :)
@aletarg
@aletarg 10 ай бұрын
Thanks for the info, I already used that to share my printer from a openwrt router.
@hopegrant1167
@hopegrant1167 9 ай бұрын
Super clear explanation as always. Definitely be giving it a go this week. Cheers
@rcats848
@rcats848 10 ай бұрын
It's time to test throughput of a USB ethernet adapter connected using USB-over-IP, so IP-over-USB-over-IP
@TallPaulTech
@TallPaulTech 10 ай бұрын
Haha, you know somebody will probably try that. As I say that though, I guess it would actually be okay if the USB NIC is only running low bandwidth that the main link could handle. Obviously that would be backwards, but there may actually be some crazy corner case where that might come in handy for someone. Who knows.
@megastarling
@megastarling 10 ай бұрын
Right, I'm keenly interested in what the limitations are.
@rcats848
@rcats848 10 ай бұрын
@@TallPaulTech Yeah there has to be some compelling use case out there - Pi with a USB ethernet adapter that you can just drop in as an isolated remote debug port? Jumping over a host you don't have network config access to? Who knows. Sidenote, would love to see you do something on using a Pi as a router-on-a-stick if you have the interest. I had an edge case of wanting to do PPPoE termination on a Pi router-on-a-stick style and guides for even the most basic configurations of the concept on a Pi were difficult to follow.
@TallPaulTech
@TallPaulTech 10 ай бұрын
Mate, are you new here or something? kzfaq.info/get/bejne/bdiZfc6hmteVXYE.html
@TallPaulTech
@TallPaulTech 10 ай бұрын
This thing is telling me you've been here for 7 years!
@chrisdixon5241
@chrisdixon5241 10 ай бұрын
Fantastic tip! I had no idea this was natively supported in the Linux kernel
@catalinalb1722
@catalinalb1722 10 ай бұрын
Wow that 3D spectrum looks amazing!😊
@KG4JYS
@KG4JYS 9 ай бұрын
Wow! My Mind was blown; this will make many things easier for me. Thanks for making the video!
@Underestimated37
@Underestimated37 10 ай бұрын
I was literally thinking about doing this yesterday for a different project, I’ll have to try this, thanks so much!
@TallPaulTech
@TallPaulTech 10 ай бұрын
I know you were... because your Ring doorbell leaked your private comms to me!
@Underestimated37
@Underestimated37 10 ай бұрын
@@TallPaulTech not unless it could literally read my mind haha but seriously, was about to go searching for a way to remote access a card reader next to my 3D printer so I didn’t take my devices SD card into my office and lose it again.
@RamsesYT
@RamsesYT 9 ай бұрын
This was extremely educational and very well presented - thanks! 🎉😊
@abder5453
@abder5453 10 ай бұрын
Well the 3D spectrum analyzer looks pretty neat (y). excited to see the final outcome !
@TallPaulTech
@TallPaulTech 10 ай бұрын
Join the club
@Professorke
@Professorke 9 ай бұрын
Very good tip and it is simple. Thanks for demonstrating this 👍
@DAveShillito
@DAveShillito 10 ай бұрын
As usual, your low level knowledge goes over my head but is good to watch 😀 I occasionally use virtualhere which allows me to share a webcam attached to a USB port on a Rasperry Pi zero, then I can connect to this from another PC on my network.
@mrcabbie
@mrcabbie 10 ай бұрын
wow your channel is awesome, learn a lot
@Alt0004
@Alt0004 9 ай бұрын
Another great video :) Couple of things I've been playing around with that you might be interested in, a Ubiquiti Edgerouter X (basically a little linux box with a couple of ethernet ports strapped to it, has shell) and the Debian Zerotier cli package installed on it, Global Area Networking.... Anywho, you probably already know about both... but well.... Its a rabbit hole I'm weeks deep in now haha...
@TallPaulTech
@TallPaulTech 9 ай бұрын
No, but let me know if you have any Wireshark questions/ideas
@hedgiehogUK
@hedgiehogUK 10 ай бұрын
WOW! I had no idea that Linux could do that. Thank you 👍
@DanielFSmith
@DanielFSmith 10 ай бұрын
Cool---now I want a Bluetooth bridge so I can access doorlocks in another building from my phone's app!
@g0fqb
@g0fqb 9 ай бұрын
Useful going to be using this ...thanks very much !
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
Just a thought, USB bus addresses are dynamically assigned and prone to change. Would it be better to identify your devices by their unique vendor+product ID instead? Though the drawback of that is you cannot distinguish two units of the same identical product.
@hradynarski
@hradynarski 10 ай бұрын
Wow, that is crazy useful! Thanks. I'm curious now, how your hardware server looks like with so many USB devices hooked.
@Wairoakid
@Wairoakid 10 ай бұрын
excellent content.
@bjornroesbeke
@bjornroesbeke 10 ай бұрын
This made me think about the meme where a bunch of physical adapters were plugged into eachother (from centronics to DB25 to DE9 to PS/2 to DIN to BNC to ...). USB over IP is the same... But in software! I had no idea this was possible on Linux, but ofcourse it is!
@23lkjdfjsdlfj
@23lkjdfjsdlfj 9 ай бұрын
COOL! Thanks for making this video!
@sergeyvas123
@sergeyvas123 10 ай бұрын
Nice suit bro!
@cooki3cutt3r13
@cooki3cutt3r13 10 ай бұрын
you had my curiosity now you have my attention
@TallPaulTech
@TallPaulTech 10 ай бұрын
Next I'll have your mamma!
@keksmlg
@keksmlg 10 ай бұрын
@@TallPaulTech 😁
@honest8bob
@honest8bob 10 ай бұрын
I didnt know you could do this. Ive seen the usb over cat5 adapters but this is way cooler.
@TallPaulTech
@TallPaulTech 10 ай бұрын
I haven't seen usb over cat5 (although this technically is), but it sounds messy.
@Boostland
@Boostland 9 ай бұрын
RFC 2549 is my personal favorite packet loss can be hard to recover if it's permanent and not just delayed
@charleshines2142
@charleshines2142 9 ай бұрын
If I ever attempt this I would want to use start up scripts or at the very least one that can be ran to set everything up. That is a lot to remember really.
@knotsure913
@knotsure913 9 ай бұрын
in the early 2k's I cut open a usb cable and put an rj45 socket on each cut end so I could use a patch cable as a usb extension. I never got it to work with anything longer than a 10' cable but it was still fun. looking back now im fairly surprised it worked at all with a cable that long
@gutschke
@gutschke 9 ай бұрын
Somewhere around 10' is really the maximum that regular USB can do over copper. If you want to go any longer, you need to have active cables. There are various products that do this. Most of them seem to convert to fiber optics for the long haul and then back to electrical signals. That's the same trick that extra-long HDMI cables use. You occasionally see products that convert to their own proprietary signalling protocol and then allow you to use CAT-5, but that seems to have mostly fallen out of favor these days and I don't believe anybody ever managed to get more than USB 2.0 speeds over CAT-5. Active cables with internal converters work beautifully, if you want something that behaves as similar to a physical cable as possible. It's nice in how you just plug it in and forget about it. But for more flexibility and features, encapsulating in IP is the way to go. It might require more tinkering, but it often turns out to be less expensive as you might already have everything you need.
@knotsure913
@knotsure913 9 ай бұрын
@@gutschke right on. i didnt put much thought into what twisted pairs i was using for what. im sure the twists themselves were messing with me too. as the cable got longer.
@davestorm6718
@davestorm6718 9 ай бұрын
Wow! I moved to a new place and the best place for the antennas are far away from my main pc (where reception near my pc is terrible) and power drops considerably with a 50ft USB cable (which makes noise even worse, even with chokes, not to mention the DC power drop). I was using a remote session gui to login to the machine where the antennas are, but this makes more sense. This would also might work for USB security dongles, USB sensors, etc
@TallPaulTech
@TallPaulTech 9 ай бұрын
It should work for anything.
@farktard2740
@farktard2740 9 ай бұрын
3 hours ahead and fktard still approves of this. I use this for my shitty usb printer that does labels. Works mint! Onya TP.
@VK2GPU
@VK2GPU 10 ай бұрын
This is going straight to the pool room!
@TallPaulTech
@TallPaulTech 10 ай бұрын
Bloody hell, I haven't heard that in a while. Team America won't get that.
@user-bq7uk4lr8e
@user-bq7uk4lr8e 9 ай бұрын
Excellent
@jboomhauer
@jboomhauer 9 ай бұрын
This would be a great alternative to "virtual here" if it worked on windows too.
@djvidual8288
@djvidual8288 9 ай бұрын
Thats really cool
@Kardall
@Kardall 10 ай бұрын
That is insanely cool...
@TallPaulTech
@TallPaulTech 10 ай бұрын
Indeed it is
@sprint955st
@sprint955st 10 ай бұрын
Very useful that. Marvellous. (That was my Richie Benaud voice)
@TallPaulTech
@TallPaulTech 10 ай бұрын
You didn't need to edit that on the end... there's only one voice that comes to mind when reading 'marvellous'. The edit only shows that you're Australian :)
@sprint955st
@sprint955st 10 ай бұрын
@@TallPaulTech no my friend, a Brit, and ‘marvellous’ here in faux-Benaud means you blagged a 9th gen bootleg tape of The Twelfth Man off one of your mates. Hence I felt I might have to explain. Just in case. Good job you got it then.
@TallPaulTech
@TallPaulTech 10 ай бұрын
Blagged?... Speak English to me Tony. I thought this country spawned the fucking language, and so far nobody seems to speak it.
@TallPaulTech
@TallPaulTech 10 ай бұрын
Let's see if you know what that's from.
@sprint955st
@sprint955st 10 ай бұрын
@@TallPaulTech Tony as in Bullet-tooth Tony, portrayed by our very own bollock-grabbing hero Vinnie Jones in ‘Snatch’? Oh, you don’t know about the grab? Google ‘Vinnie Jones Paul Gascoigne’. Likely never been heard of down your way.
@user-me7rs2bj5h
@user-me7rs2bj5h 8 ай бұрын
Excellent video, How much bandwidth does it consume to run the SDR across the network?
@AdrianPatten
@AdrianPatten 10 ай бұрын
Wow, I thought that type of software cost money. - Thankyou.
@TallPaulTech
@TallPaulTech 10 ай бұрын
You don't do silly things like use Windows do you?
@smbrown
@smbrown 9 ай бұрын
My company uses AnywhereUSB to mount license dongles to Azure servers, and it does cost money :)
@realRobotix
@realRobotix 9 ай бұрын
now plug the usb side of an usb to ethernet dongle into the server and plug the ethernet into your pc but also bind to your pc with usbip
@TallPaulTech
@TallPaulTech 9 ай бұрын
Even better, do that then join the ends and make a loop :)
@cipanmandul
@cipanmandul 10 ай бұрын
thanks and subscribed
@nnm35
@nnm35 9 ай бұрын
Love your videos. But dang, this was a topic I am really interested in and I really counting on your drawings of "topology" of the problem. I do appreciate the close-ups of the terminal inputs, but having mental picture as you often provide of the connections would be helpful. (I do also recall your posts that you are doing these for yourself, so thanks for sharing, I can probably work this out, ... eventually (-;! ) Cheers from Chicago.
@TallPaulTech
@TallPaulTech 9 ай бұрын
Hang on, what did you miss?
9 ай бұрын
I use it with my Android phone to connect exotic devices (smartcard readers, MCU programmers) through mobile data to my home computer.
4 ай бұрын
@@octopusdreamsDo you see my reply? Or has this crappy KZfaq spam filter which filters everything but spam caught it?
4 ай бұрын
@@octopusdreams Yeah, I wrote two paragraphs about the thing I use. Anyway, I use "USB/IP Server" app from Google Play. Works without root and behaves like a normal usbipd server, so use a WireGuard tunnel or similar to connect to it from your PC.
4 ай бұрын
@@octopusdreams Okay, one last attempt. This is Incredibly frustrating. I use U S B slash I P Ser ver from Pl ay Store. Doesn't even need root.
@jaromanda
@jaromanda 10 ай бұрын
Mind blown, I have SO many uses for this, I mean, at least 2 🤣 Seriously though, this has been in the linux kernel for 9 years and this is the first I've heard of it. Note: there's a windows implementation too, though, the latest release is 2011, so who knows if it works with Windows 10/11
@TallPaulTech
@TallPaulTech 10 ай бұрын
I don't know why I had to specifically authorise your comment then. KZfaq is getting worse. I just saw one on github called usbip-win which has basically the same syntax and seemingly structure, so maybe, just maybe it will work on a Windows client to a Linux server. I'm sure someone who actually uses Windows could check and find out.
@jaromanda
@jaromanda 10 ай бұрын
@@TallPaulTech that is odd. I've re-read my comment, and not even a "stackoverflow" moderator would be able to find anything to complain about. :D
@KieranShort
@KieranShort 10 ай бұрын
blown would do it
@jaromanda
@jaromanda 10 ай бұрын
@@KieranShort and yet you just said it????
@Zoey_yea_boom
@Zoey_yea_boom 10 ай бұрын
Paul the Pimp. Pimping out USBs. Client by Client
@Forbidden303
@Forbidden303 10 ай бұрын
You're telling me I can bind my usb soundcards over to a local machine D.A.W ! Or am I asking too much?😮
@TallPaulTech
@TallPaulTech 10 ай бұрын
If it's a USB device, I don't see why not.
@shady4tv
@shady4tv 10 ай бұрын
Sounds like you should be able too (haven't tried myself). Keep in mind that network latency is a big factor as mounting a Serial BUS over a network is much slower than a direct line to the CPU. As long as the threshold is within that latency window of the network it should perform just fine. The DAW running on the client will have no idea that device isn't local and nor will the kernel for that matter.
@ManuelPinner
@ManuelPinner 9 ай бұрын
I have a SDR Play RSP DX and a Aldam Pluto Sdr!
@NANA-yn3fp
@NANA-yn3fp 10 ай бұрын
Would love to get an updated setup video for your TV tuners
@TallPaulTech
@TallPaulTech 10 ай бұрын
What kind of update? It's just dvblast sending out multicast.
@NANA-yn3fp
@NANA-yn3fp 10 ай бұрын
@@TallPaulTech awesome! I'll look into how to set it up, I've been looking for a multi tuner setup over multicast. Thanks
@MaxLeopold
@MaxLeopold 9 ай бұрын
Have you seen any USB-C 4.0 Extenders over CAT6(a) already for things like AVoverIP ?
@pfifo_fast
@pfifo_fast 9 ай бұрын
ohh wow, I never considered SDR just because I use linux and dont install windows, I always assumed SDR would be a windows only thing. Now Ill have to get one and see what their all about.
@TallPaulTech
@TallPaulTech 9 ай бұрын
You've got to be kidding me, right?
@SimonPlatten
@SimonPlatten 6 ай бұрын
I have a Raspberry Pi 0 WH, I think there is more to the set-up can you help? Resolved now, I found another KZfaq video which showed how to get modprobe installed.
@wernerviehhauser94
@wernerviehhauser94 10 ай бұрын
Heck.... I remember trying to get my old scanner (connected to the print server) connected to my Windoze box with USBIP, but it refused to work no matter what. Ended up using xsane on the print server with PuTTY and Xming on the Windoze box.
@CountParadox
@CountParadox 9 ай бұрын
What kind of bandwidth does it use? I'm wondering if i could use this to connect a tv tuner at my home to my vps ?
@TallPaulTech
@TallPaulTech 9 ай бұрын
It would be about the same bandwidth as whatever device you're using is.
@LuminousWatcher
@LuminousWatcher 10 ай бұрын
i assume that the driver is not necessary on the host machine?
@xandrios
@xandrios 8 ай бұрын
I wonder how this handles higher latencies (Anything over the network is going to be higher latency than local usb..), but also bandwidth. Those USB devices should be limited to 480Mbit on the bus, but what does that translate to in terms of network traffic? There must be a bunch of overhead due to TCP/IP and the USBIP protocol. Also makes this probably a bad thing to try with USB 3.x as you'd need over 10Gbit of effective bandwidth - which most setups won't be able to do on a single TCP connection.
@TallPaulTech
@TallPaulTech 8 ай бұрын
What USB application are you using that really requires that bandwidth in real time?
@xandrios
@xandrios 8 ай бұрын
@@TallPaulTech Just thinking out of the box here (not sure if its actually realistic), but for example hdmi video. A 5Gbit USB-C to HDMI adapter isn't able to drive my external monitor (needs to be 10Gbit), so there are a few applications that require substantial bandwidth. Even with a 10Gbit network you wont be able to push anything close to 10Gbit over a single TCP connection. Doesn't make this any less of a cool solution, but there may be limitations to the data you can push.
@rolly4x4
@rolly4x4 10 ай бұрын
Do you disconnect your gear from the antennas when it looks like storms are nearby? I would hate to think of the damage if one of your antennas copped a lightning strike.
@TallPaulTech
@TallPaulTech 10 ай бұрын
No. If you cop a direct lightning strike, then everything is going to be pretty fucked anyway so I'd be more worried about the missing roof. Those lightning suppressors you see are for discharging the excess radio energy that's in the air during a storm to ground, to save it blowing the front end of receivers. A full lightning strike though?... forget about it.
@rolly4x4
@rolly4x4 9 ай бұрын
@@TallPaulTech true, the radio gear would be collateral damage compared to the damage to the roof I suppose.
@mamborambo
@mamborambo 9 ай бұрын
How did I manage so long without learning about this capability?
@TallPaulTech
@TallPaulTech 9 ай бұрын
Same here actually. It wasn't until I needed to do this that I thought, surely this must have been thought of already, and it was.
@GaviotaSteampunk
@GaviotaSteampunk 9 ай бұрын
@@TallPaulTech this is witchcraft. Very cool witchcraft
@catalinalb1722
@catalinalb1722 10 ай бұрын
Hi Paul, I would like to connect my OBD2 Link over bluetooth to the Raspberry Pi (situated inside my car) then pipe that through the network on another raspberry (inside my house) beeing so able to use the ScanMyTesla App ... Would it be possible? Could you help with that? Thank you
@catalinalb1722
@catalinalb1722 4 ай бұрын
@@octopusdreams Hi, from what I have been searching, I could not find a Bluetooth repeater..... Should be easy with Linux. If you know any Bluetooth repeater, please let me know. Thanks
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
1:40 That listing shows a dependency which means that loading usbip_host would have been sufficient to pull in usbip_core as well. 3:13 Same for vhci_hcd.
@TallPaulTech
@TallPaulTech 9 ай бұрын
Fair call
@newmonengineering
@newmonengineering 9 ай бұрын
What OS is your server running on?
@TallPaulTech
@TallPaulTech 9 ай бұрын
I use Debian for everything.
@congthanh196
@congthanh196 9 ай бұрын
Hi, With usbip, Can we do actions like format , repartition USB storage?
@TallPaulTech
@TallPaulTech 9 ай бұрын
Why not?
@BandanazX
@BandanazX 10 ай бұрын
Neat. Is there a way to T that off so that multiple remote clients can receive? Even if in a passive/non-interactive 'slave' mode?
@HerrFreese
@HerrFreese 9 ай бұрын
No, that's not possible with USB/IP
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
USB itself doesn’t allow device sharing.
@BandanazX
@BandanazX 9 ай бұрын
@@lawrencedoliveiro9104 yeah but you might be able to T off the data stream and relay it to multiple clients
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
@@BandanazX USB doesn’t work that way.
@jng644
@jng644 10 ай бұрын
is the USB device still accessible on server while it's "attached" on the desktop?
@TallPaulTech
@TallPaulTech 10 ай бұрын
No, that would make no sense.
@SimonPlatten
@SimonPlatten 5 ай бұрын
What versions of Raspbian and Ubuntu did you use, because I'm having problems with Raspbian 11 and Ubuntu 22.04.
@TallPaulTech
@TallPaulTech 5 ай бұрын
Where did you see Ubuntu? I don't use that.
@SimonPlatten
@SimonPlatten 5 ай бұрын
@TallPaulTech I don’t think you have specified what versions of software or operating systems you are using at all, its important because if you are using Linux distributions, many of these can be buggy and unstable, same goes for Raspbian.
@fredwupkensoppel8949
@fredwupkensoppel8949 9 ай бұрын
Weird that there's no built-in encryption or even authentication.
@AgentOffice
@AgentOffice 9 ай бұрын
Use VPN if you need encryption
@fredwupkensoppel8949
@fredwupkensoppel8949 9 ай бұрын
I meant inside my own network. My threat model is "assume breach".@@AgentOffice
@onhazrat
@onhazrat 9 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 📡 The video discusses using USB devices over a network to access hardware remotely. 01:25 🖥️ On the server, you can use "modprobe" to load the USB IP core and USB IP host modules, which are needed for remote access. 02:08 🔄 You can list available USB devices with "USB IP list" and then use "USB IP attach" to connect to a remote device using its bus ID. 04:23 🌐 Once attached, the remote USB device appears on the client system as if it were locally connected. 06:32 🧰 To unbind a remote USB device on the server, use "USB IP unbind" followed by the bus ID. 07:52 📺 This method can be used to access a variety of devices, such as TV tuners and software like SDR trunk, which might not support other remote access methods. Made with HARPA AI
@loc4725
@loc4725 10 ай бұрын
Any idea how USB copes with high latency, like you might get with a mediocre Internet connection?
@onuryorutken5540
@onuryorutken5540 10 ай бұрын
On physical level (hardware) in both cases (usb and ethernet) only crc checking or ack (acknowledge) bits can help but this is not adequate in both cases. CRC (sum of data bytes send) maybe ok, ACK (other side says i have received the signal like in a CAN-BUS) but what about data ? Data can be corrupted and must be checked with software and in same cases it can be very slow and timeconsuming for both of them. So it depends on the case, TCP IP (software protocol ) controls and verifies packets strictly because they come from other side of the world but UDP streams (internet radio, movie etc..) are not controlled. Likewise we can make many software layers on USB, we can choose control it or not. For example an sdr device sends I and Q float data over usb very fastly there is no time to check them. Physically in same cable there can be many usb devices (nodes) communicating at the same time for example 20 mouses, its packets can not be checked and one would see errors (not latency actual errors) on their data because mouse data is not controlled by software. But on same ethernet network let say 255 devices can communicate with internet, there would be latency but no error if they use only TCP only because software layer handles it. On a bus (can bus,usb etc..) we can only check some bits, crc in hardware level and it is not enough to make them error prone.
@SodaWithoutSparkles
@SodaWithoutSparkles 10 ай бұрын
well, its time to try USB over IP over Avian Carriers
@mil3k
@mil3k 9 ай бұрын
Is it possible to bind that usb to multiple hosts?
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
USB does not permit device sharing.
@cdxer
@cdxer 4 ай бұрын
Package usbip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
@zoomosis
@zoomosis Ай бұрын
The usbip command is in the linux-tools-generic package in Linux Mint 21 / Ubuntu 22.04.
@MikeHarris1984
@MikeHarris1984 10 ай бұрын
What do you use all those SDR for??
@joshua_lee732
@joshua_lee732 10 ай бұрын
Ham radio?
@TallPaulTech
@TallPaulTech 10 ай бұрын
I might categorise some of my videos into playlists actually.
@MikeHarris1984
@MikeHarris1984 10 ай бұрын
@@TallPaulTech I'll go thru your vids and check it out. I have two SDR running on a Raspberry Pie 4 8gb in my shed in a clear lid weather proof box that drilled some 2" holes in and put an intake and exhaust fan on it with pass thru connections. Iive in PHX, so no need to worry about rain or anything. As 360 days of the year is bright and hot shinning sun. LOL. I am running a 978 and 1090 Mhz bands SDR for ADS-B feeding adsbfi, ads-B exchange, FR24. I am able to view a out the entire southern half of AZ and into Cali with my antenna setup. I can't go to high as the HOA will kill me. :)
@IAMDonk
@IAMDonk 9 ай бұрын
How reliable is that over, say, WiFi? I don't know how well USB devices and USB device drivers would handle packet loss, latency and jitter.
@TallPaulTech
@TallPaulTech 9 ай бұрын
Most usb devices I've seen use the bulk transfer method, so should be fine I guess.
@chaoticlue
@chaoticlue 5 ай бұрын
Hi. I have a software that can read from a pcb only via usb c(obviously attached to a COM port) . Now i need to place it about 5/10 km away, but still be able to access it from my pc and read values. I want to understand the possible solutions to my problem as i am a novice in the networking area. Any thoughts?
@chaoticlue
@chaoticlue 4 ай бұрын
@@octopusdreams i don't have a pc connected at the remote end. The software is used to configure the device once, then this device will be deployed to the location. The device only has means to be connected via usb.
@chaoticlue
@chaoticlue 4 ай бұрын
@@octopusdreams "get a raspberry pi or a cheap android phone or something" this was the whole point of my doubt. I just want the device at the remote end. I could put a rasp pi or android but i can't. that's where i'm stuck.
@chaoticlue
@chaoticlue 4 ай бұрын
@@octopusdreams I'm stuck on money. Can't afford a rasp pi
@chaoticlue
@chaoticlue 4 ай бұрын
@@octopusdreams thanks... I'll check this out
@chaoticlue
@chaoticlue 4 ай бұрын
@@octopusdreams $16 is still a long deal.On the contrary, can i not just use usb-over-fibre optic ethernet adaptors? Didn't read much about this, but throwing it in here cause it'll save me some time to look for maybe other alternatives.
@SimonPlatten
@SimonPlatten 5 ай бұрын
Is there anything that developers can do that prevents a USB from being shared like this over a network? For example a lot of software vendors use USB devices to license there product, a dongle ? I have set-up a share for a USB device to share a CAN module as you have done, I then tried the same with another type of network interface and this didn't work, so I'm curious to know if it can be prevented by the device ?
@TallPaulTech
@TallPaulTech 5 ай бұрын
Well that's a bit hard to say without some very fine details. It's something I'd (ie, you'd) have to look right into with packet captures and stuff.
@SimonPlatten
@SimonPlatten 5 ай бұрын
@@TallPaulTech Thanks for the response, another issue I'm having which I will msg on the Tesla CAN Bus Raspberry Pi thread.
@SimonPlatten
@SimonPlatten 5 ай бұрын
@@TallPaulTech , thanks for the response, can you please check out my post on your Tesla CAN Bus Raspberry Pi thread ?
@karloa7194
@karloa7194 9 ай бұрын
Would this work with usb hub?
@TallPaulTech
@TallPaulTech 9 ай бұрын
That's a good question actually. You'd think that if the hub was on there, then its subordinates would come up as dash= something but I'd have to try it.
@catsupchutney
@catsupchutney 10 ай бұрын
So, one could put that USB dongle in a bit of PVC pipe and the antenna "feed" could be the CAT6 line?
@TallPaulTech
@TallPaulTech 10 ай бұрын
What?
@ksrele
@ksrele 10 ай бұрын
Cool! I need this for Windows too. Server can be Linux but client must be Windows. Is it posible?
@TallPaulTech
@TallPaulTech 10 ай бұрын
I saw that, but usbipd-win seems to be just the usbipd command allowing it to be the server but not a client. I did a quick test and got a Linux client to use a Windows server device, but not the other way around because there was now Windows usbip command by itself that I could see.
@ksrele
@ksrele 9 ай бұрын
@@TallPaulTech 😢
@lawrencedoliveiro9104
@lawrencedoliveiro9104 9 ай бұрын
I think there are products you have to pay money for. Windows cannot manage it on its own.
@zoomosis
@zoomosis Ай бұрын
In theory you might be able to run Linux as a guest under VirtualBox on a Windows host, use VirtualBox to attach a host's USB device to the Linux guest OS, then in Linux run the appropriate usbip commands. Performance might not be great but it might be good enough.
@anthonynowlan9765
@anthonynowlan9765 9 ай бұрын
Any windows client?
@AndyParka
@AndyParka 10 ай бұрын
This video would have gone better starting a 0:45. what the hell are those acronyms?
@TallPaulTech
@TallPaulTech 10 ай бұрын
They simply mean, harden up.
@KieranShort
@KieranShort 10 ай бұрын
I had to go back and watch the first 45 seconds and when I listened I thought.. 😂 i get it
@polyscopes
@polyscopes 9 ай бұрын
It's too bad usb 3 is more bandwidth than ethernet
@TallPaulTech
@TallPaulTech 9 ай бұрын
How is that a problem? USB 2 can handle my fastest device which does 350Mb/s. What USB device are you using that needs over 1Gb/s?
@gutschke
@gutschke 9 ай бұрын
2.5GigE is becoming really cheap these days, and 10GigE is well within reach for desktop-style computers or servers, but not necessarily a great option for mobile devices yet. You can go faster than that (e.g. 25, 40, 100, ...), but that tends to get more expensive and might have diminishing returns. Having said that, I can't really think of too many applications where I would want to encapsulate USB over IP and max out my network capacity. But then, your use-cases could very well be different from mine.
@user-me5eb8pk5v
@user-me5eb8pk5v 9 ай бұрын
I got my GPU enclosure in the mail, the GPU should be here tomorrow. Hopefully after I get back from RedWing, but the cable it came with is way too long, like 3ft, at Thunderbolt 3, it needs to be alot shorter, like my 2070maxQ beats it at 3 feet. It is Nifty though to have both cards because CUDA at 5,000 cores can be ten dimensional. Not that your probably going to be able to buy some software, there is not even a multi-core 3D modeller, even one that uses Marshall c# class does not exist. I saw one that did like thermodynamics...1000% hidden interface, must be intellectual property rights. So, got the 0.3 meter thunderbolt 4 cable for the 3080 12GB O.C. because every dimension goes through zero.
@christopherstaples6758
@christopherstaples6758 10 ай бұрын
assuming this will be about the USB wifi protocol that is never really used *edit nope* hard wired, look into the wifi stuff
@TallPaulTech
@TallPaulTech 10 ай бұрын
Huh?
@xgrapher
@xgrapher 8 ай бұрын
how to share over the internet, i can't find a single video, all are for local networks
@PragandSens
@PragandSens 7 ай бұрын
check pi-kvm i suppose
Bypassing Firewalls With PING!
17:40
Tall Paul Tech
Рет қаралды 80 М.
Top 10 Raspberry Pi Projects for 2022
7:54
Jeff Geerling
Рет қаралды 1,5 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН
How to Move Everything from an Old PC to a New PC
17:58
Paul's Hardware
Рет қаралды 892 М.
Goodbye IPMI - Blicube BliKVM V4 Review
15:00
Craft Computing
Рет қаралды 67 М.
2.5GbE is BETTER than 10GbE - Here's Why
12:33
SpaceRex
Рет қаралды 86 М.
IP addressing & Subnetting Explained | Network Fundamentals
1:51:36
How To Share USB Devices Over IP Using A Raspberry Pi
26:16
Tech Tutorials - David McKone
Рет қаралды 14 М.
LibreNMS Networks Maps
8:23
Tall Paul Tech
Рет қаралды 27 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,3 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33