I am currently trying to get Ubuntu 10.04 working as a guest on a Windows 7 64-bit Host. Everything works great, and I get a network connection when I use NAT. However, when I try to switch the Guest network adapter to Bridged, and set the device name to my wireless card in the VM settings, my network connection fails. I see the symbol for the network connection on the GNOME desktop switch to the wireless icon, but an IP from the DHCP server is never received. I tried manually setting the IP, but did not have any success with that either. The whole point of this is that I need to be able to see the subnet I am connected to, not masked behind a NAT address.
Any ideas?
Thanks!
Ubuntu Guest Wireless Networking
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu Guest Wireless Networking
Do you have a router in the network?
Also if you are going to run wired and wireless on the guest you should setup (2) adapters to handle this. One for wired and one for wireless.
Does the Host have both wired and wireless available to it?
If you don't get an IP address you may need to restart the network to get the address by running /etc.init.d/networking restart
The last thing to check is the Windows 7 firewall. Make sure there is an exception for the local net.
Also if you are going to run wired and wireless on the guest you should setup (2) adapters to handle this. One for wired and one for wireless.
Does the Host have both wired and wireless available to it?
If you don't get an IP address you may need to restart the network to get the address by running /etc.init.d/networking restart
The last thing to check is the Windows 7 firewall. Make sure there is an exception for the local net.
-
adam35413
- Posts: 6
- Joined: 21. Apr 2010, 23:44
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: Ubuntu Guest Wireless Networking
There is a router in this setup, yes. I added two adapters, one NAT and one wireless. The NAT connection works every time, but the bridged connection never receives an IP. I am getting an IP on the host.
I checked my Windows Firewall, and I noticed two rules blocking the VirtualBox GUI. I fixed that, but it did not solve the issue. Why would I need to make an explicit rule in the firewall, if the NAT connection is able to work?
I checked my Windows Firewall, and I noticed two rules blocking the VirtualBox GUI. I fixed that, but it did not solve the issue. Why would I need to make an explicit rule in the firewall, if the NAT connection is able to work?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu Guest Wireless Networking
Because it can be blocking it. Try turning it off and see if it works.
It might not be the problem but if I had a dollar for each time it was the cause I could take a really nice vacation.
It might not be the problem but if I had a dollar for each time it was the cause I could take a really nice vacation.
-
adam35413
- Posts: 6
- Joined: 21. Apr 2010, 23:44
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: Ubuntu Guest Wireless Networking
I tried disabling the Windows Firewall, and that didn't help. I was able to statically set the IP on the interface and ping the router, so there might be an issue with the router I am trying to connect to. But why would the router not accept a bridged connection when it accepts a NAT connection at the same time?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu Guest Wireless Networking
Using NAT you are not really using the router but the software (VirtualBox) and it is using your network connection to work.