Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2010 15:55:25 -0500
From:      Charles Owens <cowens@greatbaysoftware.com>
To:        freebsd-net@freebsd.org
Subject:   Re: libnet_get_hwaddr() failing with FreeBSD 8
Message-ID:  <4B69E2BD.1010906@greatbaysoftware.com>
In-Reply-To: <4B679AED.9040308@greatbaysoftware.com>
References:  <4B679AED.9040308@greatbaysoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Owens wrote:
> Hello,
>
> I'm working with some code (snippet below) that fails with
> libnet_get_hwaddr() function (it returns false).  The code works fine
> under 7.x but not with 8.0 .
>
> Any thoughts as to what might be going on?
>   

Issue solved.  I had been building the libnet port within a jail... and
if it can't find /dev/bpf0 then it compiles in dummy code for a number
of functions.  Building libnet in a non-jail setting is fine.  The final
solution for us was to tweak devfs in the jail so /dev/bpf0 _is_ present.

 Charles Owens
 Great Bay Software, Inc.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B69E2BD.1010906>