Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Tom H
On Mon, Oct 19, 2009 at 9:17 AM, Jean-François Pirlet
 wrote:

>> These are the only lines I have in my /etc/network/interfaces

>> # This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).

>> # The loopback network interface
>> auto lo
>> iface lo inet loopback

>> auto eth1
>> iface eth1 inet dhcp

>> But, network manager is not managing the network connections.

> Comment out the "auto eth1" and "iface eth1 inet dhcp" lines. Edit
> your /etc/NetworkManager/nm-system-settings.conf to "managed=true". E.g.
> from:

> "[main]
> plugins=ifupdown,keyfile

> [ifupdown]
> managed=false"

> to:

> "[main]
> plugins=ifupdown,keyfile

> [ifupdown]
> managed=true"

> Reboot (or restart NM), and it should be working.

I disagree with the above (although it will work). Having /e/n/i
consist of you "lo" config only as earlier posters have advised you is
enough.

Setting ifupdown to "managed=true" allows you to manage your network
through NM in spite of having entries in e/n/i, or perhaps more
accurately using the entries in e/n/i.

The red cross in NM applet simply lets you know that NM is not
managing the NIC in use.

NM is the first app that I purge when I install Linux but I saw the
red cross when I installed Squeeze, was curious, and googled two bug
reports. One was about the cross and the second was about NM reporting
the network down to certain applications even though the network was
up because it was not managing a NIC. So you may be experiencing the
latter problem - and the already-suggested solutions should remedy it.


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



Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Jean-François Pirlet
Comment out the "auto eth1" and "iface eth1 inet dhcp" lines. Edit
your /etc/NetworkManager/nm-system-settings.conf to "managed=true". E.g.
from :
"[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false"

to:

"[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true"

Reboot (or restart NM), and it should be working.
 
> These are the only lines I have in my /etc/network/interfaces
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> auto eth1
> iface eth1 inet dhcp
> 
> But, network manager is not managing the network connections.


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



Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Andrei Popescu
On Mon,19.Oct.09, 12:21:01, Foss User wrote:

> > If you comment out the lines for your network interfaces (by putting a
> > '#' at the line start) in /etc/network/intefaces then Network Manager
> > will manage the connections. E.g. from my 'interfaces' file,
> >
> > #allow-hotplug eth0
> > #iface eth0 inet dhcp
> >
> > Leave the lines for the loopback interface alone though.
> 
> These are the only lines I have in my /etc/network/interfaces
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> auto eth1
> iface eth1 inet dhcp
> 
> But, network manager is not managing the network connections.

As said by Tixy, disable anything but 'lo', for example by "commenting 
out" (a.k.a. putting an '#' in front of each line). Your interfaces 
should look like this:

,[ /etc/network/interfaces ]
| # This file describes the network interfaces available on your system
| # and how to activate them. For more information, see interfaces(5).
|
| # The loopback network interface
| auto lo
| iface lo inet loopback
|
| #auto eth1
| #iface eth1 inet dhcp
`


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


signature.asc
Description: Digital signature


Re: How to make Debian/GNome manage network automatically

2009-10-18 Thread Foss User
On Sun, Oct 18, 2009 at 4:33 PM, Tixy  wrote:
> On Sun, 2009-10-18 at 11:44 +0530, Foss User wrote:
>> I am using Squeeze. The network icon on my GNome desktop always shows
>> a red cross on it. If the network gets disconnected for some reason
>> and I reconnect it again, GNome does not connect to the network
>> automatically. I have to run /etc/init.d/networking restart to
>> reconnect to the network again. I remember that in the stable Lenny,
>> network is managed automatically by GNome or Debian. I would want the
>> same to happen in Squeeze. Please help me.
>
> If you comment out the lines for your network interfaces (by putting a
> '#' at the line start) in /etc/network/intefaces then Network Manager
> will manage the connections. E.g. from my 'interfaces' file,
>
> #allow-hotplug eth0
> #iface eth0 inet dhcp
>
> Leave the lines for the loopback interface alone though.

These are the only lines I have in my /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

But, network manager is not managing the network connections.


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



Re: How to make Debian/GNome manage network automatically

2009-10-18 Thread Tixy
On Sun, 2009-10-18 at 11:44 +0530, Foss User wrote:
> I am using Squeeze. The network icon on my GNome desktop always shows
> a red cross on it. If the network gets disconnected for some reason
> and I reconnect it again, GNome does not connect to the network
> automatically. I have to run /etc/init.d/networking restart to
> reconnect to the network again. I remember that in the stable Lenny,
> network is managed automatically by GNome or Debian. I would want the
> same to happen in Squeeze. Please help me.

If you comment out the lines for your network interfaces (by putting a
'#' at the line start) in /etc/network/intefaces then Network Manager
will manage the connections. E.g. from my 'interfaces' file, 

#allow-hotplug eth0
#iface eth0 inet dhcp

Leave the lines for the loopback interface alone though.

One drawback I've found is that when shutting the computer down, the
networks are disconnected when you logged out of your Gnome session,
which happens before any mounted network shares are disconnected. This
means I get a hang for a minute or so whilst CIFS times-out trying to
unmount.

-- 
Tixy


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



How to make Debian/GNome manage network automatically

2009-10-17 Thread Foss User
I am using Squeeze. The network icon on my GNome desktop always shows
a red cross on it. If the network gets disconnected for some reason
and I reconnect it again, GNome does not connect to the network
automatically. I have to run /etc/init.d/networking restart to
reconnect to the network again. I remember that in the stable Lenny,
network is managed automatically by GNome or Debian. I would want the
same to happen in Squeeze. Please help me.


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