<div dir="ltr"><div><div><div><div>You are right.<br></div>Enabling the option CONFIG_CFG80211_WEXT in the kernel let VirtualBox detect<br></div>that my device is Wireless: so the network works accordingly.<br></div>The ioctl (SIOCGIWNAME) is defined in that module.<br></div><div>Thanks for your help.<br><br></div><div>  Valerio Daelli<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 5, 2015 at 7:52 AM, Alexey Eromenko <span dir="ltr"><<a href="mailto:al4321@gmail.com" target="_blank">al4321@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You should file a bug, because developers gonna ask questions about your setup.<br>
And it is supposed to work. <br>
I need to test it on VBox 5.0 BETA1, that is recently released. </p>
<p dir="ltr">Best wishes, <br>
- Technologov</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Apr 5, 2015 4:53 AM, "Valery Ushakov" <<a href="mailto:uwe@stderr.spb.ru" target="_blank">uwe@stderr.spb.ru</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Valerio Daelli <<a href="mailto:valerio.daelli@gmail.com" target="_blank">valerio.daelli@gmail.com</a>> wrote:<br>
<br>
> -if I use a wireless adapter with a VM, I can reach the internal IP of<br>
>   the adapter, but I cannot reach the external world: I cannot reach<br>
> the Access Point, the Internet,<br>
>   or anything else in the outside world - including VMs on different<br>
> physical hosts with wireless cards (same subnet of course).<br>
><br>
> So I created this small patch. With this patch:<br>
> -I can use the Ethernet Adapter<br>
> -I can reach via the Wireless adapter the internal IPs of the adapter,<br>
> as well as the<br>
>   outside world.<br>
><br>
> Basically I translate the MAC addresses of the VMs to the MAC address<br>
> of the Wireless card,<br>
> I keep a table of such translations to revert them when a packet comes in.<br>
> (This is similar to NAT, except I work with both MAC addresses and IP<br>
> addresses).<br>
<br>
Strange.  Bridged driver already does all this (including DHCP<br>
support, etc) for wireless interfaces (search for "shared" in<br>
src/VBox/Devices/Network/SrvIntNetR0.cpp).  The code uses SIOCGIWNAME<br>
to detect wireless interfaces for which shared mac mode is turned on.<br>
<br>
Please, can you file a bug: <a href="https://www.virtualbox.org/wiki/Bugtracker" target="_blank">https://www.virtualbox.org/wiki/Bugtracker</a><br>
<br>
-uwe<br>
<br>
<br>
_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
<br></blockquote></div><br></div>