LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB device as pipe between two hosts (http://www.linuxquestions.org/questions/linux-hardware-18/usb-device-as-pipe-between-two-hosts-781211/)

haux 01-10-2010 05:37 AM

USB device as pipe between two hosts
 
Hi,

I am wondering if we can with Linux create a pipe between two hosts (linux of course), so when I plug an USB disk on host1 it will be mounted on host2.

Any idea is welcome !

kaz2100 01-10-2010 05:49 AM

Hya,

How about nfs? (export mount point)

Happy Penguins!

onebuck 01-10-2010 09:20 AM

Hi,

Quote:

Originally Posted by haux (Post 3821007)
Hi,

I am wondering if we can with Linux create a pipe between two hosts (linux of course), so when I plug an USB disk on host1 it will be mounted on host2.

Any idea is welcome !

'NFS' would be a means to allow the mounting of the filesystem on one host to other. The automount will be the trick an left to 'hal' & 'udev'.


Just a few links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

haux 01-11-2010 05:16 AM

Hi,

I know how to use nfs, smb, ftp and sftp.

What I want to know is : is it possible to use HOST1's USB from HOST2 ?, no matter what we plug on that USB port.
(Disk, mouse ...keyboard....etc)

So if I plug some device on HOST1'USB the host HOST2 will see that device. (like pipe over LAN)

Regards.

onebuck 01-11-2010 07:14 AM

Hi,

Quote:

Originally Posted by haux (Post 3822243)
Hi,

I know how to use nfs, smb, ftp and sftp.

What I want to know is : is it possible to use HOST1's USB from HOST2 ?, no matter what we plug on that USB port.
(Disk, mouse ...keyboard....etc)

So if I plug some device on HOST1'USB the host HOST2 will see that device. (like pipe over LAN)

Regards.

If it is as you state that 'I know how to use nfs, smb, ftp and sftp.' then why the query?

Now you have changed the conditions of the original post subject. You are now wanting to mount devices from one host to another. If you want 'X' services then that's another subject entirely. You can mount filesystems on another host via 'NFS' or other network filesystems for the appropriate OS.

As for operations between hosts with the device(s); Disk, mouse ... keyboard and whatever 'etc' is then I suggest that you look at 'X', 'ssh' and even 'scp'. You are not going to be able to link those devices via 'NFS' support.

:hattip:

jefro 01-11-2010 05:08 PM

Already a linux solution.

http://www.fabulatech.com/usb-over-network.html

I'm sure there are plenty of ways to do what you want also though many means.

onebuck 01-11-2010 10:22 PM

Hi,

Quote:

Originally Posted by jefro (Post 3823009)
Already a linux solution.

http://www.fabulatech.com/usb-over-network.html

I'm sure there are plenty of ways to do what you want also though many means.

That's a propriety application that does integrate a 'USB' device such as scanners, memory devices and such over the network via a server. This server is treating the device as a local device that in tern may be shared across the network. The device sharing does have restrictions along with limitations.

Your not going to be able to share as the OP was requesting for;
Quote:

Originally Posted by haux (Post 3822243)
Hi,

I know how to use nfs, smb, ftp and sftp.

What I want to know is : is it possible to use HOST1's USB from HOST2 ?, no matter what we plug on that USB port.
(Disk, mouse ...keyboard....etc)

So if I plug some device on HOST1'USB the host HOST2 will see that device. (like pipe over LAN)

Regards.

The Disk would be the only device that the OP could use that server with. But why when you can use the 'NFS' layer without adding a additional layer with that USB server. This type of 'USB' service has been around for a while but it does have limitations. Look into integrators.

:hattip:

haux 01-20-2010 07:33 AM

I found the solution
 
Hi every one,

It exists, somewhere someone has done it !

http://usbip.sourceforge.net/


All times are GMT -5. The time now is 06:45 AM.