From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 05:59:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8335437B401 for ; Sun, 29 Jun 2003 05:59:10 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF0043FFB for ; Sun, 29 Jun 2003 05:59:08 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5TCwvLA022649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Jun 2003 13:59:02 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5TCwvKx022648; Sun, 29 Jun 2003 13:58:57 +0100 (BST) (envelope-from matthew) Date: Sun, 29 Jun 2003 13:58:57 +0100 From: Matthew Seaman To: Rod Person Message-ID: <20030629125857.GA22486@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Rod Person , "freebsd-questions@freebsd.org" References: <20030629082253.2bc0f6db.rod.person@hotpop.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <20030629082253.2bc0f6db.rod.person@hotpop.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: "freebsd-questions@freebsd.org" Subject: Re: NFS mount problem - can't get net id for host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 12:59:10 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > I try to connect to the share with the command > mount -v servername:/mountpoint /mnt >=20 > 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 --=20 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 --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+/uKRdtESqEQa7a0RAq6jAJ43zDTmryFHMxGRAu7pxdrBdEsIXQCfe5t4 XywDuaRtL5cUhsiq2qSodK8= =rIQT -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--