Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129152 - dhcp 3.0.3 does not work with tftp
Summary: dhcp 3.0.3 does not work with tftp
Status: RESOLVED DUPLICATE of bug 122941
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 10:32 UTC by emmiller
Modified: 2006-04-07 10:42 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 emmiller 2006-04-07 10:32:23 UTC
Upgrading to dhcp 3.0.3 from 3.0.1 made it so that PXE clients can not receive a bootloader through tftp. The client receives an IP address, requests the file, but then displays the error "transmit timed out." The server's logs show this:

Apr  3 11:44:27 dauphin dhcpd: DHCPDISCOVER from 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:27 dauphin dhcpd: DHCPOFFER on 192.168.1.106 to 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:29 dauphin dhcpd: DHCPREQUEST for 192.168.1.106 (192.168.1.100) from 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:29 dauphin dhcpd: DHCPACK on 192.168.1.106 to 00:e0:81:2f:6f:4c via eth2
Apr  3 15:44:29 dauphin in.tftpd[10206]: RRQ from 192.168.1.106 filename /narwhal6/boot/pxegrub
Apr  3 15:44:29 dauphin in.tftpd[10206]: tftp: client does not accept options
Apr  3 15:44:29 dauphin in.tftpd[10207]: RRQ from 192.168.1.106 filename /narwhal6/boot/pxegrub
Apr  3 11:44:44 dauphin dhcpd: DHCPDISCOVER from 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:44 dauphin dhcpd: DHCPOFFER on 192.168.1.106 to 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:44 dauphin dhcpd: DHCPREQUEST for 192.168.1.106 (192.168.1.100) from 00:e0:81:2f:6f:4c via eth2
Apr  3 11:44:44 dauphin dhcpd: DHCPACK on 192.168.1.106 to 00:e0:81:2f:6f:4c via eth2


I couldn't find the older version of dhcp in the portage tree, so to fix the problem on my server I manually compiled dhcp 3.0.2 and replaced the binary /usr/sbin/dhcpd. It works now, so the problem, I presume, is with the 3.0.3 program and not with the configuration. Here is my /etc/dhcp/dhcpd.conf:

option domain-name "williams.edu";
option domain-name-servers 137.165.4.2, 137.165.4.21; 

default-lease-time 600;
max-lease-time 7200;

boot-unknown-clients false;

subnet 192.168.1.0 netmask 255.255.255.0
{
  option routers 192.168.1.1;
}
allow bootp;
allow booting;

option option-150 code 150 = text ;
ddns-update-style none;
group {
        host narwhal1 {
                hardware ethernet 00:e0:81:2f:6d:8a; # 8b;
                fixed-address 192.168.1.101;
                option option-150 "/narwhal1/boot/grub.lst";
                filename "/narwhal1/boot/pxegrub";
        }
  #snip
}





dauphin ~ # emerge --info
Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 bash-completion bcmath berkdb bitmap-fonts bzip2 cluster crypt cscope cups curl dri emacs emboss expat extraengine foomaticdb gd gdbm gif gpm gstreamer imagemagick imlib innodb ipv6 isdnlog java jpeg junit libwww lzw lzw-tiff mysql mysqli ncurses netboot nis pam pdflib perl plotutils png pppd python quicktime readline ruby session soap spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-07 10:42:31 UTC

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