whonix-gateway on the KVM/QEMU hypervisor does not see the network card, I added it as a virtual network interface mactvap, but whonix throws an error on startup, could not get flags for the device(external network adapter), I heard that Whonix has problems with drivers for network cards, has anyone encountered this?
It sounds like you probably aren’t following the directions at:
since those don’t include adding a macvtap virtual network interface. Could you explain (in some level of detail) what you’re trying to do and why? That might help other users know how to help.
Okay, I’ll try to explain. I wanted to use macvtrap to add an external network card(which is connected to the main OS via usb) created a macvtrap bridge, but the system does not recognize the network interface
I don’t understand the question, what kind of virtual machine are you talking about? If you have whether Whonix works with its NAT - then yes it starts, but the tor does not, the load in the Control Panel Tor freezes at 2 percent, I looked at the logs, there I saw that the tor starts for a second and then turns off
The idea is, if you want to do fancy stuff such as macvtrap, please learn how to do so in an easier environment first. I.e. on Debian. Once you know how that works, you have a chance trying to same using Whonix. That concept is coined Generic Bug Reproduction.
You’re absolutely right that you need to learn from light tasks first, but I was already able to connect a network card (connected to the main host) via macvtrap, I’ll tell you below:
1.I created a bridge between the host and whonix, specifying the following parameters: type mackvtrap, mode bridge 2. Modified the provided XML by specifying its parameters 3. Launched Whonix and that’s it
This would be rather complicated, user support intensive.
Whonix at time of writing uses Debian’s ifupdown and static networking. That is both simple and reliable. The names of network interfaces (such as eth0, eth1) are hardcoded in many places. Making this dynamic and easily configurable would make our source code more complex and more difficult to maintain. That’s why it’s unsupported.