How to operate a device through fiber?

0

I'd like to run a webcam or a thumb drive or an external hard drive (with it's own power supply) over fiber. I thought to use the following design

enter image description here

or also to add a switch in case I'd like to add more devices enter image description here

Would it work or there won't be enough power through the fiber for a camera/usb thumb drive/mouse/keyboard to work?

theateist

Posted 2018-01-19T23:37:43.580

Reputation: 113

There are so many problems with this. Can I ask why? – HackSlash – 2018-01-20T00:12:05.917

@HackSlash That's a pretty rude, and unhelpful manner in which to ask an otherwise relevant question. – intrepidhero – 2018-01-20T02:58:28.323

@HackSlash, this is a task that I need to solve. It should work over fiber. If you have any suggestions what should be changed or added I'll be glad to hear. But, it should be through fiber. – theateist – 2018-01-20T19:56:40.050

Anything that works over Ethernet can work over fiber. The question remains: "Why?" I ask because maybe it doesn't need to go through fiber. I'm wondering what makes you think that is a requirement. – HackSlash – 2018-01-22T16:23:20.880

the requirement comes from a client. – theateist – 2018-01-22T17:19:33.090

Answers

3

Would it work?

No

Firstly USB Ethernet adapters are for connecting a computer to a network, not for connecting a device to a network. Probablly your best bet would be to look for Ethernet cameras.

Secondly Fiber does not carry power. Any equipment at the remote end will need to be seperately powered.


if I'll replace the usb-to-ethernet converters to this set (...) which has it's own power supply, will it work over fiber?

Probablly not.

I strongly suspect that despite the mention of "Ethernet" in the title that the device is not a true Ethernet device but merely an extender that uses the same types of cabling as Ethernet. A real Ethernet device would almost certainly mention what speeds of Ethernet it supports.

True USB over Ethernet soloutions do exist but they are tricky to find (cutting through the bullshit adverts is a PITA) and may have performance issues.

There also exist dedicated USB over fiber products. If you really have to use a USB device over fiber these are likely your best option but they seem to be rather expensive.

plugwash

Posted 2018-01-19T23:37:43.580

Reputation: 4 587

so, assuming that the camera is seperately powered it should work, right? – theateist – 2018-01-19T23:49:21.223

No, trying to use a USB to ethernet adapter like that with a USB device will not work. – plugwash – 2018-01-19T23:50:54.903

You can use USB over IP but it would be really slow, which means the fiber doesn't help you at all. https://www.newegg.com/Product/Product.aspx?Item=N82E16833139028&cm_re=USB_over_IP-_-33-139-028-_-Product

– HackSlash – 2018-01-20T00:13:57.113

@HackSlash, if I'll replace the usb-to-ethernet converters to this set (https://www.amazon.com/WEme-Extender-Connection-Extension-Speakerphone/dp/B01MRL2SK1/ref=sr_1_8?ie=UTF8&qid=1516407333&sr=8-8&keywords=RJ45%20USB%202.0) which has it's own power supply, will it work over fiber?

– theateist – 2018-01-20T00:25:54.713

@plugwash, you mean that it won't work since usb-to-ethernet is not active converter? If it had it's own power supply, like this one (amazon.com/WEme-Extender-Connection-Extension-Speakerphone/‌​dp/…), it would work, right? – theateist – 2018-01-20T00:30:39.497

@plugwash explaining the difference between USB host and USB device would make this answer more useful. – intrepidhero – 2018-01-20T02:59:25.693

@theateist The extender you posted doesn't say anything about using IP packets. It might just be using USB protocols over the Ethernet wires. The device I posted actually hosts a USB device over IP protocols. You need to use internet protocols if you want to transmit across a network, be it made of copper or fiber. The layer one material is irrelevant to this discussion. – HackSlash – 2018-01-22T16:27:41.470

@plugwash, what I don't understand is the following: assuming the device has its own power and I'm talking about my first image, why it should have any ip packets? For example, a camera/keyboard/mouse sends electrical signal through usb plug. I connect it to a usb-rj45 converter. It just remaps the wires from usb connector to rj45. Then it goes to rj45-to-fiber converter. It just translates the electrical signal on the rj45 wires to light. And then it converts it back from light to rj45. And then rj45-to-usb remaps the wiring from rj45 plug to usb plug which goes to server. – theateist – 2018-01-23T23:16:27.543

I have found this device (https://www.amazon.com/StarTech-com-Gigabit-Device-Server-USB1000IP/dp/B004ZMYCRG/ref=sr_1_5?ie=UTF8&qid=1517503663&sr=8-5&keywords=usb+over+ip) and it worked. You were right, ethernet-to-fiber was expecting ethernet packets and since usb-to-rj45 just "remaps" the wires it still trasmits "usb codes" and not thernet packets. So ethernet-to-fiber converter didn't respond to those "codes".

– theateist – 2018-02-01T21:34:35.580