Hi,

I'd like to add to this discussion that this bug does not only affect
upgrades to squeeze but also fresh suqeeze installs. I experienced this
last week when I installed squeeze via debian-testing-i386-netinst.iso
of 2010/04/22: network-manager happily tried to connect to a wireless
network although the computer still had a cable connection to the
router.

> The approach Ubuntu took, is to comment out /e/n/i entries in a postinst
> migration script, which matches
> (auto,allow-hotplug) <device>
> iface <device> inet dhcp
> 
> while keeping a backup file of the old configuration.
> 
> Haven't decided yet, which route to take and am open for other suggestions.

Instead of hacking on the configuration file, couldn't this get
implemented directly in network-manager code? I mean something like

        if ((auto || allow-hotplug) && dhcp) 
                managed /* i.e. behave as if commented out
                           in /etc/network/interfaces */

 - Fabian





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to