Is there a way to emulate a wireless card in qemu / kvm? Or is there no point to this?
Is it considered just another interface?

  • 2
    I don't think it's that there isn't any point to it, it's just that it's such a specific thing to want to do that it's not likely to have been developed. One would also question what problem you would be solving. Most of the time a VM's "NIC" is just how it's basic network connectivity has been presented to the system, it showing up as a NIC is just a means to that end. – Bratchley Apr 28 '15 at 19:44
  • 2
    Define emulate a wireless card. There is the mac80211_hwsim linux kernel module. – FloHimself Apr 28 '15 at 19:58
  • Emulate wireless card: Add a NIC to a vm that has the ability to simulate having a physical card; you'd be able to change how strong the signal is and things like this. – leeand00 Apr 28 '15 at 20:01
  • 4
    Then mac80211_hwsim is maybe what you want. It's not specific to a VM but a loadable kernel module to simulate radios usable with hostapd and wpa_supplicant etc. – FloHimself Apr 28 '15 at 20:01
  • 1
    There definitely is a point to do that. Mastering this would allow us to test wifi software and wifi configurations properly. – Pavel Šimerda Nov 26 '17 at 9:31

Cloonix from version 42.03 does the wifi inside the guests. For this it uses the mac80211_hwsim module and a software running in the guest, this software transmits the signal to host and then to other guests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.