ipxe and DNSMASQ - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: ipxe and DNSMASQ (/showthread.php?tid=10746) |
ipxe and DNSMASQ - JCDinPGH - 2018-01-13 03:57 I have a FOG server setup and working correctly. Because I am using it at home, my FIOS router also provides a DHCP server so I want to use DNSMASQ as a DHCP proxy server to handle requests and respond with a TFTP address. So far, this is all working correctly. When I PXE boot, it correctly gets a DHCP address from the FIOS router and DNSMASQ correctly provides the TFTP ip address. IPXE correctly loads but always prompts for a TFTP ip address. I know this usually occurs when there are multiple DHCP servers in the network but I have verified the only DHCP server is the one provided by the FIOS router. DHCPD is stopped on the FOG server. To test this, I disabled the DHCP server on the FIOS router, and the PXE boot just hangs as it never receives an IP address. I also created a menu entry in the FOG server that executes the "config" command so I could look at the IPXE settings, and I verified that the NEXT-SERVER/Option 66 was correctly set to the ip address of the TFTP server. If I manually enter the TFTP address, which the same as the FOG server, it PXE boots correctly to the menus entries I have configured on the FOG server. What I can't figure out is why does IPXE always prompt for a TFTP address when it looks like everything is configured correctly and I have verified there is only the FIOS DHCP router providing DHCP. I'm so close to getting this to work! Help! Below is my /etc/dnsmasq.d/ltsp.conf file. Code: port=0 RE: ipxe and DNSMASQ - JCDinPGH - 2018-01-14 05:52 (2018-01-13 03:57)JCDinPGH Wrote: I have a FOG server setup and working correctly. Because I am using it at home, my FIOS router also provides a DHCP server so I want to use DNSMASQ as a DHCP proxy server to handle requests and respond with a TFTP address. So far, this is all working correctly. When I PXE boot, it correctly gets a DHCP address from the FIOS router and DNSMASQ correctly provides the TFTP ip address. IPXE correctly loads but always prompts for a TFTP ip address. I know this usually occurs when there are multiple DHCP servers in the network but I have verified the only DHCP server is the one provided by the FIOS router. DHCPD is stopped on the FOG server. To test this, I disabled the DHCP server on the FIOS router, and the PXE boot just hangs as it never receives an IP address. I also have gotten this partially solved with the following ltsp.conf: Code: # Don't function as a DNS server: The only issue that is left, is that when using the ltsp.conf, above is that the UEFI boot works correctly, the "legacy" boot gets a: “no space left on device”. http://ipxe.org/34182006 error when loading the boot.wim file which is larger than normal because it is built using WINBUILDER and includes several utilities and lots of drivers. This is also being tracked over in the FOG project forums. |