Re: Sid and Squeeze /etc/network/interfaces error

2010-11-29 Thread Tixy
On Sun, 2010-11-28 at 14:16 -0700, Bob Proulx wrote: 
 godo wrote:
  does anybody notice that /etc/network/interfaces has changed?
  I notice that on my Sid and Squeeze box when I boot to single user
  mode for update and there wasn't networking.
  
  /etc/network/interfaces had
  # The primary network interface
  allow-hotplug eth0
  #NetworkManager#iface eth0 inet dhcp
  
  Ok it's not a big deal but can frighten you :-)
 
 This is a consequence of network-manager.  You can follow most of the
 discussion here in this bug.
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024
 
 Network Manager only manages interfaces that are *NOT* listed in the
 system /etc/network/interfaces file.

Personally, I use the managed=true option in NetworkManager.conf so NM
*does* manage the interface. This way I get a network configured
from /etc/network/interfaces if I don't boot into a GUI, and automatic
wireless/wired switching when I use a GUI.

So I've had to remove the new hack from the interfaces file, I hope it
doesn't keep getting added back in on every NM package update.

-- 
Tixy   ()  The ASCII Ribbon Campaign (www.asciiribbon.org)
   /\  Against HTML e-mail and proprietary attachments


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291063660.2003.14.ca...@computer2.home



Re: Sid and Squeeze /etc/network/interfaces error

2010-11-29 Thread Stephan Seitz

On Sun, Nov 28, 2010 at 02:16:41PM -0700, Bob Proulx wrote:

Network Manager only manages interfaces that are *NOT* listed in the
system /etc/network/interfaces file.  This means that other programs


Does this crappy software now recognize if the system has no eth0 
configured but vlan2, vlan3 and vlan4 on top of eth0?
I have some desktops with such configuration, and when I first got 
involved with this stupid software, it deleted all routes and tried to 
configure eth0 via DHCP (which obviously failed) leaving the host 
unreachable.


So I normally disable the software.

I fail to see the reason for Network Manager. If people want to use 
Windows, they should do it. In Debian interfaces are configured in 
/etc/network/interfaces, and this file should not be touched by crappy 
software.


Shade and sweet water!

Stephan

--
| Stephan Seitz E-Mail: s...@fsing.rootsland.net |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Sid and Squeeze /etc/network/interfaces error

2010-11-29 Thread Andrei Popescu
On Lu, 29 nov 10, 22:05:07, Stephan Seitz wrote:
 
 I fail to see the reason for Network Manager. If people want to use
 Windows, they should do it. In Debian interfaces are configured in
 /etc/network/interfaces, and this file should not be touched by
 crappy software.

It's useful for people who switch a lot between different networks 
and/or technologies.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Sid and Squeeze /etc/network/interfaces error

2010-11-28 Thread godo

Hi all,
does anybody notice that /etc/network/interfaces has changed?
I notice that on my Sid and Squeeze box when I boot to single user mode 
for update and there wasn't networking.


/etc/network/interfaces had
# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

Ok it's not a big deal but can frighten you :-)
--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cf28be2.2000...@dobosevic.com



Re: Sid and Squeeze /etc/network/interfaces error

2010-11-28 Thread Bob Proulx
godo wrote:
 does anybody notice that /etc/network/interfaces has changed?
 I notice that on my Sid and Squeeze box when I boot to single user
 mode for update and there wasn't networking.
 
 /etc/network/interfaces had
 # The primary network interface
 allow-hotplug eth0
 #NetworkManager#iface eth0 inet dhcp
 
 Ok it's not a big deal but can frighten you :-)

This is a consequence of network-manager.  You can follow most of the
discussion here in this bug.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024

Network Manager only manages interfaces that are *NOT* listed in the
system /etc/network/interfaces file.  This means that other programs
such as Evolution that ask NM (through the D-bus interface) if the
host has networking will think that no networking is available when in
fact networking is actually available.  If Evolution thinks that no
networking is available then it will force offline mode breaking it
severely.

When Debian is installed almost invariably the default installation
will leave eth0 configured for DHCP.  That has been great in the past.
But now it is in conflict with the way network-manager wants things.
Meaning that a default installation and then upgrade isn't correct.

As a workaround network-manager now comments out the specification for
the wired interface.  That removes it from the file and then
network-manager will manage it and report correctly on whether the
host has networking or not to other tools such as evolution that ask
about it.

To me that seems like a nasty hack.

Bob


signature.asc
Description: Digital signature


Re: Sid and Squeeze /etc/network/interfaces error

2010-11-28 Thread godo




To me that seems like a nasty hack.

Bob


To me also, I was think that programer forgot to put \n in cod or 
something like that and that this is a bug.


Thanks for replay.
--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cf2ceac.6010...@dobosevic.com