[vbox-dev] Patch for vboxnetflt with Wireless Adapter - Linux kernel 3.18.0

Valerio Daelli valerio.daelli at gmail.com
Mon Apr 6 11:31:39 UTC 2015


You are right.
Enabling the option CONFIG_CFG80211_WEXT in the kernel let VirtualBox detect
that my device is Wireless: so the network works accordingly.
The ioctl (SIOCGIWNAME) is defined in that module.
Thanks for your help.

  Valerio Daelli

On Sun, Apr 5, 2015 at 7:52 AM, Alexey Eromenko <al4321 at gmail.com> wrote:

> You should file a bug, because developers gonna ask questions about your
> setup.
> And it is supposed to work.
> I need to test it on VBox 5.0 BETA1, that is recently released.
>
> Best wishes,
> - Technologov
> On Apr 5, 2015 4:53 AM, "Valery Ushakov" <uwe at stderr.spb.ru> wrote:
>
>> Valerio Daelli <valerio.daelli at gmail.com> wrote:
>>
>> > -if I use a wireless adapter with a VM, I can reach the internal IP of
>> >   the adapter, but I cannot reach the external world: I cannot reach
>> > the Access Point, the Internet,
>> >   or anything else in the outside world - including VMs on different
>> > physical hosts with wireless cards (same subnet of course).
>> >
>> > So I created this small patch. With this patch:
>> > -I can use the Ethernet Adapter
>> > -I can reach via the Wireless adapter the internal IPs of the adapter,
>> > as well as the
>> >   outside world.
>> >
>> > Basically I translate the MAC addresses of the VMs to the MAC address
>> > of the Wireless card,
>> > I keep a table of such translations to revert them when a packet comes
>> in.
>> > (This is similar to NAT, except I work with both MAC addresses and IP
>> > addresses).
>>
>> Strange.  Bridged driver already does all this (including DHCP
>> support, etc) for wireless interfaces (search for "shared" in
>> src/VBox/Devices/Network/SrvIntNetR0.cpp).  The code uses SIOCGIWNAME
>> to detect wireless interfaces for which shared mac mode is turned on.
>>
>> Please, can you file a bug: https://www.virtualbox.org/wiki/Bugtracker
>>
>> -uwe
>>
>>
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150406/404bfee1/attachment.html 


More information about the vbox-dev mailing list