Author Topic: (SOLVED) network sharing with NFS, please help  (Read 2034 times)

Bullitt

  • Guest
(SOLVED) network sharing with NFS, please help
« on: September 24, 2010, 02:59:20 PM »
I know, I know, it's just a matter of clicking this and clicking that, however, I have searched the forum and can not find a step by step how to for connecting two pclinuxos computers with NFS.  Could someone please point me in the right direction.  If Samba is the way to go, that's fine two.  I have been at this for at least a week maybe closer to two.  Please be gentle, I'm a moob but a persistent one.  :-\  Thanks for any help or direction.

Bullitt  

« Last Edit: September 25, 2010, 09:43:34 AM by Bullitt »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #1 on: September 24, 2010, 03:14:04 PM »
I will try .......  I use NFS only as I do not have Windows OS .......


Go to here on both machines:

PCLinuxOS Control Center  --  Network Sharing - Share Drives and directories using NFS

Set up your shares as required.

Then go to

Access Network Shared drives and directories

Do the Search Servers ........  it can take a considerable time to see anything reported back in the left pane.
There you should see the IP address for the machine you are on and the other machine.

Expand the other machine info.

Select the shared directory from the list

Set the mount point you wish to use, and then select Done.

Go back in and choose to Mount the share.

Repeat on the other machine.

One thing I have found necessary .......  even if you are not sharing out from one machine, you must nevertheless go into the section as if you were.
That is important, because it apparently loads the needed services.

The above is from memory, so I hope I touched all bases.   ;)


