From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from complete.lackof.org (complete.lackof.org [198.49.126.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.lackof.org", Issuer "CAcert Class 3 Root" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 97C8F21F34E for ; Sat, 4 Oct 2014 16:44:01 -0700 (PDT) Received: from taggart.lackof.org (c-98-203-137-247.hsd1.wa.comcast.net [98.203.137.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "taggart.lackof.org", Issuer "CAcert Class 3 Root" (verified OK)) by complete.lackof.org (Postfix) with ESMTPS id 6E5CB33E014F; Sat, 4 Oct 2014 17:44:00 -0600 (MDT) Received: by taggart.lackof.org (Postfix, from userid 1000) id B7F101B1; Sat, 4 Oct 2014 16:43:59 -0700 (PDT) Received: from zorak.home.bogus (localhost [127.0.0.1]) by taggart.lackof.org (Postfix) with ESMTP id B7945A7; Sat, 4 Oct 2014 16:43:59 -0700 (PDT) X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5 From: Matt Taggart To: Matt Taggart In-reply-to: <20140926221942.5F52C1B6@taggart.lackof.org> References: <20140926221942.5F52C1B6@taggart.lackof.org> Comments: In-reply-to Matt Taggart message dated "Fri, 26 Sep 2014 15:19:42 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Oct 2014 16:43:59 -0700 Message-Id: <20141004234359.B7F101B1@taggart.lackof.org> X-Virus-Scanned: clamav-milter 0.98.1 at complete.lackof.org X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on complete.lackof.org Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] using an alternate tftp server X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 23:44:29 -0000 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