NetworkManager applet says "No valid active connections found!"

Bug #305606 reported by Pedro Sá (Kunst Uber Alles)
34
This bug affects 3 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The "NetworkManager Applet" says "Error displaying connection information:" "No valid active connections found!", if you go to edit connections, none is present, only the add button is active. At the same time the network is working ok, i'm writing this bug in the PC that display the errors.

Intrepid, NetworkManager Applet 0.7.0

description: updated
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and help make Ubuntu better. Please could you attach your /var/log/daemon.log and /etc/network/interfaces file to this bug report after a fresh boot?

Thanks in advance.

Changed in network-manager-applet:
status: New → Incomplete
Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

/var/log/daemon.log

Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

/etc/network/interfaces

Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

When i use gnome-nettool to see the connections, everything is correct. I send a screenshot.

Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

When i click in configure (eth0) appears the following box (screenshot).

Revision history for this message
Najmudin (hussain-hammady-gmail) wrote :

I have a similar problem, every thing was working will with me but yesterday i tried to use an application "xnetcardconfig" to configure my network, today when i turned on my computer i found the network icon with that x on it, and the same error message which pedro had "Error displaying connection information:No valid active connections found!"
The difference is with gnome-nettool, in my case the connection is not correct it shows : loopback interface (lo)
I tried to reinstall network-manager-gnome and network-manager, but that didn't help.

Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

I've tried in another PC, this time with KDE 4.1.3 in intrepid, and with knetworkmanager, as you can see in the screenshot, no connections appears, but everything is working without a problem.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks. Could you also please attach your /etc/NetworkManager/nm-system-settings.conf?

Revision history for this message
Pedro Sá (Kunst Uber Alles) (kunst-uber-alles) wrote :

The nm-system-settings.conf file from the first PC.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks for the information. After looking through the data you've provided, it seems that this is actually the intended behaviour of Network Manager. The reason you see this is because you have no managed devices. This is because you have your network configuration statically defined in /etc/network/interfaces. With this configuration, Network Manager won't manage your device.

If you want to keep the static configuration, but have Network Manager manage your device, you can remove the "auto eth0" line from your /etc/network/interfaces. However, this won't work yet due to bug 279262.

I'm going to close this bug as invalid, as this is actually the intended behaviour with your configuration.

Please feel free to report any other problems you find.

Changed in network-manager-applet:
status: Incomplete → Invalid
Revision history for this message
sles (slesru) wrote :

I have the same problem with 8.10.
My /etc/network/interfaces

auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet static
#address 192.168.22.229
#netmask 255.255.255.0
#gateway 192.168.22.221

auto eth0
iface eth0 inet static
address 0.0.0.0
netmask 0.0.0.0
#gateway 192.168.22.221

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

auto br0
iface br0 inet static
address 192.168.22.229
netmask 255.255.255.0
gateway 192.168.22.221
bridge_ports eth0
bridge_stp off
bridge_maxwait 5

Revision history for this message
Steve Douglas (sdouglas) wrote :

Ditto this for me to. I just did an update and the thing is now active yet red x'd as well. Attached are my file as requested for the initial entry above for your records. Thx.

Revision history for this message
Steve Douglas (sdouglas) wrote :

Here is my interfaces log for your review.....Appended to the direct entry above this one.

Revision history for this message
Andy Mallett (ubuntu-ajmallett) wrote :

Me to !

PC was all working normally yesterday on fully updated 8.10 Intrepid.
Ran "Update Manager" and did all of today's updates, then since reboot the "NetworkManager" applet icon is showing the orange warning triangle.

My local network and internet connections appear to be still be fully functional.

It is "NetworkManager Applet 0.7.0"

Looking at the dropdown option <Connection Information>, it puts up a window containing -
    "Error displaying connection information:
     No valid active connections found!"

Selecting <Edit Connections> option, I get a window with tabs for the following -
    "Wired", "Wireless", "Mobile Broadband", "VPN", "DSL"
but on selecting each tab, the associated information area is blank.

I have tried to re-install "NetworkManager" and associated packages, using "Synaptic Package Manager", but this had no effect !

Revision history for this message
Dook (danduq) wrote :

I am getting exactly the same.

Interfaces are not being automatically picked up and have to be entered manually, and even then refuse to do anything, despite having followed all the advice on configuration for the interfaces file and restarted networking and NM countless times.

Revision history for this message
firas (firasmail2000) wrote :

Hi,

I am getting exactly the same. This happened when I used pppoeconf to setup Internet connection to my PC using DSL modem. Before that, every thing was OK.

Regards,

Firas

Revision history for this message
Aurélien COUDERC (coucouf) wrote :

If like me you *want* your connection to be managed by the network manager, you probably want to update your /etc/NetworkManager/nm-system-settings.conf with something like this :

[main]
plugins=keyfile

[ifupdown]
managed=true

You should of course save your former nm-system-settings.conf in case something goes wrong.

Revision history for this message
firas (firasmail2000) wrote :

Hi,

Merry Christmas

Thank you. That solved the problem. I'm sure that I love you now!!!.

Best Regards,

Firas

Revision history for this message
jasonq (jason-quinn) wrote :

Aurélien Couderc's solution caused problems for me.

After changing managed to true, networking was half broken (ping would work but not Netscape).

Restoring

/etc/NetworkManager/nm-system-settings.conf

to its original version did not solve the problem. After a while the problem turned out to be that Network Manager had blanked the

/etc/resolv.conf

file. I restored the information and I'm back to where I started. NM still doesn't work.

Revision history for this message
vic (wheresvic-sd) wrote :

Hello, Aurélien's solution did not work for me either, after making the necessary changes to both the interface and the nm-system-settings.conf files I got this

vic@rebuffat:~$ sudo /etc/init.d/networking restart
sudo: unable to resolve host rebuffat
 * Reconfiguring network interfaces...
WARNING: ifup -a is disabled in favour of NetworkManager.
  Set ifupdown:managed=false in /etc/NetworkManager/nm-system-settings.conf.
                                                                                                  [ OK ]

But the funny part is that when I go back to edit the nm-system-settings.conf file, the boolean is still set to true ...

vic@rebuffat:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

vic@rebuffat:~$ cat /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=keyfile

[ifupdown]
managed=true

The applet always shows the warning sign telling me that the device is unmanaged....

Revision history for this message
Aurélien COUDERC (coucouf) wrote :

Maybe the ifupdown plugin is missing in the configuration. Can you try with the following :

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

By the way, you should better restart the network manager after changing its configuration, not networking :
/etc/init.d/NetworkManager restart

Revision history for this message
vic (wheresvic-sd) wrote :

Hey Aurélien,

So yes, that was it, I had to restart both I guess, just rebooted and we're good to go!

So to summarize for anyone else who joined in late:

vic@host:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

vic@host:~$ cat /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=keyfile

[ifupdown]
managed=true

vic@host:~$ sudo /etc/init.d/NetworkManager restart
vic@host:~$ sudo /etc/init.d/networking restart

Merci tellement :)

Revision history for this message
Aurélien COUDERC (coucouf) wrote : Re: [Bug 305606] Re: NetworkManager applet says "No valid active connections found!"

Le lundi 13 juillet 2009 18:35:28, vic a écrit :
> Hey Aurélien,
>
> So yes, that was it, I had to restart both I guess, just rebooted and
> we're good to go!
>
> So to summarize for anyone else who joined in late:
>
> vic@host:~$ cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
>
> vic@host:~$ cat /etc/NetworkManager/nm-system-settings.conf
> [main]
> plugins=keyfile
>
> [ifupdown]
> managed=true
>
> vic@host:~$ sudo /etc/init.d/NetworkManager restart
> vic@host:~$ sudo /etc/init.d/networking restart
>
> Merci tellement :)

Great news !
I'm glad it solved your problem.

Could you maybe post a short note that it works on the bug report page so that
other users know it works ?

Je vous en prie.
Tout le plaisir est pour moi. :-)

Revision history for this message
LarryJ (larry-foxgulch) wrote :

My Karmic 9.10 suffered from this oddity. Strangely, I lost connection via eth0 wired when I plugged in a USB network card, which much to my surprise came up and appeared to be functional. But after, the wired interface was not working. However after mucking about, I found that In Karmic 9.10, vic's post needs to be

 sudo /etc/init.d/network-manger restart

In karmic 9.10, sudo /etc/init.d/NetworkManager restart
sudo: /etc/init.d/NetworkManager: command not found

This is with Linux lian 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

Maybe we can harmonize the NetworkManger(old?) with the network-manager(new?).

Revision history for this message
NekiF (neki-frasheri) wrote :

The same story with network manager. After an upgrade of Karmic, it stopped to show the sattus of the network, while everything worked. Problem was corrected as follows:

Status of interfaces:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.234
netmask 255.255.255.0
gateway 192.168.0.1

Modified network manager config:
~$ cat /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile
#no-auto-default=00:19:66:f7:b6:e4, <============== modif
[ifupdown]
#managed=false
managed=true <============== modif

Restart with /etc/init.d/network-manager restart

Revision history for this message
Kevin Johnson (poettone) wrote :

I've struggled with this issue for a very long time and this advice by coucouf to edit my nm-system-settings file, which didn't exist, worked like a charm.

Thank You very much.

Poettone

Revision history for this message
Giles Birch (giles-h) wrote :

Similar fix worked in my setup (Ubuntu 12.04 64-bit server install, with xubuntu-desktop), with slightly different file name.

Make backup of /etc/NetworkManager.conf
Edit /etc/NetworkManager.conf (as root).
After "managed," change "false" to "true"
sudo service network-manager restart

Thank you!

Revision history for this message
Ausra (ausrasunn) wrote :

Hey, i'm having the same problem on 12.04. No valid active connections found. How can i fix it? first i was having this problem http://ubuntuforums.org/showthread.php?t=1007294 but now another appears. Please help!

Revision history for this message
Ausra (ausrasunn) wrote :
Revision history for this message
abdo ghanem (w4apo) wrote :

Giles Birch (giles-h)

Thank you very much :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.