Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267627 - net-misc/wicd-1.6.0_alpha2 removes the first digit of my WEP key upon every reboot, and consequently fails to connect
Summary: net-misc/wicd-1.6.0_alpha2 removes the first digit of my WEP key upon every r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 07:32 UTC by optiluca@gmail.com
Modified: 2009-05-05 05:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description optiluca@gmail.com 2009-04-27 07:32:45 UTC
Hi.  A few days ago portage pulled in an update to wicd.  Upon the next reboot, my wireless did not automagically connect to my WEP key secured access point, and a quick check in the connection settings in wicd-gui showed that for some obscure reason the first digit of my WEP key (a 0) had been removed.  Adding the 0 and pressing connect works and connects me back to the access point.  On every boot, the same thing happens.  Looks a lot like a bug in wicd...

Thanks in advance :)

PS

emerge --info

Portage 2.2_rc31 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================                                                
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.0.0         
Timestamp of tree: Mon, 27 Apr 2009 06:30:01 +0000                                                               
distcc 3.1 x86_64-pc-linux-gnu [enabled]                                                                         
ccache version 2.4 [enabled]                                                                                     
app-shells/bash:     4.0_p17-r1                                                                                  
dev-java/java-config: 2.1.7                                                                                      
dev-lang/python:     2.6.2                                                                                       
dev-util/ccache:     2.4-r8                                                                                      
dev-util/cmake:      2.6.3-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r2                                                                                    
sys-apps/sandbox:    1.9                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.19.1-r1                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"                                                                     
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                                                 
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"                                                                                                    
DISTDIR="/usr/portage/distfiles"                                                                                                                  
FEATURES="ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"        
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.jamit.de/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"              
LDFLAGS="-Wl,-O1"                                                                                                                                 
LINGUAS="en_GB it"                                                                                                                                
MAKEOPTS="-j3"                                                                                                                                    
PKGDIR="/usr/portage/packages"                                                                                                                    
PORTAGE_CONFIGROOT="/"                                                                                                                            
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                      
PORTAGE_TMPDIR="/var/tmp"                                                                                                                         
PORTDIR="/usr/portage"                                                                                                                            
PORTDIR_OVERLAY="/usr/local/portage/layman/THE /usr/local/portage/layman/kde-testing /usr/local/portage/layman/mpd /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apm avi bash-completion berkdb bluetooth branding bzip2 cairo caps cdaudio cddb cdr ch chm cli cracklib crypt css cups dbus dhcp dri dts dv dvb dvd dvdr dvdread editor emboss emovix encode evo fam fame fbcondecor ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif git glitz glx gphoto2 gpm hal iconv id3tag ieee1394 imagemagick inotify ipod ipv6 isdnlog it jack java joystick jpeg kde kdeprefixkickoff ladspa ldap libnotify libsamplerate lm_sensors mad mbrola midi mikmod mmx mp2 mp3 mp4 mpeg msn mudflap multilib musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl pmu png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba scanner sdl semantic-desktop session slp smp snmp spell spl sse sse2 ssl ssse3 startup-notification subtitles subversion svg sysfs tcpd threads tiff truetype twolame unicode usb v4l v4l2 vorbis wifi x264 xcb xcomposite xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics alps mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1.Emerge net-misc/wicd-1.6.0_alpha2
2.Add to default runlevel, configure with wicd-gui
3.Reboot, connect fails :(

Actual Results:  
Wicd-client icon shows that I am not connected, and only editing the stored WEP key makes the connection work

Expected Results:  
Automagic connection :)
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-27 21:24:09 UTC
Where are you editing the key? gui or file?

Upon multiple reboots, does the first char get truncated multiple times? ie. if you reboot twice does both of the first chars go away?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-27 22:51:43 UTC
Additionally, the upstream devs are inquiring about your WEP key. Is it all 0-9 digits?
Comment 3 optiluca@gmail.com 2009-04-28 06:08:22 UTC
Hi :)

Suspending and resuming has the same effect as a restart too, and once it has truncated the preceding 0 it does not truncate any more digits.  I am using a 10 digit hex passkey (where I am only using 0-9 digits however).  All of this happens through the gui.
Comment 4 optiluca@gmail.com 2009-04-28 08:23:49 UTC
I can add that not even a reboot/suspend is necessary. If I add the 0 to my wep key, connect and re-enter the settings menu the 0 has already been removed. :S
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-28 15:44:35 UTC
(In reply to comment #3)
> Hi :)
> 
> Suspending and resuming has the same effect as a restart too, and once it has
> truncated the preceding 0 it does not truncate any more digits.  I am using a
> 10 digit hex passkey (where I am only using 0-9 digits however).  All of this
> happens through the gui.
> 

ah, ok.

If you want a quickfix (and have access) - you can change the passphrase to have a letter in it. Otherwise, there will be a new alpha/beta tomorrow that has the fix too.
Comment 6 optiluca@gmail.com 2009-04-28 15:49:46 UTC
Awesome :) I shall wait patiently :P
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-05 05:06:25 UTC
"tomorrow" was a relative term =P

alpha3 was released within the past hour, gentoo has it now. reopen if needed.