Package: wicd
Version: 1.7.0+ds1-5
Severity: important

WICD won't connect through wireless. My setup is using WPA2 but I have also
tried without encryption with no luck. If I use version 1.6 from Lenny backport
I can connect with WPA2. When I look in the 1.7 log it says it was connected
successfully but I can assure it isn't so. :-)

I have attached 3 log files



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd depends on:
ii  wicd-daemon                  1.7.0+ds1-5 wired and wireless network manager
ii  wicd-gtk [wicd-client]       1.7.0+ds1-5 wired and wireless network manager

wicd recommends no packages.

wicd suggests no packages.

Versions of packages wicd-gtk depends on:
ii  python                  2.6.6-3+squeeze4 interactive high-level object-orie
ii  python-glade2           2.17.0-4         GTK+ bindings: Glade support
ii  python-gtk2             2.17.0-4         Python bindings for the GTK+ widge
ii  wicd-daemon             1.7.0+ds1-5      wired and wireless network manager

Versions of packages wicd-daemon depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  dbus                  1.2.24-4           simple interprocess messaging syst
ii  debconf [debconf-2.0] 1.5.37             Debian configuration management sy
ii  iputils-ping          3:20100418-3       Tools to test the reachability of 
ii  lsb-base              3.2-26             Linux Standard Base 3.2 init scrip
ii  net-tools             1.60-23            The NET-3 networking toolkit
ii  psmisc                22.13-1            utilities that use the proc file s
ii  pump                  0.8.24-7           BOOTP and DHCP client for automati
ii  python                2.6.6-3+squeeze4   interactive high-level object-orie
ii  python-dbus           0.83.1-1           simple interprocess messaging syst
ii  python-gobject        2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii  python-iniparse       0.3.2-1            Module to access and modify config
ii  python-wicd           1.7.0+ds1-5        wired and wireless network manager
ii  wireless-tools        30~pre9-5          Tools for manipulating Linux Wirel
ii  wpasupplicant         0.6.10-2.1         client support for WPA and WPA2 (I

Versions of packages python-wicd depends on:
ii  python                  2.6.6-3+squeeze4 interactive high-level object-orie
ii  python-support          1.0.11           automated rebuilding support for P

-- Configuration Files:
/etc/dbus-1/system.d/wicd.conf changed:
<!-- /etc/dbus-1/system.d/wicd.conf -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
        <policy user="root">
                <allow own="org.wicd.daemon"/>
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
                <allow send_destination="org.wicd.daemon.wireless"/>
                <allow send_interface="org.wicd.daemon.wireless"/>
                <allow send_destination="org.wicd.daemon.wired"/>
                <allow send_interface="org.wicd.daemon.wired"/>
        </policy>
        <policy context="default">
                <deny own="org.wicd.daemon"/>
        </policy>
        <!-- This Unix group will have permission to use Wicd's gui -->
        <policy group="netdev">
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
                <allow send_interface="org.freedesktop.DBus.Introspectable"/>
                <!-- The Introspectable allow shouldn't be needed here, but
                     it seems that a few distributions aren't yet allowing
                     it in their hal configs, and we need it here, so... -->
        </policy>
       <!-- Comment the block below if you do not want all users logged in 
            locally to have permission to use wicd-client.  This ignores the 
            group based permission model defined above for the "netdev"
            group. Note that this only applies if you are using ConsoleKit -
            if you do not have ConsoleKit installed and in use, then this
            block makes no difference either way.  -->
        <policy at_console="true">
                <allow send_destination="org.wicd.daemon"/>
                <allow send_interface="org.wicd.daemon"/>
                <allow send_destination="org.wicd.daemon.wireless"/>
                <allow send_interface="org.wicd.daemon.wireless"/>
                <allow send_destination="org.wicd.daemon.wired"/>
                <allow send_interface="org.wicd.daemon.wired"/>
                <allow send_interface="org.freedesktop.DBus.Introspectable"/>
        </policy>
</busconfig>

/etc/init.d/wicd changed:
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Network connection manager"
NAME=wicd
RUNDIR=/var/run/$NAME
DAEMON=/usr/sbin/$NAME
DAEMON_ARGS=""
PIDFILE=$RUNDIR/wicd.pid
SCRIPTNAME=/etc/init.d/wicd
[ -x "$DAEMON" ] || exit 0
[ -d "$RUNDIR" ] || mkdir -p "$RUNDIR"
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
[ -f /etc/default/rcS ] && . /etc/default/rcS
.. /lib/lsb/init-functions
VERBOSE=yes
do_start()
{
        # Return
        #   0 if daemon has been started
        #   1 if daemon was already running
        #   2 if daemon could not be started
        #   vvvv -- don't do this -- vvvv
        #   [ -e $PIDFILE ] && return 1
        start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON 
--test > /dev/null \
                || return 1
        start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON 
-- \
                $DAEMON_ARGS > /dev/null 2> /dev/null\
                || return 2
        # Add code here, if necessary, that waits for the process to be ready
        # to handle requests from services started subsequently which depend
        # on this one.  As a last resort, sleep for some time.
}
do_stop()
{
        # Return
        #   0 if daemon has been stopped
        #   1 if daemon was already stopped
        #   2 if daemon could not be stopped
        #   other if a failure occurred
        start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
$PIDFILE --name $NAME
        RETVAL="$?"
        [ "$RETVAL" = 2 ] && return 2
        # Wait for children to finish too if this is a daemon that forks
        # and if the daemon is only ever run from this initscript.
        # If the above conditions are not satisfied then add some other code
        # that waits for the process to drop all resources that could be
        # needed by services started subsequently.  A last resort is to
        # sleep for some time.
        start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec 
$DAEMON
        [ "$?" = 2 ] && return 2
        # Many daemons don't delete their pidfiles when they exit.
        rm -f $PIDFILE
        return "$RETVAL"
}
do_reload() {
        #
        # If the daemon can reload its configuration without
        # restarting (for example, when it is sent a SIGHUP),
        # then implement that here.
        #
        start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name 
$NAME
        return 0
}
case "$1" in
  start)
        if [ "$START_DAEMON" != no ]; then
            [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
            do_start
        case "$?" in
            0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
            2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
        else
            log_warning_msg "Not starting wicd daemon. Please edit 
/etc/default/wicd first."
        fi
        ;;
  stop)
        [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
        do_stop
        case "$?" in
                0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
        esac
        ;;
  #reload|force-reload)
        #
        # If do_reload() is not implemented then leave this commented out
        # and leave 'force-reload' as an alias for 'restart'.
        #
        #log_daemon_msg "Reloading $DESC" "$NAME"
        #do_reload
        #log_end_msg $?
        #;;
  restart|force-reload)
        #
        # If the "reload" option is implemented then remove the
        # 'force-reload' alias
        #
        log_daemon_msg "Restarting $DESC" "$NAME"
        do_stop
        case "$?" in
          0|1)
            if [ "$START_DAEMON" != no ]; then
                do_start
            case "$?" in
                0) log_end_msg 0 ;;
                1) log_end_msg 1 ;; # Old process is still running
                *) log_end_msg 1 ;; # Failed to start
            esac
        else
            log_warning_msg "Not starting wicd daemon. Please edit 
