[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with setting up home network



Andrew Sackville-West wrote:
On Sat, May 05, 2007 at 03:24:31PM -0700, Kenward Vaughan wrote:
On Sat, 2007-05-05 at 10:56 -0700, Andrew Sackville-West wrote:
On Sat, May 05, 2007 at 10:47:54AM -0400, Eric A. Bonney wrote:
Can anyone point me to some docs that would help me configure my home network? I have one machine that is setup as a file/web/mail server and then I want to access it from my laptops and desktops. These machines are a mixture of XP and Debian machines. Currently I am most intrested in getting access to the server from the debian machines first. I have tried using Samba and NFS, but I am having difficulty getting write access to the drives. I can get read access to them and I can copy stuff from the drives, but I can not get write access to the drives from the laptops etc.

NFS should be dead simple to get working. Have you allowed write
access in /etc/exports on the server?
what are the perms on the network shares on the server?
what are the perms on the mount points on the client?
how are you mounting the shares on the client?

these four things need to match up to make it work.
A
IIRC, the users/UID's need to match on NFS as well, unless there is some
way to surmount it (likely lowering the security level as a
consequence?).


you mean from one machine to the next, the users with the same name
must have the same UID? I think you're right, or you can allow write
access to others, which is what I do on my home lan. probably not the
greatest idea, but it is just music and photos.
A
First I am really new with Linux. I have only been running it on my laptop for a couple of weeks and I just decided to setup one of my desktops as a server and one other desktop with Linux. So to answer some of the other questions, I don't know how the shares are mounted. I am unsure how to set the perms on the mount points. Now all of a sudden I can't even get my server to allow me into the Desktop->Admin->Shared folders. When I click on it, it just hangs there. I think I am going to do a clean install again on the server later this evening and then try to setup the shares.

On the directories themselves I have given everyone read, write and access authority. I am sure this isn't the best method but it is only on my home network server that is behind a firewall. I did install the debian docs and looked in there but Chapter 10 was really all about setting up a network for internet/mail/web access. That is already done and working just fine. I originally had shares working with Samba, but all I could do is read the drive and not write to them. I think if I could get the shares working again it would be ok as at that time I didn't have write access given to others.

I don't mind reading and actually prefer it as this way I learn more. It's great to be given direct steps on how to do something, but then it doesn't stick in ones mind as well as if you research it yourself. :D

Thanks,
-Eric



Reply to: