I'm using vb for a year now on gentoo amd64 host (2.6.27-gentoo-r8)
the following result is the same for all my guest systems (freebsd 7.1, ubuntu 8.10, xp sp3, windows 7)
I use this script to set tapx interfaces up :
Code: Select all
#!/bin/bash
# programme de demarrage du bridge pour virtualbox
if [[ $1 == 'up' ]]; then
echo "switching tapX up";
sysctl net.ipv4.ip_forward=1
VBoxTunctl -b -u pierre
VBoxTunctl -b -u pierre
VBoxTunctl -b -u pierre
VBoxTunctl -b -u pierre
ifconfig tap0 up 192.168.2.1
ifconfig tap1 up 192.168.3.1
ifconfig tap2 up 192.168.4.1
ifconfig tap3 up 192.168.5.1
route add -net 192.168.2.0 netmask 255.255.255.0 dev tap0
route add -net 192.168.3.0 netmask 255.255.255.0 dev tap1
route add -net 192.168.4.0 netmask 255.255.255.0 dev tap2
route add -net 192.168.5.0 netmask 255.255.255.0 dev tap3
/usr/sbin/parprouted wlan0 tap0
/usr/sbin/parprouted wlan0 tap1
/usr/sbin/parprouted wlan0 tap2
/usr/sbin/parprouted wlan0 tap3
echo "up";
else
echo "switching tapX down";
ifconfig tap0 down
ifconfig tap1 down
ifconfig tap2 down
ifconfig tap3 down
VBoxTunctl -d tap0
VBoxTunctl -d tap1
VBoxTunctl -d tap2
VBoxTunctl -d tap3
# sysctl net.ipv4.ip_forward=0
pkill parprouted
echo 'down';
fi
Code: Select all
vboxusers:!:1008:pierre
tuntap:!:1009:pierre
vbox module is mount and gives :
Code: Select all
vboxdrv: Trying to deactivate the NMI watchdog permanently...
vboxdrv: Successfully done.
vboxdrv: Found 2 processor cores.
VBoxDrv: dbg - g_abExecMemory=ffffffffa052aae0
vboxdrv: fAsync=1 offMin=0xdb2d81 offMax=0xdb2d81
vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
vboxdrv: Successfully loaded version 2.1.4 (interface 0x000a0009).and everything was working so well until I update to 2.1.4.
now it says :
Code: Select all
Failed to open/create the internal network 'HostInterfaceNetworking-tap1' (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Unknown error creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Code de résultat :
NS_ERROR_FAILURE (0x80004005)
Composant :
Console
Interface :
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
what have I done wrong..?
pierre