eth0 connected but network manager icon shows no network

2 réponses [Dernière contribution]
MrMaui76
Hors ligne
A rejoint: 02/21/2014

Greetings Trisquel Community! As a new user I want to introduce myself by posting something hopefully helpful here and say that thus far my brief experience with Trisquel has been great. Thanks to all who have made the project's dreams come true.

Down to the point...

I just installed Trisquel 6.0 LTS tonight on a desktop machine that has a working network connection on interface eth0. During the text based setup I chose to configure the network manually. When my desktop came up, the network interface manager icon in the lower right hand corner of the screen had a red "x" on it and it listed my network connection as "unmanaged", even though my network connection was working just fine. After reading through http://ubuntuforums.org/showthread.php?t=1079394 and https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/280417 the solution turned out to be fairly simple. I commented out everything in the /etc/network/interfaces file that had to do with the eth0 interface by placing a "#" sign at the beginning of the line. So now there are the only two lines that are active on what I believe would be any installation of most flavors of Linux, even without any network interfaces of any kind installed at all. Both deal with the "lo" interface. After I added the connection using the network interface manager icon and manually configured it and restarted my machine, the network connection icon in the lower right hand corner of the screen no longer has an "x" on it and I can disable, enable, and restart the connection.

It seems that the Network Manager Applet recognizes when there's entries in the /etc/network/interfaces file and won't manage an interface if it's present in the file. I know that the posts I was reading were kind of old, but hopefully this will help someone else with this minor annoyance.

antiesnob
Hors ligne
A rejoint: 08/22/2013

Thank for your help to the community.

ZykoticK9
Hors ligne
A rejoint: 04/07/2011

On Fri, Feb 21, 2014 at 08:00:24AM +0100, name at domain wrote:

> It seems that the Network Manager Applet recognizes when there's
> entries in the /etc/network/interfaces file and won't manage an
> interface if it's present in the file. I know that the posts I was
> reading were kind of old, but hopefully this will help someone else
> with this minor annoyance.

While this is nice of you to point out to people.

I just wanted to note, this is working as designed. If a device is configured in interfaces, then N-M can't manage it. This is not trisquel specific in anyway, and will happen on all Debian based distros.

Enjoy Trisquel!