Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21187 - dhcpcd-1.3.22_p4 does not detect IP address properly
Summary: dhcpcd-1.3.22_p4 does not detect IP address properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 09:24 UTC by Claudio Bandaloukas
Modified: 2004-01-18 03:18 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 Claudio Bandaloukas 2003-05-18 09:24:18 UTC
I have an OpenBSD router on 192.168.0.1 running dhcpd. 
 
When I upgraded my Gentoo box to dhcpcd-1.3.22_p4, dhcpcd would always try to use 
IP address 192.168.2.2 even though the router would send back DHCPNAKs... 
 
I tried removing all files in /etc/dhcpcd and /var/db/dhcpd.leases on the router to no 
avail. 
 
When I downgraded to dhcpcd-1.3.22_p3-r3, everything works fine again 
 

Reproducible: Always
Steps to Reproduce:
1.upgrade to dhcpcd-1.3.22_p4 
2.run neth.eth0 start 
3. 
Actual Results:  
ifconfig reports that eth0 uses IP address 192.168.2.2 

Expected Results:  
dhcpcd should have assigned eth0 an adress between 192.168.0.2 and 192.168.0.12 
 

# dhcpd.conf 
shared-network LOCAL-NET { 
        option  domain-name "casagioie"; 
        option  domain-name-servers 192.168.0.1; 
 
        subnet 192.168.0.0 netmask 255.255.255.0 { 
                option routers 192.168.0.1; 
 
                range 192.168.0.2 192.168.0.12; 
        } 
} 
 
emerge info 
bman root # emerge info 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 Celeron (Coppermine) 
GENTOO_MIRRORS="http://gentoo.linux.no/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow crypt libg++ ncurses nls spell gtkhtml gdbm berkdb slang bonobo 
svga guile gpm tcpd libwww esd imlib qt motif cdr X apm dga cups java junit matrox 
mikmod mozilla odbc pam pdflib gtk gnome -alsa kde qtmt quicktime readline samba 
scanner ssl tetex usb wmf xmms xv zlib arts python perl oggvorbis opengl sdl postgres 
jpeg png gif truetype xml xml2 dvd avi mpeg encode mmx sse" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -msse -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium3 -msse -mfpmath=sse,387 -O3 -pipe 
-fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-09-06 16:44:36 UTC
This may be a path issue. try 1.3.22_p4-r1 which will be committed later today. Post here whether it works or not.
Comment 2 Andrew Cooks (RETIRED) gentoo-dev 2004-01-18 03:18:59 UTC
This bug died from old age. It's probably been fixed ages ago.

Please reopen if neccessary.