I have a tun/tap interface that is always up, for my KVMs to connect to. This is statically configured in conf.d/net. However, it shows up as an 802.3 interface, and therefore NM decides that it should use this interface as it's main interface, and doesn't connect the wifi. What I've done in the attached patch is to allow a NM specific configuration to ignore an interface, like so: networkmanager_vtap0="ignore"
Created attachment 184519 [details, diff] Patch to ignore some interfaces
Hi Daniel, I'm not an KVM expert, but don't you need to bridge tun interface to ethernet interface? Don't you need to exclude ethernet interface from NM list as well? The patch looks ok to me, although I think it should be first consulted with people responsible for /etc/conf.d/net and discuss what's the best way to make it official. Once agreed it can be pushed upstream.
No, I'm using a NATed network, because this is a laptop that moves around a lot. Specifically, I'm using VDE to connect (optionally) multiple KVMs to a single tun device that is then NATed through wlan0. I agree that whoever owns conf.d/net (baselayout? equery and qfile leave me dry...) should weigh in. I tried to make it as obvious as possible that this wasn't normal config.
Do you still need this with current stable 0.7.2? If still needed, have you send this patch to upstream also? Thanks
I do not appear to need this anymore.