LinuxQuestions.org
Help answer threads with 0 replies.
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 01-10-2010, 05:37 AM   #1
haux
LQ Newbie
 
Registered: Jan 2010
Location: canada
Distribution: Ubuntu, Redhat, Debian
Posts: 9

Rep: Reputation: 0
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 !
 
Old 01-10-2010, 05:49 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,428

Rep: Reputation: 83
Hya,

How about nfs? (export mount point)

Happy Penguins!

Last edited by kaz2100; 01-10-2010 at 05:50 AM. Reason: typo
 
Old 01-10-2010, 09:20 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,019
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Hi,

Quote:
Originally Posted by haux View Post
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


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-11-2010, 05:16 AM   #4
haux
LQ Newbie
 
Registered: Jan 2010
Location: canada
Distribution: Ubuntu, Redhat, Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Question

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.
 
Old 01-11-2010, 07:14 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,019
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Hi,

Quote:
Originally Posted by haux View Post
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.

 
Old 01-11-2010, 05:08 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,000

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
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.

Last edited by jefro; 01-11-2010 at 05:14 PM.
 
Old 01-11-2010, 10:22 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,019
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Hi,

Quote:
Originally Posted by jefro View Post
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 View Post
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.

 
Old 01-20-2010, 07:33 AM   #8
haux
LQ Newbie
 
Registered: Jan 2010
Location: canada
Distribution: Ubuntu, Redhat, Debian
Posts: 9

Original Poster
Rep: Reputation: 0
I found the solution

Hi every one,

It exists, somewhere someone has done it !

http://usbip.sourceforge.net/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
How to pipe the default audio h/w device directly to hw:0,2 Erin Linux - Software 3 04-16-2005 11:55 AM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration