FreeBSD development on Mac OS
mdf at FreeBSD.org
mdf at FreeBSD.org
Mon Nov 22 04:50:30 UTC 2010
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, <mdf at freebsd.org> wrote:
> On Sun, Nov 21, 2010 at 8:02 PM, Garrett Cooper <gcooper at freebsd.org> wrote:
>> On Sun, Nov 21, 2010 at 7:20 PM, Daniel O'Connor <doconnor at gsoft.com.au> wrote:
>>>
>>> On 22/11/2010, at 13:32, mdf at freebsd.org wrote:
>>>> My /etc/exports file on the Mac looks like:
>>>>
>>>> /data -maproot=mdf:admin -network 10.211.55.0 -mask 255.255.255.0
>>>>
>>>> as that's the IP range that parallels is using for its virtual machines.
>>>>
>>>> But when I try to mount from FreeBSD (as root) I get this error:
>>>>
>>>> RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak
>>>
>>> I just tried this on my MBP with parallels and it worked fine - I had maproot=0:0 though.
>>>
>>> Also, I mounted /Users - don't know if it makes a difference or if there is some other thing that needs tweaking first.
>>
>> In short, look at /var/log/messages on the Macbook to see what RPC
>> isn't happy with [1].
>> HTH,
>> -Garrett
>>
>> 1. http://www.freebsddiary.org/nfs.php
>
> maproot=0:0 gives me the same error.
>
> There is no /var/log/messages on the mac, or at least not on mine. A
> 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. A 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. I 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
>
More information about the freebsd-hackers
mailing list