From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mz0X7-0000gX-A7 for garchives@archives.gentoo.org; Sat, 17 Oct 2009 04:04:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2843DE05E4; Sat, 17 Oct 2009 04:04:44 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id D6D04E05E4 for ; Sat, 17 Oct 2009 04:04:43 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,575,1249254000"; d="scan'208";a="135029142" Received: from unknown (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 17 Oct 2009 05:04:42 +0100 Received: from funf.stroller.uk.eu.org (funf.stroller.uk.eu.org [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id 4989B1203A for ; Sat, 17 Oct 2009 05:04:41 +0100 (BST) Message-Id: From: Stroller To: gentoo-user@lists.gentoo.org In-Reply-To: <200910161358.20103.wonko@wonkology.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [gentoo-user] OT: PC as USB client Date: Sat, 17 Oct 2009 05:04:38 +0100 References: <200910061222.56519.wonko@wonkology.org> <3ac129340910081858j4ad0a3adn8f3f46443936760b@mail.gmail.com> <200910161358.20103.wonko@wonkology.org> X-Mailer: Apple Mail (2.936) X-Archives-Salt: c666a56a-6269-40ff-bce5-94540f634fdc X-Archives-Hash: 01b5ce8b35cc46c182c19d1b90814a91 On 16 Oct 2009, at 12:58, Alex Schuster wrote: > daid kahl wrote: > >>> Not really specific to gentoo, except that I want to do this with a >>> Gentoo PC: Is it possible to attach my Gentoo PC 'G' to another PC >>> 'W' >>> (running Windows) via USB, so that G appears to be a removable >>> media to >>> W? I think you need special USB cables with some electronics in the >>> middlle for that, and I saw such a solution for Windows. Does >>> anybody >>> know if this is possible with Linux? >> >> Did you consider something like an ethernet cable and using samba? I >> haven't used my Linux drive specifically in another Windows machine, >> but samba works fine for using our network scanner (and I can browse >> the relevant filesystems setup in Samba). > > The problem with this is that the PC is a closed system used for > medical > ultrasound acquisitions, and I do not have access to it. So I cannot > configure any shares, and have to use what is already configured. The > software allows export of data to an USB stick, but I would like to > avoid > having to move the stick around to the Linux PC afterwards. The hack that springs to mind is to see if you can pick up an Openmoko Freerunner with a broken screen. I'd guess you might be able to pick one up for as little as $50 or so. It needs no SIM - you just connect it to your office wifi instead, configure it to act as a mass storage device and share the appropriate directory by Samba or NFS or whatever. http://wiki.openmoko.org/wiki/Using_the_Neo_as_an_USB_Mass_storage_device Configuring the device to boot up and automagically load the mass storage device kernel module - instead of the USB networking one, which is default - could be a bit tricky with a broken screen. But I doubt if you want to spend $200 on this, and I think that's about the going rate on a brand new Freerunner. I guess if you could buy one that the seller has proven working via ssh to USB - which is really standard on this device, it defaults to 192.168.0.202 - then you could get it to connect to your wifi and bind sshd to that interface, also. Once you know that's good and reliable, remove the USB interface from the sshd configuration, stop it from loading the USB ethernet module at boot and have it load the mass storage device module instead. I do feel this is kinda a clumsy suggestion, to use a relatively expensive mobile phone - and such little of its functionality - for such an ostensibly-simple task. There must be other Linux-based devices which will pretend to be mass storage devices, and I wouldn't be at all surprised if some of them were quite cheap and readily available. But I have no idea what they might be. Stroller.