Windows 7 Pro Guest cannot connect to Internet

Discussions about using Windows guests in VirtualBox.
Post Reply
Okie2003
Posts: 32
Joined: 16. Jan 2008, 07:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: Stilwell, OK USA

Windows 7 Pro Guest cannot connect to Internet

Post by Okie2003 »

My daughter and I both run Win 7 in VirtualBox on Dell laptops running Netrunner 2nd edition (Kubuntu 12.04). She has to run Windows this way to gain access to her college network. She installs the required college protection software in Windows and then can log in through something called a nac agent to gain access. Once on she can do her work in Linux. She has done this for 2 1/2 years. I once reinstalled a newer version of Linux and she could not get Windows XP to connect to the Internet, but someone in IT finally helped her and changed a Windows setting.

She went back after Christmas with a different laptop and all was working fine. A week ago she left her laptop asleep and the battery ran out. When she tried to boot up her Linux install was corrupted. I reinstalled the same version saving her /home and VirtualBox. However, she cannot now connect in Windows to the Internet. The IT department won't help blaming VirtualBox. However when she goes off campus it works fine. It also works on campus with a wired connection.

Any ideas?
Dell Latitude E6510, Netrunner (Kubuntu 12.04), Win 7 in VB
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Windows 7 Pro Guest cannot connect to Internet

Post by noteirak »

Post as zip attachment the output of the following commands :

Host (replace %VmName%):

Code: Select all

ifconfig -a
route
cat /etc/resolv.conf
vboxmanage showvminfo %VmName% --details
Guest :

Code: Select all

ipconfig /all
route print
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Okie2003
Posts: 32
Joined: 16. Jan 2008, 07:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: Stilwell, OK USA

Re: Windows 7 Pro Guest cannot connect to Internet

Post by Okie2003 »

Thanks. I just talked on the phone with my daughter and she is sending me the results which I will send on.
Dell Latitude E6510, Netrunner (Kubuntu 12.04), Win 7 in VB
Okie2003
Posts: 32
Joined: 16. Jan 2008, 07:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: Stilwell, OK USA

Re: Windows 7 Pro Guest cannot connect to Internet

Post by Okie2003 »

Thank you for your time. I hope we did what you ask.
Attachments
troubleshoot.txt.zip
(3.14 KiB) Downloaded 15 times
Dell Latitude E6510, Netrunner (Kubuntu 12.04), Win 7 in VB
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Windows 7 Pro Guest cannot connect to Internet

Post by noteirak »

Serveral items :
1. You have 3 adapters configured on the VM : NAT, Bridged & Internal. This can cause issues (especially in Windows) so you have to choose one and remove the two others.

2. Bridging on Wifi is not guaranteed to work due to someinherent Wifi architecture (essentially P2P connections) issues and is not stable by nature.
So if you say it works with ethernet but not with Wifi, using the exact same configuration, nothing can be done on that side I am afraid.

3. Your daugther did not type correctly one of the command in the guest which is crucial :

Code: Select all

ipconfig /all
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Okie2003
Posts: 32
Joined: 16. Jan 2008, 07:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: Stilwell, OK USA

Re: Windows 7 Pro Guest cannot connect to Internet

Post by Okie2003 »

Sorry for the mess up. I hope this does it.

Thanks again for your time.
Attachments
troubleshoot2.txt.zip
(1.17 KiB) Downloaded 9 times
Dell Latitude E6510, Netrunner (Kubuntu 12.04), Win 7 in VB
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Windows 7 Pro Guest cannot connect to Internet

Post by noteirak »

Looks like not all of these were taken while she was where the problem is.
What I can tell is that Virtualbox is working as expected - you get IPs where you should and the proper devices show up.

First step would be to remove the second and third interface, by disabling them in the VM config. Any reason why you have 3 interfaces there?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply