[Dnsmasq-discuss] Dnsmasq and tftp boot problem

Simon Kelley simon at thekelleys.org.uk
Wed Jan 19 15:58:45 GMT 2011


Andrés Yacopino wrote:
> Thanks for replying Simon.
> I am using  HPA's tftp server in another box, not the same box where
> dnsmasq is running.
> The configuration is:
> 
> # /etc/default/tftpd-hpa
> 
> TFTP_USERNAME="tftp"
> TFTP_DIRECTORY="/var/lib/tftpboot"
> TFTP_ADDRESS="0.0.0.0:69"
> TFTP_OPTIONS="--secure"
> 
> The daemon is running with:
> 
> /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure
> /var/lib/tftpboot
> 

>>>
>>> I have this options configured in dnsmasq daemon:
>>>
>>> dhcp-option=pxe,66,10.11.x.y #Next Server
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> dhcp-option=option:root-path,"/opt/ltsp/i386"
>>> dhcp-option=option:Bootfile-name,"/ltsp/i386/pxelinux.0"
>>> dhcp-boot=pxelinux.0,acathinserver,10.11.x.y
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

These two conflict: in the first you're telling the PXE client that the
server _name_ is "10.11.x.y" and in the second one you telling it that
the name is "acathinserver". This is probably enough to send at least
some PXE ROMs into a flat spin. I suggest trying again without the
dhcp-option 66 line. If that doesn't work, we''l have to get more
information and see exactly what's happening.


Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list