Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 70032

Summary: cannot connect to WLAN with dhcpcd-1.3.22_p4-r6, but with 1.3.22_p4-r5 it works
Product: Gentoo Linux Reporter: Tassilo Horn <tsdh>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tassilo Horn 2004-11-04 04:13:18 UTC
Hi. 
Since the upgrade to net-misc/dhcpcd-1.3.22_p4-r6 I get the following error when I start my WLAN device (eth1):

root@inspiron> /etc/init.d/net.eth1 restart                             
 * Starting eth1
 *    Configuring wireless network for eth1
 *       eth1 connected to "tsunami" at 00:40:96:44:71:D3
 *       in managed mode on channel 8 (WEP disabled)
 *    Bringing up eth1
 *       eth1 dhcp
 *       No loaded modules provide "dhcp" (dhcp_start)                  [ !! ]

I downgraded to version 1.3.22_p4-r5 and it works again. Then the output of a successful connect is:

root@inspiron> /etc/init.d/net.eth1 restart        /usr/portage/net-misc/dhcpcd
 * Starting eth1
 *    Configuring wireless network for eth1
 *       eth1 connected to "tsunami" at 00:40:96:44:71:D3
 *       in managed mode on channel 8 (WEP disabled)
 *    Bringing up eth1
 *       eth1 dhcp
 *          Running dhcpcd ...                                          [ ok ]
 *          eth1 received address 141.26.93.143

Regards,
Tassilo

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/net.eth1 {start,restart}
2.
3.




Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 
2.6.8-ck7 i686) 
================================================================= 
System uname: 2.6.8-ck7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz 
Gentoo Base System version 1.6.5 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -mtune=pentium4m -Os -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -mtune=pentium4m -Os -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox" 
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mir.zyrianes.net/gentoo/ 
http://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/ 
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X acpi alsa ansi auctex audiofile avi berkdb bitmap-fonts bzlib 
cdparanoiacdr crypt cups dio dvd emacs encode faac faad flac freetype ftp gdbm 
gif gnutlsgpm gprof graphviz gstreamer gtk gtk2 icq imagemagick imap imlib 
imlib2 ipv6 ithreads jabber jack jack-tmpfs java javascript jpeg jpeg2k kde 
libwww live mad mikmod mmx mmx2 mng motif mozxmlterm mpeg ncurses network nls 
no_wxgtk1 nptl offensive oggvorbis openal opengl pam pcmcia pdflib pic png pnp 
qt quicktime readlinereal rtc ruby sdl slang slp speex sse ssl svg tcpd tetex 
theora threads tidy tiff truetype type1 unicode usb videos wmf wxwindows x86 
xine xml2 xpm xprint xv xvid zlib linguas_de"
Comment 1 Paul Taylor 2004-11-04 04:53:56 UTC
Confirmed.  I had the same problem with my onboard ethernet adapter (Marvell Yukon chipset, eth0), so it isn't WLAN-specific.  Like Tassilo, reverting to 1.3.22_p4-r5 fixed the problem.
Comment 2 Casen P. 2004-11-04 09:41:44 UTC
I had the same problem, after some investigation I found the init script for net.eth0 dhcpcd configuration looks for /sbin/dhcpcd, but the new version of dhcpcd installs to /usr/sbin/dhcpcd

'ln -s /usr/sbin/dhcpcd /sbin/dhcpcd' fixed the problem until they release an updated init script.

For DHCP, net.eth0 initializes /lib/rcscripts/net.modules/dhcpcd. Lines 31 through 35 of that script:
Code:

dhcpcd_check_installed() {
   [[ -x /sbin/dhcpcd ]] && return 0
   [[ ${1} == true ]] && eerror "For DHCP (dhcpcd) support, emerge net-misc/dhcpcd"
   return 1
} 
Comment 3 Roy Marples (RETIRED) gentoo-dev 2004-11-04 10:49:29 UTC
use dhcpcd -r5 or -r7 but not -r6

*** This bug has been marked as a duplicate of 70018 ***