jerbear
03-01-2004, 07:19 PM
I have 2 linux computers on a primarily Windows domain. The first one is a desktop running Red Hat 8 (kitten) and the second is a laptop with Mandrake 9.2 (3dqrd41). Both seem to be working fine and can see the network, the internet, Windows computers on the network, etc... I have a folder (/home/sharedata) on kitten that is shared to the Windows computers through Samba (no problems there). I have been trying to set up the folder as an nfs share as well so that it can be mounted on 3dqrd41.
I've used the nfs server configuration tool to set it up as a r/w share for any host (temporarily anyway - I'll restrict it if I can actually get it working!). /etc/exports now has the following line:
/home/sharedata/ *(rw,async)
Now I go to the other computer and try to set up the share. Since I want the folder mounted on boot, I have the following in /etc/fstab:
kitten.creol.ucf.edu:/home/sharedata /home/kittendata nfs ro,hard,intr 0 0
The nfs service is running on both machines, but when I try to do "mount /home/kittendata" I get an error that it failed with "reason given by server: Permission denied" /etc/hosts.allow and /etc/hosts.deny are empty on both machines. I began to wonder if there was a deeper network problem.
3dqrd41 can use smbclient and mount shares from windows computers and can even mount kitten's samba share (though that route seem a bit kludgy and I haven't had a lot of luck setting the permissions the way I want them - though I haven't spent much time on it). Also, 3dqrd41 can ping kitten without any problem. Essentially, the laptop seems to be configured properly as far as I can tell. I would have said the same about kitten prior to today (I've only had the laptop a few days now and am just getting through the network configuring). It can connect to the internet and all the windows computers as I would expect. However, when I try to "ping 3dqrd41" it immediately comes back with "unknown host 3dqrd41". I can, however, ping the ip address and get no trouble at all. I have also gone to Windows computers in the office, and they can ping both kitten and 3dqrd41 without difficulty.
I tried adding 3dqrd41 to the /etc/hosts file on kitten along with its current ip address. When I do this the laptop can mount the share. However, I'm hesitant to use this as more than a very short-term solution since we have DHCP on the network and a laptop is somewhat likely to end up with a different ip address.
/etc/resolv.conf on kitten includes the following:
search creol.ucf.edu CREOL
nameserver 132.170.160.11
nameserver 132.170.160.12
nameserver 132.170.240.15
/etc/resolv.conf on 3dqrd41 is nearly identical except that it has "local" in place of "CREOL" and has an extra line "nameserver 127.0.0.1".
Any thoughts on what the problem might be?
Thanks,
JB
I've used the nfs server configuration tool to set it up as a r/w share for any host (temporarily anyway - I'll restrict it if I can actually get it working!). /etc/exports now has the following line:
/home/sharedata/ *(rw,async)
Now I go to the other computer and try to set up the share. Since I want the folder mounted on boot, I have the following in /etc/fstab:
kitten.creol.ucf.edu:/home/sharedata /home/kittendata nfs ro,hard,intr 0 0
The nfs service is running on both machines, but when I try to do "mount /home/kittendata" I get an error that it failed with "reason given by server: Permission denied" /etc/hosts.allow and /etc/hosts.deny are empty on both machines. I began to wonder if there was a deeper network problem.
3dqrd41 can use smbclient and mount shares from windows computers and can even mount kitten's samba share (though that route seem a bit kludgy and I haven't had a lot of luck setting the permissions the way I want them - though I haven't spent much time on it). Also, 3dqrd41 can ping kitten without any problem. Essentially, the laptop seems to be configured properly as far as I can tell. I would have said the same about kitten prior to today (I've only had the laptop a few days now and am just getting through the network configuring). It can connect to the internet and all the windows computers as I would expect. However, when I try to "ping 3dqrd41" it immediately comes back with "unknown host 3dqrd41". I can, however, ping the ip address and get no trouble at all. I have also gone to Windows computers in the office, and they can ping both kitten and 3dqrd41 without difficulty.
I tried adding 3dqrd41 to the /etc/hosts file on kitten along with its current ip address. When I do this the laptop can mount the share. However, I'm hesitant to use this as more than a very short-term solution since we have DHCP on the network and a laptop is somewhat likely to end up with a different ip address.
/etc/resolv.conf on kitten includes the following:
search creol.ucf.edu CREOL
nameserver 132.170.160.11
nameserver 132.170.160.12
nameserver 132.170.240.15
/etc/resolv.conf on 3dqrd41 is nearly identical except that it has "local" in place of "CREOL" and has an extra line "nameserver 127.0.0.1".
Any thoughts on what the problem might be?
Thanks,
JB