LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-09-2006, 06:29 PM   #1
elfoozo
Member
 
Registered: Feb 2004
Location: MI
Distribution: debian unstable
Posts: 252

Rep: Reputation: 32
Question debian host as a mass storage device to another host?


As the title suggests, I'm wondering if debian (or any linux) can be configured so that the USB ports (or just 1 port) of a debian host can present itself to another host (windows? mac? hardware appliance) as strictly a mass storage device? The idea is to be able to plug USB on debian to the USB on another host and have the other host detect it the same as if you plugged in an external USB drive.
 
Old 12-09-2006, 07:03 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,760

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
You can not directly connect a USB cable between two PCs. There are special USB cables that are called host to host or bridge cables. It would be similar to connecting two PCs via an ethernet crossover cable. In theory it should be possible to build a cable device like the host to host cable that would simulate a storage device but I have not seen one.
 
Old 12-10-2006, 06:32 AM   #3
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Not quite what you asked for but I think this will work, no idea how to do it though,

make a folder, lets say /share

now share it over the lan as a NFS or Samba share, if you want add a username and password and limit it to one IP address.

now all you have to do is configure the automounter so that a symlink is created inside /share pointing to any usb in the right socket.

then just access it in my network places (or entire network) from windows.

Last edited by Tortanick; 12-10-2006 at 06:36 AM.
 
Old 03-05-2007, 08:42 AM   #4
elfoozo
Member
 
Registered: Feb 2004
Location: MI
Distribution: debian unstable
Posts: 252

Original Poster
Rep: Reputation: 32
Tortanick, the device I want to attach via USB only recognizes mass storage so using nfs or samba will only work if Linux can somehow present what you describe as mass storage.

michaelk, are you saying a cable configuration can permit a host OS seeing "mass storage"? I mean, I understand that I have to do some USB to USB adapting so the data can flow from host2 to host1, but what I can't find is how to make their communication be host1 <-- mass storage[host2].

The only lowbuck NAS I've seen in the market place are ethernet based OR usb based. But never both.
 
Old 03-05-2007, 05:06 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,760

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
Not impossible but a special cable would be required for a PC to be recognized as a mass storage device. I am not aware of something like this that one can purchase. I was suggesting networking two PCs together via a special USB cable.
 
  


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
host-to-host USB cable: how to make it work under debian?? stefan_578 Linux - Hardware 18 12-20-2006 02:09 PM
USB Mass storage Device purefan Linux - Hardware 15 06-06-2005 01:56 PM
usb - mass storage device d1l2w3 Mandriva 7 01-10-2005 10:10 PM
USB Mass Storage Device ebasi Linux - Hardware 2 12-23-2004 02:06 PM
Usb mass storage device laguna Linux - Hardware 4 08-12-2002 02:16 AM


All times are GMT -5. The time now is 09:31 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