LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2017, 02:09 PM   #1
Azevedo
Member
 
Registered: Feb 2012
Posts: 36

Rep: Reputation: Disabled
USB over ethernet


Is it possible to emulate a usb drive from a ethernet port?

My TV records and reads from USB drives. Is there a way to connect/adapt a connection from the USB to an RJ-45?

TV USB <----- (adaptor) -----> RJ-45 ethernet (/mnt/fake_usb)

Is it possible in Linux?
 
Old 05-29-2017, 02:17 PM   #2
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Do you mean something like this:
http://www.ugreen.com.cn/product-732-en.html ?
 
Old 05-29-2017, 02:44 PM   #3
Azevedo
Member
 
Registered: Feb 2012
Posts: 36

Original Poster
Rep: Reputation: Disabled
No.. this is an usb ethernet adapter.. it just make the usb into an ethernet.
 
Old 05-29-2017, 03:23 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
They do make usb over ethernet devices but I've never used them. Think they are rather pricey too. Not exactly sure how they present the device to the host.

http://www.bb-elec.com/Products/USB-...-Ethernet.aspx and others.
 
Old 05-29-2017, 03:47 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Typically they are not linux compatible. Software is required to create a virtual device but basically it is like a USB extender which is backwards to how the OP wants operate.

I don't know if such a device exists but it is possible to build one... Writing the program would be the hard part.
 
Old 05-30-2017, 06:19 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You would probably need an sbc on the other side of for the USB handling. I seem to recall a recent project to do usb over the network, but it still requires a computer (sbc / raspberry pi) to plug the USB into. USB over IP or usb over ip tunnel seems to be the proper terminology for it.
 
Old 05-30-2017, 08:21 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Specifically the SBC would need to have a device or OTG port. The SBC would need to emulate a flash drive and be able to connect to a computer on the network.

Most of the software/devices of the nature I have seen the computer is still the host that connects to the remote USB device.
 
Old 05-30-2017, 09:00 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I know you can extend it. https://www.amazon.com/Tripp-Lite-Ex.../dp/B003WO40V6

Last edited by jefro; 05-30-2017 at 09:01 PM.
 
Old 05-30-2017, 09:15 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
I have actually used a similar device for both USB and VGA with a 7" VGA touch monitor. Worked well enough for my application.

However, you could not directly connect the TV to a computer using USB since both devices are host controllers.

Last edited by michaelk; 05-30-2017 at 09:20 PM.
 
1 members found this post helpful.
Old 05-31-2017, 09:26 AM   #10
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by jefro View Post
That device is "USB over Cat5/Cat6", not "USB over ethernet". Ethernet is a protocol which can be carried over various physical media. Cat5 and Cat6 are types of cable which which can be use for various purposes, not necessarily involving ethernet at all.
 
1 members found this post helpful.
Old 05-31-2017, 10:26 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by michaelk View Post
Typically they are not linux compatible. Software is required to create a virtual device but basically it is like a USB extender which is backwards to how the OP wants operate.

I don't know if such a device exists but it is possible to build one... Writing the program would be the hard part.
Behold:
https://www.eltima.com/usb-over-netw...laQhoCSMHw_wcB
http://www.usb-over-network.com/usbn...ns/remote.html

I have used a network-to-serial device with Linux before. Old system we worked on *HAD TO* have serial terminals (??) because of the opinions of one guy, who apparently thought that people would get 'confused' if we used something like PuTTY or Reflections. Serial terminals went to this little box, which plugged into network. Driver got loaded at Linux boot-time, and these serial ports would present themselves to the system as just another TTY. Worked great, actually, but totally unnecessary.

Last edited by TB0ne; 05-31-2017 at 10:32 AM.
 
Old 05-31-2017, 10:41 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Thank you for the links.
 
Old 05-31-2017, 10:46 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by michaelk View Post
Thank you for the links.
No worries...but honestly unsure as to how much help it'll provide. The abstraction layers are going to provide....'interesting' speed and results, if you ask me. And I can't think of a USB device that wasn't really designed to be:
  • Cheap enough to buy multiples of
  • Portable enough to tote around
Sharing something like a NAS? Why bother with this, when you can probably mount it via NFS, SSHFS, or CIFS directly. Or share it through a host machine, at the very least. Can't think of ANY device you'd need this for, honestly.

Even if it was a 3D printer....just remote-desktop into the machine via VNC/RDP, and use it locally. Much easier than doing USB-over-CAT5
 
Old 05-31-2017, 10:56 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
It will not help in this case. There might be better alternatives if the OP posted what they were trying to accomplish.
 
Old 05-31-2017, 02:37 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
So far no one has solved the problem.

To be clear.

"not necessarily involving ethernet at all."

I have no idea what is in their mind or if they need tcp/ip support or routeable.

"
RJ45

An 8-pin/8-position plug or jack is commonly used to connect computers onto Ethernet-based local area networks (LAN).
Two wiring schemes–T568A and T568B–are used to terminate the twisted-pair cable onto the connector interface.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Built-in USB Ethernet adapter vs. (standard) Ethernet adapter bgs@pt Linux - Networking 1 01-06-2013 08:05 PM
USB-to-Ethernet and Wifi USB dongles losing packets jgreg Linux - Networking 0 05-24-2010 04:01 AM
USB-to-ethernet jonaskellens Linux - Hardware 3 02-26-2010 05:01 PM
Ethernet to USB converter, not USB to Ethernet MrUmunhum Linux - Hardware 14 11-13-2009 12:43 PM
Setting USB Network Controller (SR9600 USB To Fast Ethernet Adapter) on FC10 katrok Linux - Hardware 1 06-26-2009 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration