I've followed every tutorial online slavishly (to the point of fricking up my system), tried every single difference, spent 3 days trying to get VirtualBox - bridged networking to function (installed, reinstalled virtualbox too many times, I can't compile the latest 4.0.8 version I get errors.. However I don't mind not having new version, currently running virtualbox 3.2.12 via pkg_add, with guestaddition installed).
But it refuses, I just don't understand what I'm missing:
I have script which sleep 1s, before running vboxnetadp.ko
On WIN7 which is the guess OS, it says "Connected to Unidentified network", but not connected to internet. However from WIN7 or freeBSD I can't ping each other, also WIN7 can't ping router (192.168.2.1), and in ipconfig it is assigned "Autoconfiguration IPv4: 169.254.36.8, with subnet 255.255.0.0. Which is obviously wrong and not connected to router.
/boot/loader.conf
/etc/rc.conf
And a script, which loads, vboxnetflt.ko & vboxnetadp.ko
/usr/local/etc/rc.d/vboxbridgeup.sh
In virtualbox, WIN7 settings, bridged adapter - re0 (which is wired), adapter type: Intel PRO/1000 MT desktop (82540EM)
- I tried changing to different adapters, networking still doesn't work to connect to router.. Also tried NAT, doesn't work either.
What am I doing wrong?
But it refuses, I just don't understand what I'm missing:
Code:
[FILE][B]kldstat[/B] [/FILE]
Id Refs Address Size Name
1 38 0xc0400000 bd97b4 kernel
2 1 0xc0fda000 1c260 snd_hda.ko
3 2 0xc0ff7000 56794 sound.ko
[B] 4 3 0xc104e000 2ec34 vboxdrv.ko[/B]
5 1 0xc72e4000 8000 linprocfs.ko
6 2 0xc72f3000 26000 linux.ko
7 1 0xc739d000 3000 linsysfs.ko
9 2 0xc73b9000 b000 netgraph.ko
10 1 0xc73cf000 4000 ng_ether.ko
12 1 0xc783d000 68000 radeon.ko
13 1 0xc78a5000 14000 drm.ko[B]
14 2 0xc7fe4000 5000 vboxnetflt.ko
15 1 0xc73b5000 3000 vboxnetadp.ko[/B]
On WIN7 which is the guess OS, it says "Connected to Unidentified network", but not connected to internet. However from WIN7 or freeBSD I can't ping each other, also WIN7 can't ping router (192.168.2.1), and in ipconfig it is assigned "Autoconfiguration IPv4: 169.254.36.8, with subnet 255.255.0.0. Which is obviously wrong and not connected to router.
/boot/loader.conf
Code:
..
vboxdrv_load="YES"
..
/etc/rc.conf
Code:
..
vboxnet_enable="YES"
..
And a script, which loads, vboxnetflt.ko & vboxnetadp.ko
/usr/local/etc/rc.d/vboxbridgeup.sh
Code:
#!/bin/sh
kldload /boot/modules/vboxnetflt.ko
sleep 1
kldload /boot/modules/vboxnetadp.ko
In virtualbox, WIN7 settings, bridged adapter - re0 (which is wired), adapter type: Intel PRO/1000 MT desktop (82540EM)
- I tried changing to different adapters, networking still doesn't work to connect to router.. Also tried NAT, doesn't work either.
What am I doing wrong?