1.6.2.2: wicd doesn't recognize successful ethernet connection attempts

Bug #484764 reported by tsdh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

Hi all,

since about wicd 1.6.0 , wicd doesn't recognize a successful connection
attempt using my ethernet device (eth0).

When I click the "Connect" button, it says something like bringing the
interface up, obaining an IP, and then finishes with "Not connected".

The wicd-client output is:

--8<---------------cut here---------------start------------->8---
/usr/lib64/python2.6/site-packages/wicd/gui.py:730: DeprecationWarning: use gtk.Statusbar.remove_message
  gtk.main_iteration()
/usr/lib/wicd/wicd-client.py:795: DeprecationWarning: use gtk.Statusbar.remove_message
  mainloop.run()
--8<---------------cut here---------------end--------------->8---

After having this "Not connected" status, ifconfig shows:

--8<---------------cut here---------------start------------->8---
eth0 Link encap:Ethernet HWaddr 00:21:86:52:b0:a9
          inet addr:141.26.71.84 Bcast:141.26.71.255 Mask:255.255.248.0
          inet6 addr: fe80::221:86ff:fe52:b0a9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:36669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2978463 (2.8 MiB) TX bytes:34634 (33.8 KiB)
          Memory:fe000000-fe020000
--8<---------------cut here---------------end--------------->8---

So eth0 is up and running fine. wicd just didn't get it.

The wicd.log during this time says:

