image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old August 20th, 2002, 02:40 AM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Question Mac-to-Linux Server question...

I currently have 2 x G4s (1 is my workstation, the other a file and web server)... and 1 decent sized PC, my question is:

I would like to sell the G4's to finance a new G4 (I don't wanna wait no longer I think). I can setup the pc as a Linux file (and most definately web server)... but, how compatible will OSX be with the Linux machine as a file server?

Could I connect to it in a similar fashion to an OSX server (hard drives on the desktop etc.)? What are the plain logistics of such an idea?

Thnx in advance
Reply With Quote
  #2  
Old August 20th, 2002, 05:29 AM
LordCoven's Avatar
Registered User
 
Join Date: Dec 2001
Location: Germany
Posts: 349
Thanks: 0
Thanked 0 Times in 0 Posts
LordCoven is on a distinguished road
File sharing from Linux

Hey there,

Well - as far as I know the two main options are NFS or Samba.

NFS is the main UNIX file sharing mechanism and runs over Sun's RPC service. Most Linux distros will have utils to help you set this up. If your's doesn't you can find *loads of FAQs and tutorials and HOW-TOs that can help you get this up and running. The points to be aware of with NFS is that some people consider it to be somewhat insecure (although this shouldn't be a problem if you've got your firewall set up correctly and only have the RPC service active on the intranet. I use it at home now and again and it works fine (was able to play MP3s served over NFS from my OS X box on my Linux machine, so now speed probs there )

Samba is the Open Source implementation of the M$ SMB protocol which is used to share resources across a network. OS X is pretty well equiped to handle SMB file sharing - you just use the Finder to connect to the remote machine like:
smb://<machine name>/<share name>
(note that it *is* important to specify the share name - won't work if you don't)
you will then be prompted for credentials etc. and voila. sorted.
I've never actually set up a Samba server on Linux - but here again I've been told that there are some security "peculiarities" involved ... like the password being sent unencrypted over the network (has this changed??) ... but again, if you set up your firewall correctly it won't be a problem.
Of course you also then have the advantage that *should* you ever want to connect a Windoze box to your network (if you need a good laugh or whatever) then you will be able to connect to your file server sans problem.

There may be other options (I believe that SuSE Linux supports AppleTalk to some degree - whether it can act as an AppleTalk server I've no idea, though.) but these are the two I'm familiar with. So far, I've always used NFS on the server myself and the Samba client in OS X at work where we (unfortunately) have some Windoze servers ... but both have worked fine.

Hope that's of some help.

Cheers,

C
__________________
------------------============------------------
(Alu)PowerBook 17", 1.67Ghz, 1.5Gb, 128Mb ATI
[clears throat] Ahem - SWEEEEEEEEET
IT'S SPANKING!
Reply With Quote
  #3  
Old August 20th, 2002, 05:32 AM
LordCoven's Avatar
Registered User
 
Join Date: Dec 2001
Location: Germany
Posts: 349
Thanks: 0
Thanked 0 Times in 0 Posts
LordCoven is on a distinguished road
DAMN IT

*must* remember not to use angled brackets in posts!!!!!!!!

The smb URL should be (sensa a.b.s):
smb://machine_name/share_name

Sorry.

C
__________________
------------------============------------------
(Alu)PowerBook 17", 1.67Ghz, 1.5Gb, 128Mb ATI
[clears throat] Ahem - SWEEEEEEEEET
IT'S SPANKING!
Reply With Quote
  #4  
Old August 20th, 2002, 05:35 AM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Thnx LordCoven, that'll give me something to chew on for a while. Once I get the damn PC working I'm gonna do some tests.
Reply With Quote
  #5  
Old August 20th, 2002, 07:02 AM
Registered User
 
Join Date: Dec 2000
Location: PA or MD, USA
Posts: 722
Thanks: 0
Thanked 0 Times in 0 Posts
theed is on a distinguished road
nfs as root

if you can set up nfs properly, that's the way to go. It's all sorts of fast, and you'll be able to do anything on that mounted linux volume that you could do on a local ata HD. Well, except format I should think. :-)

X.2 does resource forks over nfs in a filename faking manner, and I think it does the same over samba. So youll get a little bit of ._crap floating around, but it's mostly tolerable.

samba is meant for one user to connect over, and if you intend this space to be used by different accounts on the OS X box, nfs all the way. I just wish setting it up could be made more ... humane and user friendly.
__________________
- Beware the wrath of my apathy.
Reply With Quote
  #6  
Old August 20th, 2002, 07:49 AM
Fahrvergnuugen's Avatar
I am the law!
 
Join Date: Apr 2001
Location: Galway, NY
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Fahrvergnuugen is on a distinguished road
SAMBA can be installed via two packages [the server and the admin tool] which can be downloaded from versiontracker. I've never used NFS but samba has done the trick for me [though its not the fastest thing in the world]
__________________
-Paul Wieland______________
http://www.sickdimension.com
Dual G5 2.0Ghz / 2.5GB Ram / 620 GB HD / 23" CD
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A bit of nostalgia: A Salute to Mac OS X simX Apple News, Rumors & Discussion 31 March 24th, 2005 07:45 AM
HP Photosmart 1315 and USB Print Sharing zwheeloc Mac Classic System & Software 12 February 6th, 2003 09:20 PM
apps list Mac Osxtopus Mac OS X System & Mac Software 7 May 29th, 2002 12:31 PM
Apple: Forget XP, try the Mac tagliatelle Bob's Place 1 November 25th, 2001 07:12 AM
LINUX and The Mac (Pinky and the Brain?) xphile Apple News, Rumors & Discussion 4 September 5th, 2001 12:28 AM


All times are GMT -5. The time now is 07:53 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.