[Pkg-utopia-maintainers] Bug#508383: network-manager: Force NM to manage an interface with an option in /etc/network/interfaces

Michael Biebl biebl at debian.org
Wed Dec 10 17:36:31 UTC 2008


Raphael Hertzog wrote:
> Package: network-manager
> Version: 0.6.6-2
> Severity: normal
> 
> README.Debian explains all the cases where NM will not manage an
> interface. The principle of this decision is sane but it lacks
> a way to delegate an interface to NM anyway.
> 
> I have moved my eth0 into a bridge and I would like NM to handle my brigde
> but there's no way for me to do that because creating a bridge requires
> setting an option in /etc/network/interfaces:
>> allow-hotplug eth0
>> iface eth0 inet manual
>>
>> auto br0
>> iface br0 inet dhcp
>>     bridge_ports eth0 vbox0 vbox1
>>     bridge_maxwait 0
> 
> Would it be possible to have an option "network_manager yes" that would force
> NM to manage the interface ?
> 

Support for bridged interfaces is not yet in NM (but on the todo), so NM can't
yet handle such configurations.

But NM 0.7 has already functionality, which goes into the direction you want.

There is a so-called "system settings" plugin for ifupdown, that reads /e/n/i
and passes this configuration on to NM.
And there is a *global* flag in /etc/NetworkManager/system-settings.conf, which
allows you to chose, if NM should handle connections defined in /e/n/i.
You have to add

[ifupdown]
managed=true

to /etc/NetworkManager/system-settings.conf for that.

This only works for (simple) configurations though atm, i.e. interfaces
definitions with static ip, dhcp, wireless-*, wpa-*

aliased interfaces, scripts and stuff is not (yet) supported.

Cheers,
Michael

P.S: There is a 0.7 snapshot in experimental. I'd wait for the final 0.7, which
should be out rsn.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081210/20d22e01/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list