VirtualBox

Ticket #10317 (new defect)

Opened 2 years ago

Last modified 5 months ago

Windows 8 Host: No network adapters after resume from sleep

Reported by: halfloaded Owned by:
Priority: major Component: network/hostif
Version: VirtualBox 4.1.8 Keywords: windows 8, sleep, bridge adapter
Cc: Guest type: other
Host type: Windows

Description

I am running Oracle VirtualBox 4.1.8 r75467 on a Thinkpad T510. When I put my computer to sleep, the only way to get functioning NIC's on my host after resume is to go into device manager, uninstall the NIC and then scan for hardware changes to re-install the NIC. I disabled the VirtualBox Bridged Network Driver on each NIC and I no longer have this problem.

Change History

comment:1 Changed 2 years ago by jmbpiano

I have the same exact problem ever since I installed VB 4.1.8 on my Gateway FX6800-11. Sleep or Hibernate will always cause the NIC to stop working. In one instance it wasn't working after a normal shutdown. An alternative method of temporarily fixing the problem is to run Windows Network Diagnostics and allow it to automatically repair issues.

My on-board NIC is an Intel 82567LF-2 Gigabit Network device. Switching from the Microsoft provided drivers to the drivers available from the Gateway support page made no difference.

Disabling the bridged network driver as the OP suggested appears to work.

comment:2 Changed 2 years ago by vbaderks

I have the same problem on 2 different machines with Windows 8 Consumer Preview installed. Workaround by disabling the Bridged Network Driver works.

Due to the fact that the hosted network that virtualbox also installed is always not connected Windows 8 also shows always 'a not connected' icon in the lower right corner. I had to disable the 'hosted' network to resolve that.

comment:3 Changed 2 years ago by halfloaded

I can confirm this issue exists in 4.1.10 r76836 as well.

comment:4 Changed 2 years ago by cpqalve

I can confirm the issue exists in 4.1.10 as well.

comment:5 Changed 2 years ago by halfloaded

This issue still exists in 4.1.12 r77245.

comment:6 Changed 18 months ago by LeoStorm85

Issue still existing in 4.2.0 r80737

comment:7 Changed 18 months ago by halfloaded

Still a problem. Windows 8 Enterprise and VirtualBox 4.2.4 r81684.

Last edited 18 months ago by halfloaded (previous) (diff)

comment:8 Changed 18 months ago by halfloaded

If you need to use the bridged adapter on Windows 8 and you also need sleep/hibernate on your host, you can always disable and re-enable the NIC after resuming. I know Microsoft did a lot of work to the network stack in Windows 8 to speed up reconnecting upon resume which probably led to the regression. Below is how I automated this so I didn't have to screw with it anymore.

Workaround/Bandaid/Hack

I created a powershell script that automates this process on a schedule. The trick was to comb the System Event Log for Informational event ID 1 where the source is Power-Troubleshooter. Once I found that, I right-clicked and added a task. When the event is fired, my script is triggered and disables all physical, enabled nics before re-enabling them.

Script

gwmi Win32_NetworkAdapter -EnableAllPrivileges | ? { $_.PhysicalAdapter -and $_.NetEnabled } | % { $_.Disable(); $_.Enable() }

Seems to work thus far. It is obviously sub-optimal but at least I don't have to manually carry out the tasks any longer and I can use my bridged adapter on my laptop.

Please fix so I can remove this hack/workaround/bandaid.

Last edited 18 months ago by halfloaded (previous) (diff)

comment:9 Changed 14 months ago by mahop

I also have this Problem. But I have it also with other Programms adding Network Adapters... Like the Microsoft Network Monitor... Looks like it is a Windows 8 problem...???

comment:10 follow-up: ↓ 11 Changed 13 months ago by anshul makkar

Is there any other network filter(antivirus etc) driver installed apart from vboxnetflt driver in the problematic scenario.

comment:11 in reply to: ↑ 10 Changed 13 months ago by halfloaded

No. Out of the box Windows 8.

Replying to anshul makkar:

Is there any other network filter(antivirus etc) driver installed apart from vboxnetflt driver in the problematic scenario.

comment:12 Changed 8 months ago by mitrov

I am having the same problem with VB 4.2.16, Windows 8.1 new install and Broadcom neXtreme adapter.

Last edited 8 months ago by mitrov (previous) (diff)

comment:13 Changed 5 months ago by billsey

I'm seeing the problem with the latest Virtual Box (4.3.2) when the computer is restarted. I'm not using sleep or hibernate but any reboot has the issue. It looks like the VB Host-Only Network is getting initialized before the physical adapter, and then gets in the way of the physical adapter to start.

comment:14 Changed 5 months ago by c0nsaw

I am also having this issue, nothing I do will help reconnect my pc to internet. I have tried lots of workarounds, even system restore wont get me back to a working connection. I have only recently started using vagrant and vb to spin up vm's for learning. I have had to re-install windows several times to get back working again, talk about a sledge hammer to a nut (latest VB 4.3.x, with ext pack. Win 7 pro x64)

Last edited 5 months ago by c0nsaw (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use