Linux -> Mac
I want to be able to see my iBook's drive on my linux machine. Should I use Samba and if so how should I mount it to the linux machine?
|
Well,there are many ways to do that:
Samba, FTP, scp and NFS. To mount (as root!) a samba share, first create a mountpoint "mkdir /mnt/ibook" or so and then mount it there:"mount -t smbfs -o username=YOURSAMBAUSERNAME,password=YOURSAMBAPASSWORD //IBOOKNAME/SHAREDFOLDER /mnt/ibook/" Maybe it works with the IP insted IBOOKNAME Samba have sometimes problems with files bigger than 2 GB. FTP works with every system. scp = Secure Copy is encrypted and NFS can te tricky. Depends on your environment: Private LAN, Company network or Internet. |
Thanks!
Samba worked great. Is that the best choice out of the three you mentioned? I am familar with ftp but not nfs. Should I just stick with samba?
|
IMHO, Samba is good with windows computers or files smaller then 2 GB.
For a safe transfer (through the Internet), you shold use scp. It's very cool, due you can copy from any place to anyplace, you dont need to share a volume, mountpoint or similar ! And NFS is like the Samba for UNIX: You can mount a remote directory, CD, ... and it looks to you as it would be built in your Computer you sit an. It's transparent to the user, but wrongly used, it can be a trap: If your NFS-Server disconnect (Network problem, media change or switched off) you go can go down too, because your system don't give up to search it. In the past, sometimes you had to reboot the client. Hth Fluppi |
scp?
scp intrests me. How do I go about setting that up? Do i have to install it, is there a gui or is it command line?
|
Re: scp?
Quote:
http://pro.wanadoo.fr/chombier/index.html http://www.rbrowser.com http://rsug.itd.umich.edu/software/fugu/download.html |
If the command line interface is enough for you, then just open a terminal and type: "scp MYFILE REMOTECOMPUTER:/TARGETDIRECTORY" to copy a file to the remote computer.
You can also get a remote file if you know place and name: "scp REMOTECOMPUTER:/TARGETDIRECTORY/HISFILE LOCALDIRECTORY". On the Mac, I think you have to change the security settings to allow this. |
Is scp just for files or can you use it for whole directories too?
|
Quote:
http://www.hmug.org/man/1/scp.html |
Thanks, I've been having trouble trying to rsync a directory so I wanted to try it another way.
|
You can tunnel rsync though ssh:
rsync -re ssh LOCALDIR/ USER@REMOTE:/REMOTEDIR That's why I like Linux/UNIX: there is nothing you can't do ! |
All times are GMT -5. The time now is 08:27 AM. |