Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184694 - net-misc/dhcpcd-3.0.18 times out without getting address
Summary: net-misc/dhcpcd-3.0.18 times out without getting address
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 06:19 UTC by Lee
Modified: 2007-07-10 08:25 UTC (History)
0 users

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


Attachments
Wireshark_Trace_dhcpcd-3.0.17 (Wireshark_Trace_dhcpcd-3.0.17,4.51 KB, text/plain)
2007-07-09 23:01 UTC, Lee
Details
Wireshark_Trace_dhcpcd-3.0.18 (Wireshark_Trace_dhcpcd-3.0.18,7.44 KB, text/plain)
2007-07-09 23:01 UTC, Lee
Details
Wireshark_Trace_dhcpcd-3.0.17.txt (Wireshark_Trace_dhcpcd-3.0.17.txt,15.09 KB, text/plain)
2007-07-09 23:11 UTC, Lee
Details
Wireshark_Trace_dhcpcd-3.0.18.txt (Wireshark_Trace_dhcpcd-3.0.18.txt,16.98 KB, text/plain)
2007-07-09 23:11 UTC, Lee
Details
End option then pad (dhcpcd.patch,712 bytes, patch)
2007-07-09 23:13 UTC, Roy Marples (RETIRED)
Details | Diff
End option then pad (dhcpcd.patch,604 bytes, patch)
2007-07-09 23:15 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lee 2007-07-09 06:19:37 UTC
I seem to get this error with dhcpcd-3.0.18
 * Starting wlan0
 *   Configuring wireless network for wlan0
 *     wlan0 connected to ESSID "******" at 00:18:39:CF:A8:BA
 *     in managed mode on channel 6 (WEP enabled - open)
 *   Configuration not set for wlan0 - assuming DHCP
 *   Bringing up wlan0
 *     dhcp
 *       Running dhcpcd ...
Error, wlan0: timed out                                                                                                                                                   


Same thing with eth0. I down graded to dhcpcd-3.0.17 now works fine.

Reproducible: Always




emerge --info
Portage 2.1.3_rc6 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 07 Jul 2007 19:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addbookmarks alias alsa artworkextra avahi bitmap-fonts bluetooth bogofilter branding bzip2 cdr cli connectionstatus cracklib crypt css cups dbus dc1394 device-mapper dga divx dri dts dv dvd dvdr dvdread eds emerald encode epiphany extrafilters fat ffmpeg firefox flac fortran gdbm gif gimp glitz gmedia gnome gphoto2 gpm grammer gsm gtk hal highlight history iconv ieee1394 ipod ipv6 irc isdnlog java jbig jpeg jpeg2k keyring kqemu lame ldap libg++ libgda libsamplerate live logrotate mad math midi mjpeg mmx mng mod mp3 mpeg msn mudflap musepack musicbrainz ncurses netmeeting network nfs nls nowlistening nptl nptlonly ntfs offensive ogg opengl openmp ots pam pcmcia pcre pda pdf perl png ppds pppd python quicktime readline real realmedia reflection reiserfs samba scanner server session shout skins smp sms spell spl sse sse2 ssl statistics stream svg tcpd texteffect theora thesaurus threadsafe tiff translator truetype truetype-fonts type1-fonts unicode upnp usb v4l v4l2 vcd vidix visualization vlm vorbis wavpack webpresence wifi win32codecs wmf wmp wordperfect x264 x86 xfs xine xml xorg xprint xscreensaver xv xvid yahoo yv12 zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeon v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-07-09 06:34:38 UTC
Interesting. Could you attach a wireshark trace from 3.0.17 and 3.0.18 please? Thanks
Comment 2 Lee 2007-07-09 23:01:24 UTC
Created attachment 124377 [details]
Wireshark_Trace_dhcpcd-3.0.17
Comment 3 Lee 2007-07-09 23:01:57 UTC
Created attachment 124379 [details]
Wireshark_Trace_dhcpcd-3.0.18
Comment 4 Lee 2007-07-09 23:05:10 UTC
I hope the two files I attached help. If you need any more info, just let me know.
Thank You For Your Time and Effort Roy Marples
-Curt
Comment 5 Lee 2007-07-09 23:11:14 UTC
Created attachment 124381 [details]
Wireshark_Trace_dhcpcd-3.0.17.txt

Plain text version
Comment 6 Lee 2007-07-09 23:11:54 UTC
Created attachment 124382 [details]
Wireshark_Trace_dhcpcd-3.0.18.txt

Plain text
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-07-09 23:13:43 UTC
Created attachment 124384 [details, diff]
End option then pad

Try this patch and report back.
Comment 8 Lee 2007-07-09 23:15:36 UTC
I realized after posting the first two files, they had to be opened in Wireshark. So I also posted a plain text version. So people didn't have to emerge Wireshark to view the file.
Comment 9 Roy Marples (RETIRED) gentoo-dev 2007-07-09 23:15:44 UTC
Created attachment 124386 [details, diff]
End option then pad

Removed a little debug
Comment 10 Lee 2007-07-10 00:02:29 UTC
I tried your first patch. It worked. I went to post and realized you posted a new patch
I started over with the new patch. It worked great.

I probably didn't use the best way, but it work.
I ran emerge dhcpcd
I then hit Ctrl+z right before emerge started compiling
cd /var/tmp/portage/net-misc/dhcpcd-3.0.18/work/dhcpcd-3.0.18
patch -p1 < dhcpcd.patch
fg

I am very new to ebuilds. I have read the Ebuild HOWTO doc, but it is over my head. I would have added the patching to the ebuild, but I don't know how.

Thank You For Your Time and Effort Roy Marples
-Curt
Comment 11 Roy Marples (RETIRED) gentoo-dev 2007-07-10 08:25:23 UTC
Fixed in 3.0.19 - thanks

To patch an ebuild, look at any of the -r1 ebuilds in /usr/portage/net-misc/dhcpcd and see how the epatch command works :)