Using USB to Ethernet with Linux Ubuntu 12.04
- by Sriram
Being a newbie, Please excuse if the technical Jargon used is not an universally accepted one :)
I have a particular device (say device A) whose USB2.0 driver is available from Linux community. Linux UBUNTU12.04 based PC is able to detect that device via the available driver.
My requirement is to ensure that PC can exchange the command as well as data with the device A over TCP/IP packets (In other words, instead of just a USB Based driver, there should be a TCP/IP wrapper over the device USB driver and still does the same job as the USB driver was doing before)
Bought an USB (Female) to RJ-45 adapter,connected Device A (male) USB to the USB Female end of the adapter and the Ethernet end connected to the router. PC also is connected to the same router so that both Device A and the PC have the IP address in the same subnet range. So the packets produced by the device A can be routed to the PC via some binding( not sure how I can achieve this, but conceptual idea)
Here are the issues I can see as of now
1) USB to RJ-45 is just a hardware signal conversion and not a NIC in itself and hence no MAC/IP ADDRESS assigned. Can we bind a virtual NIC created in PC with this connector?
2) Any available USB TO IP command as well as data translation wrappers available?
e.g. command for the device A on Ethernet converted to command for the device A on USB which is then acted upon the device as a command from the USB driver
There is some missing link in my understanding and hence it would be of great help if you can bounce off some ideas on how I can take this forward so that Device A and PC exchange data over IP.
Thanks and Regards,
Sriram