Daniel Dalton wrote:
Hi, I'm having problems with nfs, so was just wondering: 1. Is samba better than nfs? 2. Does anyone know of a good samba howto? 3. Unfortunately people on my network still use windows, I dunno why, but what settings should I have in place for it to work with win? Or, should I use nfs? If so, it seems I must restart nfs-common and nfs-kernel-server using init.d on every boot otherwise I get mount.nfs access denied on server when trying to connect with the client... Anyone know why this could be? I have iptables setup, but allowed all ports the debian wiki howto on nfs and static ports said too... Or is samba just easier? And how do I make samba use static ports if I choose to use it? Thanks for any help,
You could conceivably have both samba and NFS support at the same time. Samba may be a bit better for a small network with Windows machines. There exists a lot of support for it, and configuration is pretty painless in my experience. NFS is workable.
You probably could edit the boot init scripts to get NFS working. I would have thought that they got edited during installation. Did you install NFS support from the Debian package(s)? Also, is full support in the kernel? Are you using a standard kernel image, or did you roll your own? Maybe a module is not loading; another boot issue there.
I only ever bothered with the various GUIs to configure Samba. I expect that using static IPs is a matter of running the proper GUI network config program. I'm sure you can edit a config file somewhere in /etc if you want, but there is probably no need. Someone else will have to help you with a more specific the answer to this question. (I think Samba knows about iptables doesn't it?)
Mark Allums