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 <[email protected]> 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" <[email protected]> wrote: > >> Valerio Daelli <[email protected]> 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 >> [email protected] >> https://www.virtualbox.org/mailman/listinfo/vbox-dev >> > > _______________________________________________ > vbox-dev mailing list > [email protected] > https://www.virtualbox.org/mailman/listinfo/vbox-dev > >
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
