M
M
Mystanger2019-02-26 02:49:35
JavaScript
Mystanger, 2019-02-26 02:49:35

How to make a separate connection in virtualbox via wifi?

There is a laptop with a built-in wifi module
There is an installed virtualbox win10 x64
when the laptop is connected to wifi, then the Internet also works on the virtual machine, but as soon as I disconnect from the wifi network on the laptop, then the
task disappears on the virtual machine so that the wifi works only on the virtual machine even when the main laptop is not connected to the net
on the laptop, I want the mobile operator's USB modem to work.
that is, I want the Internet to work on the virtual machine via wifi and on the usb laptop modem.
please tell me how to make it happen?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arsen Abakarov, 2016-09-25
@ArsenAbakarov

I think that you are registering an event on a non-existent element, because at the time of creating the handler on the form there is no class active or change, wrap the function in the change event

$('.filter-form :input').change(function(){
     $('.filter-form').addClass('change');
     $('.filter-submit').addClass('active');
     $('.change .filter-dropdown').on('hide.bs.dropdown', function () {
         updateCat();
     });
     $('.filter-submit.active').click(function () {
         updateCat();
      });
});

Here you need to remember to remove the handlers when the reverse operation of change

K
kisaa, 2019-02-26
@kisaa

https://www.google.com/search?q=virtualbox+network...
https://forums.virtualbox.org/viewtopic.php?f=1&t=51009
They write that such a feint will work only with USB-WiFi -adapter and its direct forwarding to the virtual machine. But you can do, as suggested, through the bridge (bridge) - connect to the WiFi by the host, but the host OS will not have access to the TCP connections of this adapter. Then the virtual machine will be able to see the emulated network card (i.e. for it it will not be wlan), but will use it exclusively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question