Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux file server and osx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
krunk
Guru
Guru


Joined: 27 Jul 2003
Posts: 316

PostPosted: Sat Sep 25, 2004 11:48 pm    Post subject: Linux file server and osx Reply with quote

I've been having problems with sharing files from my gentoo server to osx. Here's the short of it:

1. NFS: dynamic port assignment makes coordinating with iptable firewall a headache (I've read ever NFS port binding howto on these forums and google and the ports still don't bind as they should)

2. Apple file share: Tried this and just got segfaults.

What I want:

I want a network file sharing protocol that supports file permissions, is network transparant, stable, and has decent failure recovery....no lost data if a connection kicks out, and that allows full control over operational ports (or at least uses static ones themselves).


Thanks in advance

-james
_________________
G4 1ghz iBook
PowerMac G3 (B&W) [Powered by Gentoo and Gentoo alone :)]

Dual G5
iPod 3rd generation
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Sun Sep 26, 2004 3:39 am    Post subject: Reply with quote

The one time I tried playing around with networking my home iMac to my home Gentoo box, I had a problem with AFS in that the uid's didn't quite match up. I don't remember the details, but when I set up my username on both my iMac and my Gentoo box, the iMac gave me a uid of 1000, while the Gentoo box gave me a uid of 1001, or something along those lines.

The other thing I remember is that for some reason AFS was prety sensititve to which kernel I was using, so you may want to play around with that.

I was able to get AFS working, but it was so slow for me that I got rid of it and just used ftp to transfer files between my two machines.

Unfortunately, networking is a bit of a weak point for me, so I don't think I'll be much help beyond this.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
krunk
Guru
Guru


Joined: 27 Jul 2003
Posts: 316

PostPosted: Sun Sep 26, 2004 5:05 pm    Post subject: Reply with quote

I'm sorry, by AFS are you referring to apple file sharing or to the Andrew File Sharing? I may be showing my ignorance if they are one in the same, but I am pretty sure they are two distinct protocols.
_________________
G4 1ghz iBook
PowerMac G3 (B&W) [Powered by Gentoo and Gentoo alone :)]

Dual G5
iPod 3rd generation
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Mon Sep 27, 2004 2:14 am    Post subject: Reply with quote

I was referring to Apple File Sharing. Dang acronyms. :oops: And they are completely separate protocols.

I forgot to mention that the other way I dealt with connecting my iMac with my Gentoo box was to enable Samba on the Gentoo box and Windows file sharing on OS X, but then it looks like you lose a lot of the file permissions stuff.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
krunk
Guru
Guru


Joined: 27 Jul 2003
Posts: 316

PostPosted: Mon Sep 27, 2004 2:56 am    Post subject: Reply with quote

You lose file permisisons, transparancy, and face considering your on a totally *nix network. :D
_________________
G4 1ghz iBook
PowerMac G3 (B&W) [Powered by Gentoo and Gentoo alone :)]

Dual G5
iPod 3rd generation
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Mon Sep 27, 2004 10:44 pm    Post subject: Reply with quote

I run an nfs server on my gentoo machine, and use os x as an nfs client. works fine on both my ibook and my wife's ibook. we each mount 3 or 4 different nfs volumes.

First I made sure that all users and groups matched up on the two ibooks and the linux machine.

do you need detailed information on how to set up the OS X machine to mount the share? I'll dig it out, or reproduce it if necessary.

for the linux (nfs server) side, just be sure you use a 2.6 kernel. there were some issues for a while with certain 2.4 kernel versions' nfs server and OS X, but the fixes have been merged into 2.6 (and are actually probably in the most recent 2.4 kernels too, I just haven't checked)
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Mon Sep 27, 2004 10:47 pm    Post subject: Reply with quote

I see, you're trying to run nfs through a firewall. I simply have a firewall machine between me and the internet, and my nfs server doesn't have a firewall. so I may not be much help after all.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
krunk
Guru
Guru


Joined: 27 Jul 2003
Posts: 316

PostPosted: Tue Sep 28, 2004 4:50 am    Post subject: Reply with quote

Yes, you must allow all traffic behind the firewall. I only allow certain services to be active behind my firewall. This is why I needed to bind the NFS ports. I guess I could free up a "range" of ports if sunrpc et al always grabs from a certain range.......


/me goes to google.
_________________
G4 1ghz iBook
PowerMac G3 (B&W) [Powered by Gentoo and Gentoo alone :)]

Dual G5
iPod 3rd generation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum