VirtualBox network patches for FreeBSD (vboxnetflt + vboxnetadp)

Marin Atanasov dnaeon at gmail.com
Sun Sep 13 05:45:06 UTC 2009


Hi,

Yesterday I did an upgrade of the Virtualbox port from 3.0.51.r22226 to
3.0.51.r22683.

However I tried changing the network settings to Bridge mode and Host only
networking, but that doesn't seem to work for me.

Are Fredrik's patches included in the latest port of Virtualbox or I still
need to apply them manually?
Also one more question about the patches - are they supposed to create the
bridge interfaces automatically or I need to create them manually first
before using them?

Regards,
Marin

On Wed, Sep 9, 2009 at 1:35 PM, Fredrik Lindberg <fli at shapeshifter.se>wrote:

> Hi
>
> These patches implement bridge and host only networking on FreeBSD, they
> have been tested on FreeBSD 7 and 8 by a few different people. The only
> known issue is that they might not work with wireless cards. At least
> it didn't work on my iwi-backed wlan0 interface on FreeBSD 8.
>
> The patches are split into different files for easier overview
>
>
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-netif-20090908.patch
>
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetadp-20090908.patch
>
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetflt-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-20090908.patch
>
> http://www.shapeshifter.se/pub/patches/virtualbox/src-VBox-HostDrivers-Makefile.kmk-20090908.patch
>
> Original code is under the MIT license, patches to Makefiles, etc are
> under whatever license you want (I don't claim any copyright over
> these).
>
>
> People running FreeBSD and want to test this with the vbox version
> 3.0.51.r22226 that currently is in the ports tree needs the following
> additional patches.
>
>
> http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-r22226-20090908.patch
>
> http://www.shapeshifter.se/pub/patches/virtualbox/virtualbox-port-20090907.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/ConsoleImpl2.cpp.patch
>
> Apply/compile with
> cd /usr/ports/emulators/virtualbox
> make clean patch
> mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd
> mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetAdp/freebsd
> patch < virtualbox-port-20090907.patch
> patch -d work/virtualbox-3.0.51r22226/Config.kmk-r22226-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/ConsoleImpl2.cpp.patch
> patch -d
> work/virtualbox-3.0.51r22226/src-VBox-HostDrivers-Makefile.kmk-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-netif-20090908.patch
> patch -d
> work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetadp-20090908.patch
> patch -d
> work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetflt-20090908.patch
> make install
>
>
> Fredrik
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "
> freebsd-emulation-unsubscribe at freebsd.org"
>



-- 
Marin Atanasov
dnaeon AT gmail DOT com
daemon AT unix-heaven DOT org


More information about the freebsd-emulation mailing list