Problems with RPC ports for NFS
Posted: 18 Jun 2012, 02:58
Hi Guys,
I have started trying to configure my B3 to act as a boot server for my Raspberry Pi. However, I have run into some strange issues regarding the ports on the B3 after installing and configuring NFS.
Installing NFS orginally worked fine and I was able to connect, however after a B3 reboot last week, nothing I would do would enable my RPi to connect to it via NFS. Issuing 'rpcinfo -p B3' just hung until it timed out minutes later.
Lots and lots of Googling later I discovered that I had to allow the B3 to manually open the ports used for NFS.
So from my B3 I issued the command -
rpcinfo -p
and then after opened the associated ports with -
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 2049 -j ACCEPT
However, the ports do change after a B3 reboot or restart of nfs-server-common. Does anyone know why I need to do this and is there a permanant fix ??
I have started trying to configure my B3 to act as a boot server for my Raspberry Pi. However, I have run into some strange issues regarding the ports on the B3 after installing and configuring NFS.
Installing NFS orginally worked fine and I was able to connect, however after a B3 reboot last week, nothing I would do would enable my RPi to connect to it via NFS. Issuing 'rpcinfo -p B3' just hung until it timed out minutes later.
Lots and lots of Googling later I discovered that I had to allow the B3 to manually open the ports used for NFS.
So from my B3 I issued the command -
rpcinfo -p
and then after opened the associated ports with -
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 2049 -j ACCEPT
However, the ports do change after a B3 reboot or restart of nfs-server-common. Does anyone know why I need to do this and is there a permanant fix ??