Make a PC Look Like a Firewire or USB Drive? 122
buckinm asks: "Here's the problem: I have a Windows laptop that I use for work. When I'm at home though, I much rather use my Mac. Since we use Cisco's VPN client at work, I can't mount the drives on the PC from the Mac. What I'd like to know, is there any software out there that would make the PC act like a Firewire or USB drive? I'd want to be able to mount it read/write. I know I could do some sort of rsync of thing when not connected to the VPN, but that seems like too much trouble. I wouldn't be against writing something like that, if I could get some idea of what is required to listen / respond to traffic on the Firewire or USB ports."
Mac Mini Killer! (Score:2, Funny)
Possible, I think (Score:3, Interesting)
As for the PC side, I don't know. It's obviously possible, but I haven't heard of it. The Tinkerer in me says make a switch that disconnects the HD from the computer and connects it to a IDE->Firewire adaptor you hide in the case. Switch in one position it's a normal computer. Switch in the other it's a firewire disk.
Good luck.
Re:Possible, I think (Score:5, Informative)
Re:Possible, I think (Score:1, Redundant)
No you can't do it with x86 bios.
No you can't do it with the cheap hardware.
Target disk mode as i understand it loads up the kernel and just enough hardware/software to operate the drives, as an external drive enclosure.
The only reason Apple can giveyou cool features like that is because they have a tight control of their systems.
Re:Possible, I think (Score:3)
What's stopping an x86 motherboard manufacturer from providing the exact same feature? I would hope they have tight control of their systems, too.
Re:Possible, I think (Score:2)
You'll only see this in items like laptops where the manufacturer does keep tight controls over the entire product, like the ones that can play CDs or DVDs without booting up into an OS for example.
But then again you won't be able t
Re:Possible, I think (Score:3, Interesting)
More and more motherboards have this stuff on board, particularly Firewire and USB controllers. With a smarter BIOS (maybe even LinuxBIOS [linuxbios.org]), those manufacturers could provide a service similar to Apple's Target Disk Mode.
FWIW, Appl
Re:Possible, I think (Score:2)
Re:Possible, I think (Score:4, Informative)
Back when PowerBooks used SCSI, it turned the 'Book into a SCSI drive. I believe there was a Control Panel you could use that would set the SCSI ID that it would use.
It's not just for PowerBooks anymore, though. Any[*] Mac with built-in FireWire can do Target Disk Mode.
[*] I'm pretty sure it's "Any", but it might just be "Most". Certainly works for old "Sawtooth" PowerMac G4s on up, and iMac DVs on up, in addition to the laptops.
-Ster
Re:Possible, I think (Score:1)
Re:Possible, I think (Score:2)
Re:Possible, I think (Score:2)
Sure you can do it with cheap hardware [google.com] All a vendor would have to do is integrate something like this into their product, and provide power only to the drive (have the MB not access the disk.) These adapters generally sell for $20 or less on Ebay, so all we really need is someone to actually do it, there's no reason this couldn't work, on any bios.
Comment removed (Score:4, Informative)
Re:Possible, I think (Score:2)
On a PC, it could be possible to implement some kind of micro-OS, probably fitting on a floppy disk, that contains drivers for firewire and IDE and behaves just like the little chip inside external Firewire-to-IDE cases. It does not need to be very smart: There is no need to know anything about partitions or filesystems, this is the job of the machine mounting the drive via firewire. Accessing a single IDE drive on the primary master connector is easy, just simple port-I/O (unless you want performance). I d
ive only used firewire 3 times in my life but... (Score:3, Interesting)
Re:ive only used firewire 3 times in my life but.. (Score:2)
i mean
on my laptop running ex pee, the firewire shows up under network connections as having a tcp/ip stack.
Grump
Re:ive only used firewire 3 times in my life but.. (Score:2)
To wit, if you are looking, you will project that state of being and have little luck.
If instead you become/behave/act/think like a husband your chances will improve greatly!
Re:ive only used firewire 3 times in my life but.. (Score:2)
Anyway, don't take the sig too seriously (because I don't). Its just a running joke.
I'm 21 so not *too desperate* yet.
Grump
Re:ive only used firewire 3 times in my life but.. (Score:2)
Anyone's in particular?
Re:ive only used firewire 3 times in my life but.. (Score:2)
have someone to intorduce?
Re:ive only used firewire 3 times in my life but.. (Score:2)
Or enough of the wrong ones, either. :-)
You'll want .... (Score:4, Informative)
...the gadget device driver and API [linux-usb.org]. From the linked page:
not USB (Score:1)
Re:You'll want .... (Score:3, Informative)
mac fanboys: yes, firewire drive mode is great, but has nothing to do with this problem. he wants a way to access the files over USB. I looked into it myself when i had a bad case of mac envy, but usb is a master/slave model, devices are classified either as masters, or slaves, not both, and as far as i know, 2 of the same type are not able to communice via the usb protocol. it looks like the above poster has software to allow a server to emulate a slave device, but firwire is more of a pee
Re:You'll want .... (Score:2)
Re:You'll want .... (Score:1)
Very Ture
mac fanboys: yes, firewire drive mode is great, but has nothing to do with this problem. he wants a way to access the files over USB.
The question also mentions Firewire as an option.
Make a PC Look Like a Firewire or USB Drive?
Posted by Cliff on 02-24-05 04:16 PM
from the optionally-attached-storage dept.
buckinm asks: "Here's the problem: I have a Windows laptop that I use for work. When I'm at home though, I much rather use my Mac. Since we use Cisco's VPN client at work, I
Re:You'll want .... (Score:2)
Also from the linked page, right at the top of the page:
Re:You'll want .... (Score:2)
I read that - I had assumed that slave mode controllers were available as PCI cards and that he could slap one in and go. I guess not.
Re:You'll want .... (Score:2)
An ISA host AND slave mode controller...
Simplest way: (Score:2)
Share the drive with SAMBA. Windows (and probably every other modern OS) supports Ethernet-over-Firewire.
Mount SAMBA share with IP-over-Firewire.
Problem solved.
Re:Simplest way: (Score:5, Insightful)
Most VPN clients, in order to protect the network you are VPN'ing into, will shut down all other connections - they set the VPN interface to be the default route, and then they remove any other routes.
So doing IP over Firewire will work, right up to the time the VPN client kills it.
I'd suggest finding a small Linksys/Dlink (but NOT BELKIN) router that has Cisco VPN client support - the router will handle the VPN, and you can plug both your Mac and your PC into it.
Re:Simplest way: (Score:2)
That's a pain...although I suppose it makes sense.
Thanks for clarifying.
Re:Simplest way: (Score:4, Informative)
Too true. and adding a host route or two resolves the issue.
route add mac'sIP mask 255.255.255.255 eth0'sIP
It may also be necessary to add a host route for the local eth0 interface as well, depends on how far your VPN client goes. I'd put it in a batch file so that I could run it each time I bring up the VPN.
Re:Simplest way: (Score:2)
Too true. and adding a host route or two resolves the issue.
Some VPNs do more than just change routing; they block all non-VPN traffic, route or not. Checkpoint can do this, for example (it can also be configured not to do this).
Re:Simplest way: (Score:3, Informative)
The AskSlashdotter needs to RTFM.
Re:Simplest way: (Score:2)
The AskSlashdotter needs to RTFM.
From that link: You enable split tunneling and configure the network list on the VPN device.
In other words, the admin who controls the VPN device (not the client) controls whether the client can do split tunnelling. It's probably off - it should be to be prevent the VPN client being a conduit for the outside world into the company.
Assuming he is no
Re:Simplest way: (Score:2)
Yeah, you could hack their kernel module to disable this "feature" but that's a real bitch.
Re:Simplest way: (Score:4, Informative)
adding a host route or two resolves the issue.
This likely won't work either... the Nortel client, for example, automatically disconnects if *any* routing table changes are made after the client connects. Makes it a real pain to use networked printers at home, too.
That doesnt work... but this does (Score:1, Informative)
The way around it is to use another stack. IPX might work but the simplest one i've found the IPv6 stack. I
Hack the damn thing (Score:3, Informative)
Re:Simplest way: (Score:1)
Mod the parent up please.
Re:Simplest way: (Score:2)
Re:Simplest way: (Score:2)
Re:Simplest way: (Score:1)
Extra UTP port (Score:2)
Re:Extra UTP port (Score:1)
Easy on a mac (Score:2, Informative)
This is great if you want to use the HDD of your Powerbook G4 on your friend's G5 tower. I think you can even set it to be the boot disk.
Macs rule.
Seriously, Macs just work. (Score:1, Interesting)
2000.11.29
Paulo Rodrigues
Our Fair Computer Company has released some quirky yet useful features in its computer systems and OS, and then advertised them very little, if at all. Apple's SCSI Disk Mode, and it's modernized offspring, FireWire Target Disk Mode, are excellent examples.
SCSI Disk Mode
SCSI Disk Mode, introduced way back in October 1991 on the PowerBook 100, allowed you to mount your PowerBook's hard drive on another Mac using a funny $30 cable made called PowerBook 10
Re:Seriously, Macs just work. (Score:2)
Even without a VPN involved this is a hard problem...
Re:Seriously, Macs just work. (Score:1)
(the NTFS support is flakey, though.. occasionally folders containing gigs of data refuse to show up in OSX.)
What problem are you trying to solve? (Score:3, Insightful)
OK, you have a PC laptop. You have a Cisco VPN. You have files. What files do you need to share?
If the files are on the laptop, just network the 2 boxes at home and share the files, right?
If the files are at work, get a Cisco VPN solution for the Mac (I used one for years).
If IT won't help (surprise, right?), and you're determined to break the law/policy/whatever, there are a lot of options:
Add an interface on the laptop and set it up as a router.
http://sourceforge.net/projects/openvpn/, maybe over http://www.nocrew.org/software/httptunnel.html (either from the laptop or a machine in the office).
Maybe run the VPN in an emulator layer (http://fabrice.bellard.free.fr/qemu/), give it access to the local filesystem, let the "outter layer" windows export the same filesystem, keep updating using rsync (just brainstorming, here).
Or just keep it simple, stupid. Get an external firewire drive, dump the files you need, and swap it to/from the mac/laptop.
Re:What problem are you trying to solve? (Score:3, Insightful)
Given that many VPN solutions are configured to not allow split tunneling, you cannot access your local LAN IP addresses while connected via VPN. I believe the Cisco client by default disallows split tunnelling, but that may be a server side setting that is negotiated, I'm not 100% sure.
S
Re:What problem are you trying to solve? (Score:2)
I've never worked for a company that didn't allow any outside access at all (including web). If there is ANY outside access (carrier pidgeon, http, ssh, etc), I would set up a tunnel. Either from the laptop in question (in which case you'll be routing through the company and back to your mac), or from a machine at work.
If not, I'd try a windows in a box solution and do the mirroring in there.
Either way, we don't have enough
Lemme make sure I'm following... (Score:1)
You could put your Mac into Target Disk mode on your PC, but then you'd have to software for the PC that reads HFS+ formatted disks. Ugh...
IP-over-FireWire won't work because the VPN client locks out other network connections, so that knocks that
Re:Lemme make sure I'm following... (Score:2)
> disks. Ugh...
It isn't that simple. Target mode doesn't turn the mac into a real firewire device, it is a special device which only MacOS has a driver for. Even Linux, with great firewire support and HFS+ support, you cannot mount the "disk".
Re:Lemme make sure I'm following... (Score:2)
Re:Lemme make sure I'm following... (Score:2)
I'll try it again, though, perhaps recent kernels have support for this now.. (or maybe they changed something in newer models)
Re:Lemme make sure I'm following... (Score:2)
I would think that it would be easier to turn off the VPN client than tear out the drive; I'm assuming there's some reason he wants to be simultaneously VPN'd on the PC and accessing that PC's drives from the Mac.
Re:Lemme make sure I'm following... (Score:2)
There are a few utilities that do that: MacOpener [dataviz.com], MacDrive [media4.com], TransMac [asy.com], and (also for *n*x) TransferPro [dit.com]
Wrong problem (Score:2)
Just use a Linux Live CD (Score:3, Informative)
Re:Just use a Linux Live CD (Score:1)
Or a small Linux partition, plus an unfetterd second Windows partition. Lilo is a useful bootloader, and can 'make' partitions on a system boot 'Windows' that Windows itself doesn't comprehend (this may not be as easy as it used to be, back when I had Slackware 3.4 and a whole handful of different DOS and Windows partitions on a single system)
Um.... (Score:2)
Use the Cisco VPN [cisco.com] client for Mac OSX? Am I missing something here?
Sera
Re:Um.... (Score:1)
Yes.
It doesn't matter which computer uses the VPN client, he's still not going to be able to use the network to do this, as he implies in the posting. The Cisco VPN can be set to prevent ALL network traffic that's not VPN traffic, and the setting is maintained at the company's end, so he can't change it.
Re:Um.... (Score:2)
Thus using the Cisco VPN client...
It tells me that what he meant was that they have Cisco servers. From my home I can use Windows, Mac, or linux to VPN into work. This is the whole reason to use VPN. If he is at work using VPN to get into thier own network .... then he should be able to do it from anywhere on the Net. If they block external access - then I have to ask why in the world they have a network set up that way - not trusting internal clients is odd at best
Re:Um.... (Score:1)
Networking via USB or Firewire probably won't help (Score:2, Insightful)
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8 &c2coff=1&threadm=79240318.0302052128.2ac4b7de%40p osting.google.com&rnum=8&prev=/groups%3Fq%3Dcisco% 2B%2522default%2Bgateway%2522%2Bvpn%2Bclient%26hl% 3Den%26lr%3D%26ie%3DUTF-8%26c2coff%3D1%26sa%3DN%26 tab%3Dwg [google.com]
is a summary of what I found then.
There is an option "allow local LAN access" on the "transport" tab of the VPN client setup. However, according to the Usenet post above:
"... the admi
Re:Networking via USB or Firewire probably won't h (Score:1)
Correct. The VPN Concentrator has to be configured to allow local LAN access and can even restrict the addresses used, for exampl
Oh, and another thing. (Score:1, Troll)
Even Apple is dropping Firewire. [slashdot.org]
USB wins! Yea! What did it win?
Not an answer the question but A USB harddrive? (Score:2)
OpenFirmware features vs PC BIOS (Score:2)
Same thing, for Pocket PCs? (Score:3, Interesting)
SCSI Target support (Score:2)
There is support in newer Linux kernels for doing just this, only for SCSI (or was it an external patch)? I think it was originally meant for SANs and such, but you could probably get about the effect you want from it if you can find the patch :-)
/* Steinar */
I think what he's trying to do is... (Score:2)
I'm guessing that he wants to be pull down files from work to his PC, then use the Mac to modify the files, and then push the files from his PC back to work. If we further assume that he can't (effectively) add entries to his PC's route table when th
VNC (Score:2)
I agree. Assuming that the complication here is that he needs the laptop running Windows as a VPN client to work, all the other suggestions such as SAMBA or live Linux CD won't work. But I wonder, does the VPN also shut out port 5900? If it doesn't, he can always run a VNC server and
Advise against trying it, security issues (Score:1)
By propagating your work data to your home PC (even if it is a more secure Macintosh) increases the chance that something is going to go wrong. The IT/IS people at work gave you laptops so you could work at home on the laptop. They set up a VPN so that you could SECURELY connect and work from anywhere. Is the simple convienience of working on your personal computer worth the risks of bypassing a reasonably secure se
i agree (Score:1)
if you do have personal data on the laptop just use a removable harddrive if they are huge files or a thumbdrive if they're smallish.
all that aside The laptop "_SHOULD_" have the programs you need to work iwth the files on it. what of compatibility issues? say something you save on the mac embedds something in a way one of the inferior pcs that have to deal with your jobs output can't handle?
I get files all the time that "_SHOU
in order for him to snafu it (Score:1)
"I hold down the button while I click?" (last week, about holding ctrl to select multiple files)
He's used windows for 8 years now.
cringe
FireWire? Likely. USB? I doubt it. (Score:2, Interesting)
USB host-controller in PCs are different. In USB, only the host-controller can bus-master - i.e. initiate transactions on the USB bus - no other device on the bus can. I believe this is specified in the protocol i
What you need is... (Score:1)
I am pretty sure it works with macs too.
Try this (cheap) (Score:2)
Buy a cheap USB-to-ethernet adapter, and run a 2nd network to your laptop. VPN over the primary NICr, and shared drive over the secondary NIC.
Note that I have not tried this, but *in theory* is should work. It, however, depends upon how the VPN software is written.
If you check out the sales, even if this does NOT work, you should only be out $10 or so (assuming that your Mac can talk to a cheap USB NIC - check for compatability before you buy).
USB Bridge Cable Was What I Used (Score:4, Informative)
I purchased an IOgear Smartlink cable [iogear.com]. I had to use USB 1.1 due to OS and hardware inadequacies, but there may be a USB 2.0 option (though I don't see it on the IOgear site). The connection software is pretty crummy-looking, but it works, and their site claims that it supports Macs as well Windows (although I have not used it on a Mac). Since it's USB 1.1, it is as slow as molassass for entire-drive transfers, and you may prefer a different method.
Another option I looked into was an ethernet crossover cable, which, I believe swaps two of the wires over the course of the cable run. This was available at RadioShack [radioshack.com] (and I am sure other places). I decided not to go down this route, and it sounds like a no go for you as well, but I'm including it for the sake of completeness.
The third thing that might work is an external harddrive. I didn't use one because of the expense, but it may be worth it if you don't want to wait while your files transfer via USB. If you're doing smallish (less than 1GB) transfers, a thumb-drive may be the easiest way to do this.
It is VERY important that you do not try a straight USB to USB connection without the bridge cable. I understand that it can fry the USB ports on the machines. If you look at the image of the Smartlink cable on the page linked above, you'll see a bulge in the middle of the cable. That's the USB 'slave' that allows both computers to act as masters when doing the file transfer. FireWire may be a different story though, as you may just be able to plug it right in (no guarantees, though).
Re:Dance the Samba (Score:2)
Re:Make sense man!! (Score:4, Informative)
> Share the drives and mount them.
He can't, because VPN usually shuts off the other network connections.
> You want to mount vpn mapped drives from a Mac?
> Same deal, share them and mount them. If you can't share them, them subst them and share the subst.
Sharing won't work at all over TCP/IP while VPN is in use.
> You want to access your network from the Mac via the laptop?
> Enable routing on the laptop.
> Better yet, why not install the VPN client on the Mac and leave the laptop out of the question?
He did install VPN on the Mac -- his data is on the Windows laptop.
> What do you want?
He wants to get at all his work data, which is on his work laptop, while using his home desktop machine to connect with his servers at work. Since he can't use a normal TCP/IP connection to have the two machines talk to each other, but they are both at home with him, he thought using USB or Firewire to connect them would avoid the issues with trying to share data between them while the Mac is hooked up to VPN.
Re:Make sense man!! (Score:2)
Re:Make sense man!! (Score:1)
Re:Make sense man!! (Score:2)
nodefaulroute
That's all folks. I use it all the time.
Re:Make sense man!! (Score:2)
Re:External drives are t3h bomb. (Score:2)
Re:External drives are t3h bomb. (Score:2)
Re:External drives are t3h bomb. (Score:2)
Re:External drives are t3h bomb. (Score:2)
Re:External drives are t3h bomb. (Score:1)
Re:External drives are t3h bomb. (Score:2)
Re:External drives are t3h bomb. (Score:2)
VirtualPC isn't free so you would be giving MS some money.
Re:The windows laptop has a different disk format (Score:1)
OS X already has native read/write support for both fat32 and NTFS. I have no trouble manipulating corrupted/damaged pc drives on my mac.
Re:The windows laptop has a different disk format (Score:3, Informative)
You're making the Doctor happy/not happy.
Re:I just submitted the same question!!! (Score:2)
Re:I just submitted the same question!!! (Score:2)
T.
Re:ZIP Drive (NOT!) (Score:1)
Because the question wasn't "What would make an ideal doorstop?"
Seriously, I used to use a ZIP drive at home until one day 6 years ago I went to Fry's to buy disks to back up my (probably) 20Gb hard drive and realized that it would cost more just to buy enough ZIP disks than it would to buy a CD burner. So I bought a CD burner instead and have used that for backups until I got a DVD burner.
Now, the CD burner part is irrelevant here. I would advocate the method already