
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=flashing_openwrt_via_pxe_boot</id>
		<title>flashing openwrt via pxe boot - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=flashing_openwrt_via_pxe_boot"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=flashing_openwrt_via_pxe_boot&amp;action=history"/>
		<updated>2026-04-29T02:45:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=flashing_openwrt_via_pxe_boot&amp;diff=1427&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;== setup pxe boot server ==   install dnsmasq if needed  create tftpboot directory and put firmware from dd-wrt or openwrt in it.  download firmware upgrade file and put it in...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=flashing_openwrt_via_pxe_boot&amp;diff=1427&amp;oldid=prev"/>
				<updated>2022-05-27T19:43:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== setup pxe boot server ==   install dnsmasq if needed  create tftpboot directory and put firmware from dd-wrt or openwrt in it.  download firmware upgrade file and put it in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== setup pxe boot server ==&lt;br /&gt;
&lt;br /&gt;
 install dnsmasq if needed&lt;br /&gt;
&lt;br /&gt;
create tftpboot directory and put firmware from dd-wrt or openwrt in it.&lt;br /&gt;
 download firmware upgrade file and put it in directory&lt;br /&gt;
 make directory world readable&lt;br /&gt;
 rename firmware file to firmware.bin&lt;br /&gt;
&lt;br /&gt;
start dnsmasq via command line&lt;br /&gt;
 dnsmasq --port=0 --enable-tftp --tftp-root=/path/to/firmware/directory --tftp-no-blocksize --user=root --group=root&lt;br /&gt;
&lt;br /&gt;
verify network port is successfully bound&lt;br /&gt;
 root@mypxeserver:/etc# netstat -anp | grep &amp;quot;:69&amp;quot;&lt;br /&gt;
 udp        0      0 0.0.0.0:69              0.0.0.0:*                           3674/dnsmasq &lt;br /&gt;
&lt;br /&gt;
== flash device ==&lt;br /&gt;
&lt;br /&gt;
connect device to you network port of the pxe server. be sure your network doesn't have another active dhcp server on it!  I used a direct connect via crossover cable.&lt;br /&gt;
&lt;br /&gt;
I decided to watch with tcpdump. notice request for firmware.bin&lt;br /&gt;
 # tcpdump -i enp5s0&lt;br /&gt;
 12:46:36.413672 ARP, Request who-has 192.168.10.100 tell 192.168.10.101, length 46 &lt;br /&gt;
 12:46:36.413700 ARP, Reply 192.168.10.100 is-at 44:a8:42:fc:ea:c2 (oui Unknown), length 28&lt;br /&gt;
 12:46:36.425540 IP 192.168.10.101.3727 &amp;gt; 192.168.10.100.tftp:  31 RRQ &amp;quot;firmware.bin&amp;quot; octet timeout 3&lt;br /&gt;
 12:46:36.425689 IP 192.168.10.100.60235 &amp;gt; 192.168.10.101.3727: UDP, length 516&lt;br /&gt;
 12:46:36.425834 IP 192.168.10.101.3727 &amp;gt; 192.168.10.100.60235: UDP, length  4&lt;br /&gt;
 12:46:36.425892 IP 192.168.10.100.60235 &amp;gt; 192.168.10.101.3727: UDP, length  516&lt;br /&gt;
 12:46:36.426035 IP 192.168.10.101.3727 &amp;gt; 192.168.10.100.60235: UDP, length  4&lt;br /&gt;
 ...&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>