<div dir="ltr">I&#39;m trying to set up a kickstart server on my home network. I can&#39;t get network booting working. DHCPD and tftp are working, but the tftp request on the client is timing out with:<div><br></div><div>
PXE-E32 TFTP open timeout</div><div><br></div><div>I&#39;ve googled the heck out of this issue and can&#39;t find a fix. I was hoping someone here could help me out.</div><div><br></div><div>My dhcpd.conf file:</div><div>
<br></div><div><div>#</div><div># DHCP Server Configuration file.</div><div>#   see /usr/share/doc/dhcp*/dhcpd.conf.example</div><div>#   see dhcpd.conf(5) man page</div><div>#</div><div>option space pxelinux;</div><div>option pxelinux.magic code 208 = string;</div>
<div>option pxelinux.configfile code 209 = text;</div><div>option pxelinux.pathprefix code 210 = text;</div><div>option pxelinux.reboottime code 211 = unsigned integer 32;</div><div><br></div><div>allow booting;</div><div>
allow bootp;</div><div>class &quot;pxeclients&quot; {</div><div>        match if substring (option vendor-class-identifier, 0, 9) = &quot;PXEClient&quot;;</div><div>        next-server 192.168.10.90;</div><div>                </div>
<div>        filename &quot;pxelinux.0&quot;;<br></div><div>}</div><div>subnet 192.168.10.0 netmask 255.255.255.0 {</div><div>        option domain-name &quot;<a href="http://larsenhaus.org">larsenhaus.org</a>&quot;;</div>
<div>        option domain-search &quot;<a href="http://larsenhaus.org">larsenhaus.org</a>&quot;;</div><div>        option domain-name-servers 192.168.10.60,192.168.10.90;</div><div>        option routers 192.168.10.10;</div>
<div>        range dynamic-bootp 192.168.10.100 192.168.10.200;</div><div>        default-lease-time 3600;</div><div>        max-lease-time 4800;</div><div>}</div><div><br></div><div>My xinetd tftp file:</div><div><br></div>
<div><div># default: off</div><div># description: The tftp server serves files using the trivial file transfer \</div><div>#       protocol.  The tftp protocol is often used to boot diskless \</div><div>#       workstations, download configuration files to network-aware printers, \</div>
<div>#       and to start the installation process for some operating systems.</div><div>service tftp</div><div>{</div><div>        socket_type             = dgram</div><div>        protocol                = udp</div><div>
        wait                    = yes</div><div>        user                    = root</div><div>        server                  = /usr/sbin/in.tftpd</div><div>        #server                 = /usr/sbin/in.tftpd</div><div>
        server_args             = -s /tftpboot/pxelinux -v</div><div>        disable                 = no<br></div><div>        per_source              = 11</div><div>        cps                     = 100 2</div><div>        flags                   = IPv4</div>