--8<---------------cut here---------------start------------->8---
2009/11/18 08:46:53 :: found window_width in configuration 1916
2009/11/18 08:46:53 :: found window_height in configuration 1162
2009/11/18 08:46:53 :: scanning start
2009/11/18 08:46:53 :: ifconfig wlan0 up
2009/11/18 08:46:58 :: scanning done
2009/11/18 08:46:58 :: found 38 networks:
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found password in configuration kickme04!
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found identity in configuration horn
2009/11/18 08:46:58 :: found use_global_dns in configuration 0
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found use_settings_globally in configuration 1
2009/11/18 08:46:58 :: found use_static_dns in configuration 0
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found enctype in configuration peap
2009/11/18 08:46:58 :: found automatic in configuration True
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found essid in configuration uni-koblenz
2009/11/18 08:46:58 :: found default in configuration 1
2009/11/18 08:46:58 :: Reading wired profile wired-default
2009/11/18 08:46:58 :: found afterscript in configuration None
2009/11/18 08:46:58 :: found postdisconnectscript in configuration None
2009/11/18 08:46:58 :: found dns_domain in configuration None
2009/11/18 08:46:58 :: found broadcast in configuration None
2009/11/18 08:46:58 :: found netmask in configuration None
2009/11/18 08:46:58 :: found predisconnectscript in configuration None
2009/11/18 08:46:58 :: found gateway in configuration None
2009/11/18 08:46:58 :: found use_global_dns in configuration False
2009/11/18 08:46:58 :: found dns3 in configuration None
2009/11/18 08:46:58 :: found dns2 in configuration None
2009/11/18 08:46:58 :: found search_domain in configuration None
2009/11/18 08:46:58 :: found lastused in configuration True
2009/11/18 08:46:58 :: found use_static_dns in configuration False
2009/11/18 08:46:58 :: found default in configuration 1
2009/11/18 08:46:58 :: found ip in configuration None
2009/11/18 08:46:58 :: found beforescript in configuration None
2009/11/18 08:46:58 :: found disconnectscript in configuration None
2009/11/18 08:46:58 :: found dns1 in configuration None
2009/11/18 08:46:58 :: found default in configuration 1
2009/11/18 08:46:58 :: saving wired profile wired-default
2009/11/18 08:47:02 :: /sbin/dhcpcd -k wlan0
2009/11/18 08:47:02 :: ifconfig wlan0 0.0.0.0
2009/11/18 08:47:02 :: /sbin/route del dev wlan0
2009/11/18 08:47:02 :: ifconfig wlan0 down
2009/11/18 08:47:02 :: ifconfig wlan0 up
2009/11/18 08:47:02 :: found lastused in configuration True
2009/11/18 08:47:02 :: Putting interface down
2009/11/18 08:47:02 :: ifconfig eth0 down
2009/11/18 08:47:03 :: Releasing DHCP leases...
2009/11/18 08:47:03 :: /sbin/dhcpcd -k eth0
2009/11/18 08:47:03 :: Setting false IP...
2009/11/18 08:47:03 :: ifconfig eth0 0.0.0.0
2009/11/18 08:47:03 :: Flushing the routing table...
2009/11/18 08:47:03 :: /sbin/route del dev eth0
2009/11/18 08:47:03 :: Putting interface up...
2009/11/18 08:47:03 :: ifconfig eth0 up
2009/11/18 08:47:03 :: Running DHCP
2009/11/18 08:47:03 :: /sbin/dhcpcd eth0
2009/11/18 08:47:03 :: dhcpcd: version 5.1.3 starting
2009/11/18 08:47:03 ::
2009/11/18 08:47:03 :: dhcpcd: eth0: broadcasting for a lease
2009/11/18 08:47:03 ::
2009/11/18 08:47:03 :: dhcpcd: eth0: invalid UDP packet from 127.0.0.1
2009/11/18 08:47:03 ::
2009/11/18 08:47:03 :: dhcpcd: eth0: carrier lost
2009/11/18 08:47:03 ::
2009/11/18 08:47:04 :: dhcpcd: eth0: carrier acquired
2009/11/18 08:47:04 ::
2009/11/18 08:47:04 :: dhcpcd: eth0: broadcasting for a lease
2009/11/18 08:47:04 ::
2009/11/18 08:47:05 :: dhcpcd: eth0: offered 141.26.71.84 from 141.26.64.75
2009/11/18 08:47:05 ::
2009/11/18 08:47:05 :: dhcpcd: eth0: acknowledged 141.26.71.84 from 141.26.64.75
2009/11/18 08:47:05 ::
2009/11/18 08:47:05 :: dhcpcd: eth0: checking for 141.26.71.84
2009/11/18 08:47:05 ::
2009/11/18 08:47:10 :: dhcpcd: eth0: leased 141.26.71.84 for 300 seconds
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: * Stopping ntpd... [ ok ]
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: * Starting ntpd...*** WARNING *** The program 'ntpd' uses the Apple Bonjour compatibility layer of Avahi.
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: *** WARNING *** Please fix your application to use the native API of Avahi!
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=ntpd>
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: [ ok ]
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: dhcpcd: forking to background
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 ::
2009/11/18 08:47:10 :: DHCP connection successful
2009/11/18 08:47:10 :: Connecting thread exiting.
2009/11/18 08:47:10 :: IP Address is: 141.26.71.84
2009/11/18 08:47:10 :: Sending connection attempt result Success
/var/log/wicd/wicd.log lines 2669-2682/2682 (END)
--8<---------------cut here---------------end--------------->8---

Hm, so it says it was a success! Why does the GUI not reflect that?

And why does wicd always connect to wireless networks even though an
ethernet cable is connected and I have set "Always switch to a wired
connection when available"?

Because it doesn't recognize the eth0 connection, after some time (I
think if I close the GUI again), it'll kill the wired connection and
switch back to wireless lan.

In the External Programs section, everything is on Automatic, but only
dhcpcd, mii-tool, route, and ktsuss are installed.

In the Advanced Settings I use the wext WPA Supplicant driver and the
ioctl backend.

I use wicd 1.6.2.2 on Gentoo GNU/Linux. dhcpcd is version 5.1.3, net-tools
is version 1.60_p20090728014017, and the kernel is 2.6.31 if that matters.

Could anybody provide some hints what might cause the problems? I'm
happy to do any debugging to provide the infos you need.

Bye,
Tassilo

Revision history for this message
tsdh (tassilo) wrote :

Just a short update: This bug persisted also with all 1.7.0 release candidates and with 1.7.0 itself.

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.