regards.

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #2 on: September 24, 2010, 03:42:37 PM »
So for each computer can only see itself.  :(  I am trying this over a wireless network, not sure if that is important.  I'm open for other suggestions.

Bullitt

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #3 on: September 24, 2010, 04:10:17 PM »
So for each computer can only see itself:(  I am trying this over a wireless network, not sure if that is important.  I'm open for other suggestions.

Bullitt

Not sure what you mean here ... do you mean that your PC cannot see the other on the network?

Are they on the same network segment .....  what are their IP addresses?

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #4 on: September 24, 2010, 04:25:33 PM »
So for each computer can only see itself:(  I am trying this over a wireless network, not sure if that is important.  I'm open for other suggestions.

Bullitt

Not sure what you mean here ... do you mean that your PC cannot see the other on the network?

Are they on the same network segment .....  what are their IP addresses?

Not sure what you mean by same network segment?  I don't see any IP address for either machine.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #5 on: September 24, 2010, 04:38:02 PM »
If you have network monitor running in the tray, hovering the mouse over it will give you the IP address of the PC.
If not then using a terminal and the command
ifconfig
you can get the IP address of the PC.

For example this is mine for my wired connection

Quote
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:3F:78:6D:64 
          inet addr:192.168.3.11  Bcast:192.168.3.255  Mask:255.255.255.0

If I wish to connect this PC to another then the other PC mush have an IP address which is very similar:-
192.168.3.xy ......  where xy can be any number from 1 to 254 or so ......  or maybe less depending on the router used.

regards.

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #6 on: September 24, 2010, 04:47:55 PM »
If you have network monitor running in the tray, hovering the mouse over it will give you the IP address of the PC.
If not then using a terminal and the command
ifconfig
you can get the IP address of the PC.

For example this is mine for my wired connection

Quote
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:3F:78:6D:64 
          inet addr:192.168.3.11  Bcast:192.168.3.255  Mask:255.255.255.0

If I wish to connect this PC to another then the other PC mush have an IP address which is very similar:-
192.168.3.xy ......  where xy can be any number from 1 to 254 or so ......  or maybe less depending on the router used.

regards.


My laptop IP address is: 192.168.1.108, the desktops IP address is: 192.168.1.101    Should I use these address when I set up NFS?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #7 on: September 24, 2010, 04:52:10 PM »
If you have network monitor running in the tray, hovering the mouse over it will give you the IP address of the PC.
If not then using a terminal and the command
ifconfig
you can get the IP address of the PC.

For example this is mine for my wired connection

Quote
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:3F:78:6D:64 
          inet addr:192.168.3.11  Bcast:192.168.3.255  Mask:255.255.255.0

If I wish to connect this PC to another then the other PC mush have an IP address which is very similar:-
192.168.3.xy ......  where xy can be any number from 1 to 254 or so ......  or maybe less depending on the router used.

regards.


My laptop IP address is: 192.168.1.108, the desktops IP address is: 192.168.1.101    Should I use these address when I set up NFS?


If you set up shares on the two PCs as described above, then going into the Access shares afterwards should show, after you Search Servers, those IP addresses in the left pane.

From .108 you set up to access the shares on .101 and vice versa.

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #8 on: September 24, 2010, 04:58:29 PM »
You mention to set up shares as discribed above.  I think I did it correctly, however, it would be helpful to see and example.  Could you share with me how you setup you shares?

Thanks, Bullitt

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #9 on: September 24, 2010, 05:10:01 PM »
You mention to set up shares as discribed above.  I think I did it correctly, however, it would be helpful to see and example.  Could you share with me how you setup you shares?

Thanks, Bullitt

By going into the PCLOS Control Center and using the section there for setting up the directory I wish to share on the network for the first PC.
Then I do the same for the second PC.

Then while on the second PC I set up Access to the shares available from the first PC.
WHen done, go to the first PC, and se up to access the shares now available from the second PC.

Can you try that and report back what happens at each of the four stages?

Be sure, when attempting to Access shares that you give a long time to the Search Servers part. It can take a considerable time for it to report back.


Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #10 on: September 24, 2010, 06:01:16 PM »
You mention to set up shares as discribed above.  I think I did it correctly, however, it would be helpful to see and example.  Could you share with me how you setup you shares?

Thanks, Bullitt

By going into the PCLOS Control Center and using the section there for setting up the directory I wish to share on the network for the first PC.
Then I do the same for the second PC.

Then while on the second PC I set up Access to the shares available from the first PC.
WHen done, go to the first PC, and se up to access the shares now available from the second PC.

Can you try that and report back what happens at each of the four stages?

Be sure, when attempting to Access shares that you give a long time to the Search Servers part. It can take a considerable time for it to report back.



Okay, I think I did that but I will certainly walk through it again.  One question, do you change any of the setting once you set the directory you want to share for example the Host Address or the User ID mapping?  Okay, maybe more then one question, should I delete the NFS config file and start over?  (not sure where I would even find this to delete it).  I will post back what I do for each step.

Thanks again for all your help

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #11 on: September 24, 2010, 06:23:17 PM »
Okay, here is what I did,  on the laptop I opened "share drive and directories using NFS", set the directory to /home/cliff/Documents/, host wild card: *, General options: no_all_squash,async, secure,no_subtree_check,ro.  I clicked OK.

I then went to the desktop computer, opened "share drive and directories using NFS, set the directory to /home/jan/Documents/, the rest of the setting are the same as the laptop.  Then I opened "access NFS shared drives and directories"  clicked on Search for Servers, waited for a bit of time.  The only computer that showed up was the desktop computer, no IP address.  I opened the the computer and it showed the /home/jan/Documents/ directory.

I then went to the laptop and did the Search for Server, this time it showed linux-2 with the directory point to that on the laptop /home/cliff/Documents/.

One interesting thing is that the desktop Search for Server was found as linux, and the laptop lsearch for server was found as linux-2.  Not sure if that is meaningful. 

Neither showed the other computer, again, only showing itself.

Thanks again for you help.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: network sharing with NFS, please help
« Reply #12 on: September 24, 2010, 06:28:35 PM »
Try rebooting the machines so that the necessary services get started at boot.

I am going off line to sleep .....  1.30am

Will check back tomorrow to see if you had any success.

regards.

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #13 on: September 24, 2010, 06:36:19 PM »
Try rebooting the machines so that the necessary services get started at boot.

I am going off line to sleep .....  1.30am

Will check back tomorrow to see if you had any success.

regards.

Will do, I'll keep my finger crossed.  Thanks for your help this evening.

Bullitt

  • Guest
Re: network sharing with NFS, please help
« Reply #14 on: September 25, 2010, 06:51:11 AM »
No luck.  I really think I need to clean out the NFS network config file.  However, I'm not sure which one it is, I think it fstab.  Any thoughts on that?