[linux-help] Re: Linux on Network
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thanks, Matt. Didn't get it yet.
Matt Campbell wrote:
> Have you tried the Network File System (NFS)? Under that system
> you run an NFS server on the server machine and write a configuration
> file called /etc/exports that lists which parts of the file system
> can be accessed remotely, which machines have access, and what
> level of access they have. I don't remember the format, but you
> can look at the exports(5) man page.
I set up /etc/exports according to the man page and ran exportfs. This
puts the information from /etc/exports in /var/lib/nfs/xtab and puts
something similar into /var/lib/nfs/etab. (The man page says the
/etc/export file will utilize IP address/mask, but nothing gets moved
into xtab using this.)
> Then on your other Linux machine, you mount directory trees on the
> server like this:
>
> mount -t nfs server:/dir /mnt/point
I made a file /mnt/smb on both server and host and ran:
mount -t nfs sam:/home/test /mnt/smb got back:
mount: RPC: Unable to receive; errno = connection refused
Got the same thing with sam:/home/bruce, sam:/home/fred,
192.168.128.12:/home/test, and other combinations. Always the same
result. Tried chmod 777 on some of the files - no help. Read some of
the /usr/doc/nfs-utils documents and got the impression that nfs is not
ready for prime time. Went thru the nfs-howto and decided RH6.2 may not
have a working version of nfs.
> Note that users on the two machines are assumed to have the same
> UID's and GID's.
The mount must be done as root, so this is not a factor until after you
get mounted.
> There may also be a way to access a Samba or other SMB server
> remotely from Linux, but I don't know how.
I tried that next.
Thanks again,
bruce
--
Actually, it's quite difficult to persuade people
that you are bombing them for their own good.
---Molly Ivins
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|