Hi,
I have Virtual Box latest version running on my Linux Mint Desktop. Unfortuantely, I have no fixed line data access at the moment. I have USB stick mobile broadband connection instead, which works fine for the host.
But I have no idea how I can get it to work for the Win10 guest. NAT or bridged mode both do not work with the default virtual modem. Or should I forget about that and activate the USB stick directly in the Win10 machine and install it there? It is not recognized by default, so I would have to find the drivers somewhere?
Or is there a way to get the guest to use the networking infrastructure of the host?
Any help much appreciated! Thanks!
How can a Win10 guest get internet via Linux host broadband ?
-
birdie
- Posts: 465
- Joined: 2. May 2010, 14:19
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux, other Unixes
- Location: Artem S. Tashkinov
- Contact:
Re: How can a Win10 guest get internet via Linux host broadband ?
As long as ping 8.8.8.8/telnet google.com 80 work on your host, your guest Internet connection should work just fine. If it doesn't, you've set up something improperly.
A NAT connection should work just fine for a guest.
Make sure "Cable is connected" checkbox is on.
A NAT connection should work just fine for a guest.
Make sure "Cable is connected" checkbox is on.
Last edited by birdie on 25. Oct 2019, 14:45, edited 1 time in total.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: How can a Win10 guest get internet via Linux host broadband ?
If the USB adapter appears to the host OS as a network adapter, then Virtualbox's networking should be able to use it. Does your host PC think it's connected to a network when the USB device is working? Or does the host OS think it's talking to a modem?
Get the USB adapter running and confirm that your host OS has internet.
Then select one Linux or Windows guest and set its network to NAT (not NAT network).
Boot the guest. See if you can ping 8.8.8.8 in the guest. If you can, the guest has internet, even if a guest browser does not work.
If your guest cannot ping 8.8.8.8, please do these things:
1. On the host OS, post the text output of 'ifconfig' here on the forum, inside
Get the USB adapter running and confirm that your host OS has internet.
Then select one Linux or Windows guest and set its network to NAT (not NAT network).
Boot the guest. See if you can ping 8.8.8.8 in the guest. If you can, the guest has internet, even if a guest browser does not work.
If your guest cannot ping 8.8.8.8, please do these things:
1. On the host OS, post the text output of 'ifconfig' here on the forum, inside
Code: Select all
tags.
2. On the guest OS, post the text output of 'ifconfig' if it's a Linux guest, 'ipconfig /all' if it's Windows. Post the command output here on the forum, inside [code] tags.-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: How can a Win10 guest get internet via Linux host broadband ?
One small caveat... In order to use Bridged mode, VirtualBox installs a filter driver for each and every active network connection.JowivK wrote:USB stick mobile broadband connection ... bridged mode
If when you installed VirtualBox your USB stick was not plugged in, then there is no way that VirtualBox could have installed that filter, because the USB stick was not active. The telltale sign is that the USB stick will not be available in the "Attached to" drop-down when selecting the Bridged mode.
In order to have the USB stick show up as an option, you need to reinstall VirtualBox while the USB stick is plugged-in to the host.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.