hosts file

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
locutus
Level 4
Level 4
Posts: 403
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada

hosts file

Post by locutus » Sun Sep 14, 2008 12:51 am

I gave up networking via samba & smb4k. Now I'm trying it with NFS. I have the hosts.allow & hosts.deny set up but I'm getting a "No remote programs registered" error from the client. One of the possible reasons I''ve googled up is to check the hosts file on the server, and all that's in it is:
127.0.0.1 localhost
127.0.1.1 doug-desktop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Is it missing something or is that all it's supposed to say?
- -
The instructions I've been following are from here:
http://nfs.sourceforge.net/nfs-howto/
sections 3 & 4.

And also do I need the IPv6 lines listed above?

Thanks.

User avatar
900i
Level 6
Level 6
Posts: 1073
Joined: Sat Nov 18, 2006 9:30 am
Location: Wakefield, UK

Re: hosts file

Post by 900i » Sun Sep 14, 2008 12:47 pm

Core i7 Linux Mint 18.3/Windows 10

lanrun
Level 3
Level 3
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: hosts file

Post by lanrun » Sun Sep 14, 2008 3:12 pm

Hi

I have used the tool "Shared Folders" found in Mint Control centre to configure NFS shares on my home network. It is easy to use and, this works for me.
Be sure to have following packages installed:
nfs-common, nfs-kernel-server and portmap.

regards
Rune

locutus
Level 4
Level 4
Posts: 403
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada

Was: Re: hosts file, Now NFS NetWorking

Post by locutus » Mon Sep 15, 2008 11:58 am

Yep, that worked nicely. Thank you.

My desktop now has unfettered access to my laptop, but I'm having trouble giving my laptop access to my desktop. So I'm wondering, can either computer act as both host and client? Or just one at a time? If so, that would explain it. Otherwise I'll keep tinkering

lanrun
Level 3
Level 3
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: hosts file

Post by lanrun » Tue Sep 16, 2008 5:00 am

Hi
Either computer can act as both host and client at the same time. At least it works for me between a Mint desktop and a Mandriva desktop.

Rune

Post Reply

Return to “Newbie Questions”