[Pkg-utopia-maintainers] Bug#609072: Bug#609072: Trials with Squeeze RC2: It does look like a Network Manager Package Issue
Michael Biebl
biebl at debian.org
Sat Jan 29 21:42:00 UTC 2011
On 29.01.2011 22:02, Paul Bryan Roberts wrote:
>
> I have studied happier scripts. I can see no discrimination on the basis of
> interface name. This suggests that it was not the original author's
> intent to
> exclude wireless interfaces. So I guess the script just does not work
> properly.
No, the script works as expected. It comments out entries which only use dhcp
and have no further options.
>
> The script makes a number of simplifying assumptions about the contents of
> /etc/network/interfaces and clearly cannot cope with stanzas [as per
> interfaces(5)] as complex as the wlan0 stanza.
>
> It seems to want to disable only interfaces with an auto or allow-
> stanza but
> has to act on the corresponding iface stanza.
>
> An easier script to write is one that changes the iface name (e.g. wlan0
> to no_wlan0).
> This has the advantage of not leaving the file syntactically incorrect.
That is not true. The file that is left by NM is not syntactically incorrect.
> I can provide such
> a script if wanted.
Thanks for the offer, but no. First try to understand why the script behaves the
way it does and why you can't simply comment out everything.
>
> It might be more sensible to simply back up and replace
> /etc/network/interfaces with a
> copy that declares just the loopback interface
The loopback configuration in /e/n/i is actually completely unnecessary if you
use network-manager, as NM will bring up lo in any case.
on the grounds that
> anyone requiring
> network interfaces that are not managed by the Network Manager will be
> visiting the
> file anyway.
This would throw away any local modifications, so this is definitely a no-go.
Cheers,
Michael
--
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: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110129/bc56dca9/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list