Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am a student at rosalind franklin university for medicine and science. i am a first year with not very much linux experience and we are adding computers to our neuroimaging lab. we are haveing problem adding two new computers to a network file sharing(nfs) on a linux network. one is on red hat 9, the other is an imac running os10.3.9
the other computers are running red hat or fedora core and are working properly. we have properly configured host table and fstab file on both client and host. we know the network is working properly because ssh allows access to the host. we however, have no access to any of the data through nfs.
Most likely you need to open up port 111 in the firewall.
Interesting ports on hpmedia.jesnet (192.168.1.101):
Code:
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
2049/tcp open nfs
Ports 111 and 2049 needs to be open on the nfs server. Port 111 needs to be open on the client.
Also check the /etc/exports file on the server. If it lists each host individually, you need to add the ip address of each client. Mine allows connections from the subnet. I've had better luck using <net address>/<netmask>.
Most likely you need to open up port 111 in the firewall.
Interesting ports on hpmedia.jesnet (192.168.1.101):
Code:
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
2049/tcp open nfs
Ports 111 and 2049 needs to be open on the nfs server. Port 111 needs to be open on the client.
Where do I find the iptables file on a mac and linux? I tried opening these 2 ports on the server (nc -l portnumber), but it said they were already in use. When I run these commands on the clients, it just hangs.
Also check the /etc/exports file on the server. If it lists each host individually, you need to add the ip address of each client. Mine allows connections from the subnet. I've had better luck using <net address>/<netmask>.
If the /etc/exports file uses a netgroup (e.g. @labgroup), make sure that the new computers are members of the netgroup.[/QUOTE]
I tried your suggestion of using the ipaddress/netmask, but it doesn't work. For the other three machines, I am just using the names of the machines, and it has always worked fine for them.
Here is my exports file, by the way:
/home pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
/share/brains2 pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
/share/afni pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
/usr/local/brains2 pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
/usr/local/matlab74_sv pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
/usr/local/mricro pigpen(rw,sync,nohide) 192.168.43.44/255.255.255.0(rw,sync,nohide) lucy(rw,sync,nohide)
homer(rw,sync,nohide) 192.168.43.46/255.255.255.0(rw,sync,nohide)
Red Hat 9 is pretty old so not sure is the issue is that simple but iptables is just iptables on the command line "iptables -nvL" will show the currently rules. As for a Mac, I didn't think Macs came with firewalls on by default, I have a Mac and never touched any firewalling on it really...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.