Closed crutchcorn closed 9 years ago
VBoxManage list bridgedifs Is what we're looking for trying to find possible networks to link the bridge of the guestos to. I am thinking this grepping this + using a simple bash script to essentially scan them and detect which one is actually connected to the internet might actually do the trick.
Example Output: vboxmanage list bridgedifs Name: wlan0 GUID: 00000000-0000-0000-0000-000000000000 DHCP: Disabled IPAddress: 000.000.0.00 NetworkMask: 000.000.000.0 IPV6Address: 0000:0000:0000:0000:0000:0000:0000:0000 IPV6NetworkMaskPrefixLength: 00 HardwareAddress: 00:00:00:00:00:00 MediumType: Ethernet Status: Up VBoxNetworkName: HostInterfaceNetworking-wlan0
Name: eth2 GUID: 00000000-0000-0000-0000-000000000000 DHCP: Disabled IPAddress: 00.00.0.0 NetworkMask: 000.000.000.0 IPV6Address: 0000:0000:0000:0000:0000:0000:0000:0000 IPV6NetworkMaskPrefixLength: 00 HardwareAddress: 00:00:00:00:00:00 MediumType: Ethernet Status: Up VBoxNetworkName: HostInterfaceNetworking-eth2 (something to note. At this time, I am using both my eth2 and my wlan0 at the same time. If I stop using Ethernet... Will the status change to "down"? If so, our jobs got a lot easier and we only have to grep, not use some strange script to see which to default to)
Bust on that up down theory. Will always say up.
Pushed fix! Have a kludge in the fix so I will keep working on it, but have to stop because of deadlines
This currently works for HCCTS. Will improve for general usage later. Hopefully by Beta 5 or Release
Fixed
VirtualBox OVAs with Bridged Networking does not work, due to different network card in host machine.