LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2004, 01:12 PM   #1
einstein_linux
LQ Newbie
 
Registered: Jun 2004
Distribution: RedHat9 , Fedora C2 , OSX
Posts: 7

Rep: Reputation: 0
Question 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?
 
Old 06-04-2004, 04:52 PM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
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.
 
Old 06-04-2004, 06:14 PM   #3
einstein_linux
LQ Newbie
 
Registered: Jun 2004
Distribution: RedHat9 , Fedora C2 , OSX
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 06-05-2004, 04:50 AM   #4
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
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
 
Old 06-06-2004, 01:14 PM   #5
einstein_linux
LQ Newbie
 
Registered: Jun 2004
Distribution: RedHat9 , Fedora C2 , OSX
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 06-06-2004, 01:30 PM   #6
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Re: scp?

Quote:
Originally posted by einstein_linux
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?
I haven't installed these on a Mac yet (should do next week), but try investigating these sites :

http://pro.wanadoo.fr/chombier/index.html
http://www.rbrowser.com
http://rsug.itd.umich.edu/software/fugu/download.html
 
Old 06-06-2004, 06:57 PM   #7
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
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.
 
Old 06-07-2004, 12:02 AM   #8
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

Rep: Reputation: 31
Is scp just for files or can you use it for whole directories too?
 
Old 06-07-2004, 03:20 AM   #9
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Quote:
Originally posted by 69_rs_ss
Is scp just for files or can you use it for whole directories too?
You can use it for whole directories. The -r (recursive) flag tells scp to copy everything below the directory you specify.

http://www.hmug.org/man/1/scp.html
 
Old 06-07-2004, 07:31 AM   #10
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

Rep: Reputation: 31
Thanks, I've been having trouble trying to rsync a directory so I wanted to try it another way.
 
Old 06-07-2004, 09:29 AM   #11
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
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 !
 
  


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
what is the most mac like linux? iChick Linux - Newbie 29 02-25-2011 08:36 AM
Mac on Linux remz Linux - Software 1 01-29-2005 11:26 PM
Linux on a mac? phoenix77 Linux - Newbie 1 08-25-2004 08:11 AM
Help with Linux on Mac Tackleberry_82 Linux - Newbie 1 07-14-2004 07:10 PM
linux vs mac robodude Linux - General 19 03-23-2004 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration