NetworkManager applet shows No network connection when there is a network connection

Bug #105688 reported by Marc Tardif
6
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
Undecided
Brian Murray

Bug Description

I'm running Feisty 20070411 installed from alternate for i386 on several machines, some laptops and some desktops. After rebooting from the installation process and logging into Ubuntu, the NetworkManager applet shows "No network connection." However, when I run ifconfig -a from a terminal window, there is clearly an IP address assigned by the DHCP server to the network interface.

This seems to be a problem with the applet not being able to properly detect whether an interface is connected or not, so I'm not quite sure what kind of information to provide to help debug this problem. Please let me know what might be useful.

Revision history for this message
Brian Murray (brian-murray) wrote :

Could you add the contents of your '/etc/network/interfaces' file and '/var/log/daemon.log'?

Changed in network-manager:
assignee: nobody → brian-murray
status: Unconfirmed → Needs Info
Revision history for this message
Marco Rodrigues (gothicx) wrote :

kmos@bash:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

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 eth0

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :

I was using the Desktop Beta version of Feisty, but I have got the same behavior, even the translation in pt-br says it is disconnected when it is clearly connected.

After the last # apt-get upgrade even the icon had the red X indicating the disconnection, but I had IP and I was able to navigate fine.

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

#auto eth1
#iface eth1 inet dhcp

#auto eth2
#iface eth2 inet dhcp

#auto ath0
#iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :

If I manually right click the icon and force the network-manager to disable the wired network (therefore disconnecting) I do loose the IP.

When I force it back to enable, after the dhcp client retrieve the settings (spinning green balls), it shows up the correct icon icon and text.

It happened in several of my machines, including a laptop Compaq Armada M700, a Dell Precision 220, a Dell Optiplex GX260 and a Compaq iPAQ Legacy.

The information posted above was regarding the GX260 (the actual desktop I am sitting in front of).

If any other information is necessary, do not hesitate to ask for.

Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :
Revision history for this message
PresuntoRJ (fabio-tleitao) wrote :

$ cat /proc/version
Linux version 2.6.20-14-generic (root@rothera) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Mon Apr 2 20:37:49 UTC 2007

Revision history for this message
Marc Tardif (cr3) wrote :

This is my /etc/network/interfaces file as generated by default from the alternate installation.

Revision history for this message
Marc Tardif (cr3) wrote :
Revision history for this message
fox (jm-whx) wrote :

Hi,
we have the same Problem.

Revision history for this message
denzilla74 (denzilla74-deactivatedaccount) wrote :

Update last night fixed it for me :)

Revision history for this message
philb28 (philb28) wrote :

just updated network manager from the synaptic package manager- now NetworkManager Applet 0.6.4 ubuntu7.

What ever i do with it it just wont connect to my network. i can select the network asks for the WEP key and at the top the signal strength bar appears. but open Firefox and I'm not connected to the internet. The only way i can connect to the network is to run

sudo vi /etc/network/interfaces

and delete all lines other then the top two (Loop back) and then enter my network details. the files now looks something like this:

auto lo
iface lo inet loopback

auto ra1
iface ra1 inet dhcp
wireless-essid wireless
wireless-key **********

After doing this i restarted networking

sudo /etc/init.d/networking restart

Every time i switch the computer on i then have to restart networking once it has loaded otherwise it hasn't connected! yes ok i made it easy by creating a launcher to "start the internet" but IMHO needs fixing ASAP!!

Revision history for this message
yeti (utu) wrote :

philb28

Your /etc/network/interfaces looks like mine,
except I have more interesting essid and wireless-key entries.

As a possibility go to System:Preferences:Sessions:Start-up
and see if Network Manager is *enabled* or not.

Revision history for this message
philb28 (philb28) wrote :

well unfortunately iv just resorted to reinstalling ubuntu. (something else broke which was admittedly my fault). again though on a fresh install i had to manually edit the network interfaces file to get wireless working. The good news however is that i no longer have to restart the network each time i log-on. im just going to presume that i must have some how turned it off like you said yeti.

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.