Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] using an alternate tftp server
@ 2014-09-26 22:19 Matt Taggart
  2014-10-04 23:43 ` Matt Taggart
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Taggart @ 2014-09-26 22:19 UTC (permalink / raw)
  To: cerowrt-devel

Hi cerowrt-devel,

I needed to tell dnsmasq to use an alternate tftp server and the ability to 
do so isn't exposed through the web UI, so I figured out how to do it. Here 
is a description, if it looks OK maybe it can go in the FAQ?

=======================================================================
Q: How do I use an alternate tftp boot server?

A: The web configuration interface lets you enable a local TFTP server
and set its root and boot file name, but if you just want the DHCP
response to supply a different path/file/server do the following:
* edit /etc/config/dhcp and in the "config dnsmasq" section add
  something like
    "option dhcp_boot 'tag:se00,pxelinux.0,,172.30.42.5'"
  where 'se00' is the interface, 'pxelinux.0' the path/file, an empty
  server hostname, and IP address of the next-server.
* run '/etc/init.d/dnsmasq restart'
* if you are debugging and want to check that the line you added
  resulted in the changes you want, look at /var/etc/dnsmasq.conf

=======================================================================

Thanks,

-- 
Matt Taggart
matt@lackof.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Cerowrt-devel] using an alternate tftp server
  2014-09-26 22:19 [Cerowrt-devel] using an alternate tftp server Matt Taggart
@ 2014-10-04 23:43 ` Matt Taggart
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Taggart @ 2014-10-04 23:43 UTC (permalink / raw)
  To: Matt Taggart; +Cc: cerowrt-devel

Matt Taggart writes:
> Hi cerowrt-devel,
> 
> I needed to tell dnsmasq to use an alternate tftp server and the ability to 
> do so isn't exposed through the web UI, so I figured out how to do it. Here 
> is a description, if it looks OK maybe it can go in the FAQ?
> 
> =======================================================================
> Q: How do I use an alternate tftp boot server?
> 
> A: The web configuration interface lets you enable a local TFTP server
> and set its root and boot file name, but if you just want the DHCP
> response to supply a different path/file/server do the following:
> * edit /etc/config/dhcp and in the "config dnsmasq" section add
>   something like
>     "option dhcp_boot 'tag:se00,pxelinux.0,,172.30.42.5'"
>   where 'se00' is the interface, 'pxelinux.0' the path/file, an empty
>   server hostname, and IP address of the next-server.
> * run '/etc/init.d/dnsmasq restart'
> * if you are debugging and want to check that the line you added
>   resulted in the changes you want, look at /var/etc/dnsmasq.conf
> 
> =======================================================================

I discovered that making changes via the web ui ends up overwriting any by 
hand changes to this option :(  I haven't investigated why yet (or how I 
might prevent that or expose this functionality via the ui).

-- 
Matt Taggart
matt@lackof.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-04 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26 22:19 [Cerowrt-devel] using an alternate tftp server Matt Taggart
2014-10-04 23:43 ` Matt Taggart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox