From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 22 04:50:30 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C12AC106564A; Mon, 22 Nov 2010 04:50:30 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7646F8FC1B; Mon, 22 Nov 2010 04:50:30 +0000 (UTC) Received: by iwn39 with SMTP id 39so8075544iwn.13 for ; Sun, 21 Nov 2010 20:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=SA55xnV0/DQCyMd0ABIy3X4nUwE6IvmXrosBX5n/TI4=; b=WxO+vU4YhWE4PxxUt33GkXBeWR/sl6au35mfaO4WbPvjt3C5gNtvefDbmBu6FxgaoY S6OO7rXMlJERw01ewcwoUfbgtDvHRM1F6h/sSZUmPrg2Lex+E9QLu9of+gPPy5MaqqIh /RueMw9k8eNP0lPXGQNPMrCbG47H3J067AxVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=WEUzOa6lhSzUBI3pUudf01jS1539t5oJ72OyJdiBsfepUodbIRA/1vvOj1g8+x+cEK UHIIWHY5y7ewQA5vvdMCAEhJqoNbJ2gO3fD3J77sMoJUZl/SkPB7wXUivBGGOK1qSsQm D60Uk3SEWphOHeFPNeYlzHJ1/dgk7iSz7DVws= MIME-Version: 1.0 Received: by 10.231.11.9 with SMTP id r9mr6407752ibr.47.1290401428469; Sun, 21 Nov 2010 20:50:28 -0800 (PST) Sender: mdf356@gmail.com Received: by 10.231.21.35 with HTTP; Sun, 21 Nov 2010 20:50:28 -0800 (PST) In-Reply-To: References: <733F67DF-6392-4F2E-9249-627F2F355F2A@gsoft.com.au> Date: Sun, 21 Nov 2010 20:50:28 -0800 X-Google-Sender-Auth: iq5J7sbJxxwKrELs3g85XnDJEbk Message-ID: From: mdf@FreeBSD.org To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers Subject: Re: FreeBSD development on Mac OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 04:50:30 -0000 Solved! The default setup for Parallels was a Shared network. I didn't see any way to change this in the Parallels machine configuration, but there was another menu I had missed where the network was configurable. Changing the network to bridged, ifconfig em0 down; dhclient em0 and now mounting works! Thanks, matthew On Sun, Nov 21, 2010 at 8:44 PM, wrote: > On Sun, Nov 21, 2010 at 8:02 PM, Garrett Cooper wro= te: >> On Sun, Nov 21, 2010 at 7:20 PM, Daniel O'Connor = wrote: >>> >>> On 22/11/2010, at 13:32, mdf@freebsd.org wrote: >>>> My /etc/exports file on the Mac looks like: >>>> >>>> /data =A0 -maproot=3Dmdf:admin =A0 =A0 =A0-network 10.211.55.0 =A0 =A0= -mask 255.255.255.0 >>>> >>>> as that's the IP range that parallels is using for its virtual machine= s. >>>> >>>> But when I try to mount from FreeBSD (as root) I get this error: >>>> >>>> RPCPROG_MNT: RPC: Authentication error; why =3D Client credential too = weak >>> >>> I just tried this on my MBP with parallels and it worked fine - I had m= aproot=3D0:0 though. >>> >>> Also, I mounted /Users - don't know if it makes a difference or if ther= e is some other thing that needs tweaking first. >> >> =A0 =A0In short, look at /var/log/messages on the Macbook to see what RP= C >> isn't happy with [1]. >> HTH, >> -Garrett >> >> 1. http://www.freebsddiary.org/nfs.php > > maproot=3D0:0 gives me the same error. > > There is no /var/log/messages on the mac, or at least not on mine. =A0A > grep for things like "credential" shows no hits anywhere in /var/log; > a grep for mountd in /var/log/*.log only has hits in > launchd-shutdown.log. =A0A grep for nfsd in /var/log/*.log doesn't > *seem* to have anything useful, just a few in appfirewall.log about > nfsd listening on various ports. > > Even with the firewall off I get the same "Client credential too weak" > error. =A0I get the same error when I change /etc/exports on the Mac and > /etc/fstab on the FreeBSD VM to /Users/mdf. > > So... I'm pretty stumped. > > Thanks, > matthew >