Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2009 12:35:05 +0200
From:      Fredrik Lindberg <fli@shapeshifter.se>
To:        freebsd-emulation@freebsd.org, vbox-dev@virtualbox.org
Subject:   VirtualBox network patches for FreeBSD (vboxnetflt + vboxnetadp)
Message-ID:  <4AA784D9.80405@shapeshifter.se>

next in thread | raw e-mail | index | archive | help
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



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