</div><div>}</div><div><br></div><div>The contents of /tftpboot:</div><div><br></div><div><div>[root@kickstart tftpboot]# ls</div><div>cat.c32        disk.c32      gpxelinux.0 <b> install</b>     lua.c32      pcitest.c32   pxelinux.0   <a href="http://ver.com">ver.com</a></div>
<div>chain.c32      dmitest.c32   hdt.c32      <a href="http://int18.com">int18.com</a>   mboot.c32    pmload.c32    reboot.c32   vesainfo.c32</div><div>cmd.c32        elf.c32       host.c32     kbdmap.c32  memdisk      <a href="http://poweroff.com">poweroff.com</a>  rosh.c32     vesamenu.c32</div>
<div>config.c32     ethersel.c32  ifcpu64.c32  <b>ks-cfg</b>      <a href="http://memdump.com">memdump.com</a>  pwd.c32       sanboot.c32  vpdtest.c32</div><div>cpuid.c32      gfxboot.c32   ifcpu.c32    linux.c32   meminfo.c32  <a href="http://pxechain.com">pxechain.com</a>  sdi.c32      whichsys.c32</div>
<div>cpuidtest.c32  gpxecmd.c32   ifplop.c32   ls.c32      menu.c32     <b>pxelinux </b>     sysdump.c32  zzjson.c32</div></div><div><br></div><div>The contents of /tftpboot/install/fedora19:</div><div><br></div><div><div>
[root@kickstart tftpboot]# ls install/fedora-19/</div><div>Fedora-19-i386-netinst.iso</div></div><div><br></div><div>The contents of /tftpboot/ks-cfg:</div><div><br></div><div><div>[root@kickstart tftpboot]# ls ks-cfg</div>
<div>netbook-ks.cfg</div></div><div><br></div><div>The contents of /tftpboot/pxelinux:</div><div><br></div><div><div>[root@kickstart tftpboot]# ls pxelinux</div><div>initrd.img  pxelinux.0  pxelinux.cfg  vesamenu.c32  vmlinuz</div>
</div><div><br></div><div>The contents of /tftpboot/pxelinux/pxelinux.cfg:</div><div><br></div><div><div>[root@kickstart tftpboot]# ls pxelinux/pxelinux.cfg/</div><div>default</div></div><div><br></div><div>The contents of the default file:</div>
<div><br></div><div><div>[root@kickstart tftpboot]# cat pxelinux/pxelinux.cfg/default </div><div>default vesamenu.c32</div><div>prompt 1</div><div>timeout 600</div><div><br></div><div>display boot.msg</div><div><br></div>
<div>label linux</div><div>  menu label ^Install a new system</div><div>  menu default</div><div>  kernel vmlinuz</div><div>  append initrd=initrd.img repo=nfsiso::kickstart.larsenahus.org:/tftpboot/install/fedora-19</div>
<div>  ks=nfs:192.168.10.90:/tftpboot/ks-cfg/netbook-ks.cfg</div><div>label vesa</div><div>  menu label Install system with ^basic video driver</div><div>  kernel vmlinuz</div><div>  append initrd=initrd.img xdriver=vesa nomodeset repo=nfsiso::kickstart.larsenahus.org:/tftpboot/install/fedora-19</div>
<div>label memtest86</div><div>  menu label ^Memory test</div><div>  kernel memtest</div><div>  append -</div></div><div><br></div><div>My exports:</div><div><br></div><div><div>[root@kickstart ~]# exportfs</div><div>/tftpboot/install/fedora-19</div>
<div>                &lt;world&gt;</div></div><div><br></div><div>Perms on /tftpboot and subdirs are currently 777, everything owned by root.</div><div><br></div><div>The netbook acquires an IP address from DHCP and begins the tftp request, but times out as described above. tcpdump shows the client connecting to the tftp server:</div>
<div><br></div><div><div>[root@localhost ~]# tcpdump port 69 -v -i em1</div><div>tcpdump: listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes</div><div>19:41:53.028845 IP (tos 0x0, ttl 20, id 2, offset 0, flags [none], proto UDP (17), length 55)</div>
<div>    dhcp-101.larsenhaus.org.ah-esp-encap &gt; kickstart.larsenhaus.org.tftp:  27 RRQ &quot;pxelinux.0&quot; octet tsize 0</div><div>19:41:55.027661 IP (tos 0x0, ttl 20, id 3, offset 0, flags [none], proto UDP (17), length 55)</div>
<div>    dhcp-101.larsenhaus.org.acp-port &gt; kickstart.larsenhaus.org.tftp:  27 RRQ &quot;pxelinux.0&quot; octet tsize 0</div><div>19:41:59.037376 IP (tos 0x0, ttl 20, id 4, offset 0, flags [none], proto UDP (17), length 55)</div>
<div>    dhcp-101.larsenhaus.org.msync &gt; kickstart.larsenhaus.org.tftp:  27 RRQ &quot;pxelinux.0&quot; octet tsize 0</div><div>19:42:05.024477 IP (tos 0x0, ttl 20, id 5, offset 0, flags [none], proto UDP (17), length 55)</div>
<div>    dhcp-101.larsenhaus.org.gxs-data-port &gt; kickstart.larsenhaus.org.tftp:  27 RRQ &quot;pxelinux.0&quot; octet tsize 0</div><div>19:42:12.988945 IP (tos 0x0, ttl 20, id 6, offset 0, flags [none], proto UDP (17), length 55)</div>
<div>    dhcp-101.larsenhaus.org.vrtl-vmf-sa &gt; kickstart.larsenhaus.org.tftp:  27 RRQ &quot;pxelinux.0&quot; octet tsize 0</div><div>19:42:22.932113 IP (tos 0x0, ttl 20, id 7, offset 0, flags [none], proto UDP (17), length 60)</div>
<div>    dhcp-101.larsenhaus.org.newlixengine &gt; kickstart.larsenhaus.org.tftp:  32 RRQ &quot;pxelinux.0&quot; octet blksize 1456</div></div><div><br></div><div>But no boot.</div><div><br></div><div>During my research I saw a post somewhere that talked about tftp having issues with some RealTek network cards. The kickstart server is running a controller with the RTL8101E/RTL8102E chipset. The poster said he fixed his problem by setting the tftp block size explicitly to 512, but I&#39;ve been unable to determine how to do so.</div>
<div><br></div><div>Are there any obvious errors in my configuration? If not, can anyone advise how to set the tftp block size? Thanks in advance.</div><div><br></div><div>James</div><div><br></div>
</div></div>