Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261933 - NetworkManager cannot ignore an UP interface
Summary: NetworkManager cannot ignore an UP interface
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 01:10 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2010-03-02 16:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to ignore some interfaces (networkmanager-0.6.6-ignore.patch,1.84 KB, patch)
2009-03-10 01:10 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gryniewicz (RETIRED) gentoo-dev 2009-03-10 01:10:07 UTC
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"
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-03-10 01:10:52 UTC
Created attachment 184519 [details, diff]
Patch to ignore some interfaces
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2009-03-10 10:39:14 UTC
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.

Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-03-10 13:30:45 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2010-02-22 19:24:27 UTC
Do you still need this with current stable 0.7.2? If still needed, have you send this patch to upstream also?

Thanks
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-03-02 16:49:02 UTC
I do not appear to need this anymore.