/etc/default/wicd first."
        fi
                ;;
          *)
                # Failed to stop
                log_end_msg 1
                ;;
        esac
        ;;
  status)
        status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
        exit 3
        ;;
esac
:

/etc/xdg/autostart/wicd-tray.desktop changed:
[Desktop Entry]
Categories=Application;Network;
Exec=wicd-gtk
GenericName=Network Manager
Icon=wicd-gtk
Icon[en_US]=wicd-gtk
Name=Wicd Network Manager Tray
Name[en_US]=Wicd Network Manager Tray
Comment=Display network connection status in the system tray
Comment[en_US]=Display network connection status in the system tray
Terminal=false
Type=Application
Version=1.0
X-GNOME-Autostart-enabled=true
X-KDE-autostart-after=panel


-- debconf information:
* wicd/users: ole
* wicd/users: ole
2010/12/29 15:28:48 :: Connecting to wireless network Svinget11
2010/12/29 15:28:48 :: Putting interface down
2010/12/29 15:28:48 :: Releasing DHCP leases...
2010/12/29 15:28:48 :: Setting false IP...
2010/12/29 15:28:49 :: Stopping wpa_supplicant
2010/12/29 15:28:50 :: Flushing the routing table...
2010/12/29 15:28:50 :: Putting interface up...
2010/12/29 15:28:50 :: Attempting to authenticate...
2010/12/29 15:28:54 :: Running DHCP
2010/12/29 15:28:55 :: 
2010/12/29 15:28:55 :: DHCP connection successful
2010/12/29 15:28:55 :: Connecting thread exiting.
2010/12/29 15:28:56 :: Sending connection attempt result Success
2010/12/29 14:52:27 :: Connecting to wireless network Svinget11
2010/12/29 14:52:29 :: Putting interface down
2010/12/29 14:52:29 :: Releasing DHCP leases...
2010/12/29 14:52:29 :: Setting false IP...
2010/12/29 14:52:30 :: Stopping wpa_supplicant
2010/12/29 14:52:30 :: Flushing the routing table...
2010/12/29 14:52:30 :: Putting interface up...
2010/12/29 14:52:32 :: Generating psk...
2010/12/29 14:52:32 :: Attempting to authenticate...
2010/12/29 14:52:40 :: Running DHCP with hostname Leitra
2010/12/29 14:52:43 :: 
2010/12/29 14:52:43 :: DHCP connection successful
2010/12/29 14:52:43 :: not verifying
2010/12/29 14:52:43 :: Connecting thread exiting.
2010/12/29 14:52:43 :: Sending connection attempt result Success
2010/12/29 15:00:46 :: setting use global dns to 0
2010/12/29 15:00:46 :: setting global dns
2010/12/29 15:00:46 :: global dns servers are   
2010/12/29 15:00:46 :: domain is 
2010/12/29 15:00:46 :: search domain is 
2010/12/29 15:00:46 :: setting wireless interface wlan0
2010/12/29 15:00:46 :: setting wired interface eth0
2010/12/29 15:00:46 :: setting wpa driver wext
2010/12/29 15:00:46 :: setting automatically reconnect when connection drops 1
2010/12/29 15:00:46 :: setting backend to external
2010/12/29 15:00:46 :: Setting dhcp client to 0
2010/12/29 15:00:47 :: ifconfig eth0
2010/12/29 15:00:47 :: ifconfig wlan0
2010/12/29 15:00:47 :: Connecting to wireless network Svinget11
2010/12/29 15:00:47 :: iwconfig wlan0
2010/12/29 15:00:47 :: /sbin/pump -r -i wlan0
2010/12/29 15:00:47 :: ifconfig wlan0 0.0.0.0 
2010/12/29 15:00:48 :: /sbin/route del dev wlan0
2010/12/29 15:00:48 :: ifconfig wlan0 down
2010/12/29 15:00:48 :: ifconfig wlan0 up
2010/12/29 15:00:49 :: wpa_cli -i wlan0 terminate
2010/12/29 15:00:49 :: /sbin/pump -r -i eth0
2010/12/29 15:00:49 :: ifconfig eth0 0.0.0.0 
2010/12/29 15:00:49 :: /sbin/route del dev eth0
2010/12/29 15:00:49 :: ifconfig eth0 down
2010/12/29 15:00:49 :: ifconfig eth0 up
2010/12/29 15:00:49 :: Putting interface down
2010/12/29 15:00:49 :: ifconfig wlan0 down
2010/12/29 15:00:50 :: Releasing DHCP leases...
2010/12/29 15:00:50 :: /sbin/pump -r -i wlan0
2010/12/29 15:00:50 :: Setting false IP...
2010/12/29 15:00:50 :: ifconfig wlan0 0.0.0.0 
2010/12/29 15:00:50 :: iwconfig wlan0
2010/12/29 15:00:51 :: Stopping wpa_supplicant
2010/12/29 15:00:51 :: wpa_cli -i wlan0 terminate
2010/12/29 15:00:51 :: Flushing the routing table...
2010/12/29 15:00:51 :: /sbin/route del dev wlan0
2010/12/29 15:00:51 :: iwconfig wlan0 mode managed
2010/12/29 15:00:51 :: Putting interface up...
2010/12/29 15:00:51 :: ifconfig wlan0 up
2010/12/29 15:00:53 :: enctype is wpa
2010/12/29 15:00:53 :: Generating psk...
2010/12/29 15:00:53 :: ['/usr/bin/wpa_passphrase', 'Svinget11', '*****']
2010/12/29 15:00:53 :: Attempting to authenticate...
2010/12/29 15:00:53 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', 
'/var/lib/wicd/configurations/0019cbdad014', '-D', 'wext']
2010/12/29 15:00:53 :: ['iwconfig', 'wlan0', 'essid', '--', 'Svinget11']
2010/12/29 15:00:53 :: iwconfig wlan0 channel 1
2010/12/29 15:00:53 :: iwconfig wlan0 ap 00:19:CB:DA:D0:14
2010/12/29 15:00:54 :: WPA_CLI RESULT IS DISCONNECTED
2010/12/29 15:00:55 :: WPA_CLI RESULT IS DISCONNECTED
2010/12/29 15:00:56 :: WPA_CLI RESULT IS DISCONNECTED
2010/12/29 15:00:57 :: WPA_CLI RESULT IS ASSOCIATED
2010/12/29 15:00:58 :: WPA_CLI RESULT IS ASSOCIATED
2010/12/29 15:00:59 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2010/12/29 15:01:00 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2010/12/29 15:01:01 :: WPA_CLI RESULT IS COMPLETED
2010/12/29 15:01:01 :: Running DHCP with hostname Leitra
2010/12/29 15:01:01 :: /sbin/pump -i wlan0 -h Leitra
2010/12/29 15:01:04 :: 
2010/12/29 15:01:04 :: DHCP connection successful
2010/12/29 15:01:04 :: not verifying
2010/12/29 15:01:04 :: Connecting thread exiting.
2010/12/29 15:01:04 :: ifconfig wlan0
2010/12/29 15:01:04 :: IP Address is: 192.168.1.102
2010/12/29 15:01:04 :: Sending connection attempt result Success
2010/12/29 15:01:04 :: ifconfig eth0
2010/12/29 15:01:04 :: iwconfig wlan0
2010/12/29 15:01:04 :: Forced disconnect on
2010/12/29 15:01:04 :: /sbin/pump -r -i wlan0
2010/12/29 15:01:04 :: ifconfig wlan0 0.0.0.0 
2010/12/29 15:01:05 :: /sbin/route del dev wlan0
2010/12/29 15:01:05 :: ifconfig wlan0 down
2010/12/29 15:01:05 :: ifconfig wlan0 up
2010/12/29 15:01:06 :: wpa_cli -i wlan0 terminate
2010/12/29 15:01:06 :: /sbin/pump -r -i eth0
2010/12/29 15:01:06 :: ifconfig eth0 0.0.0.0 
2010/12/29 15:01:06 :: /sbin/route del dev eth0
2010/12/29 15:01:06 :: ifconfig eth0 down
2010/12/29 15:01:06 :: ifconfig eth0 up
2010/12/29 15:01:06 :: iwconfig wlan0
2010/12/29 15:01:06 :: ifconfig eth0
2010/12/29 15:01:06 :: ifconfig wlan0
2010/12/29 15:01:08 :: found backend in configuration external
2010/12/29 15:01:09 :: ifconfig eth0
2010/12/29 15:01:09 :: ifconfig wlan0
2010/12/29 15:01:11 :: ifconfig eth0
2010/12/29 15:01:11 :: ifconfig wlan0
2010/12/29 15:01:13 :: ifconfig eth0
2010/12/29 15:01:13 :: ifconfig wlan0
2010/12/29 15:01:13 :: setting use global dns to 0
2010/12/29 15:01:13 :: setting global dns
2010/12/29 15:01:13 :: global dns servers are   
2010/12/29 15:01:13 :: domain is 
2010/12/29 15:01:13 :: search domain is 
2010/12/29 15:01:13 :: setting wireless interface wlan0
2010/12/29 15:01:13 :: setting wired interface eth0
2010/12/29 15:01:13 :: setting wpa driver wext
2010/12/29 15:01:13 :: setting automatically reconnect when connection drops 1
2010/12/29 15:01:14 :: setting backend to external
2010/12/29 15:01:14 :: Setting dhcp client to 0

Reply via email to