NFS mount problem - can't get net id for host

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jun 29 05:59:10 PDT 2003


On Sun, Jun 29, 2003 at 08:22:53AM -0400, Rod Person wrote:
> I'm trying to setup a nfs share on my server. I'm trying to connect from
> a laptop to that share. The laptops ip address is assigned via dhcp.
> 
> I try to connect to the share with the command
> mount -v servername:/mountpoint /mnt
> 
> and get the error: nfs: can't get net id for host

This error occurs when mount_nfs(8) has attempted to look up your
server's hostname and resolve it into one or more IP numbers first via
inet_addr(3) and failing that then via gethostbyname(3), and still
hasn't managed to get an IP number.

Try putting the hostname and IP number of your server into /etc/hosts
on your client machine, or configure your client machine to use a DNS
machine that knows about your server.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030629/720f2eb9/attachment.bin


More information about the freebsd-questions mailing list