<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tftp &#8211; Blog of Kliment Andreev &#8211; A place so I won&#039;t forget things</title>
	<atom:link href="https://blog.andreev.it/tag/tftp/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it</link>
	<description></description>
	<lastBuildDate>Sat, 28 Dec 2019 23:23:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>OpenBSD, Ubuntu: PXE network installation, DHCP and tftp server</title>
		<link>https://blog.andreev.it/2011/12/pxe-network-installation-of-ubuntu-linux-using-openbsd-as-dhcp-and-tftp-server/</link>
					<comments>https://blog.andreev.it/2011/12/pxe-network-installation-of-ubuntu-linux-using-openbsd-as-dhcp-and-tftp-server/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 18:48:15 +0000</pubDate>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[tftp]]></category>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=128</guid>

					<description><![CDATA[Recently I got a laptop that came without CD or floppy. This laptop supports&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>Recently I got a laptop that came without CD or floppy. This laptop supports PXE boot so the only choice was to install Ubuntu over the network. In order to do that, I needed a DHCP server that supports PXE boot, tftp server and of course the boot file that will start the installation over the network. You can see my <a href="https://blog.andreev.it/?p=124" target="_blank" rel="noopener noreferrer">previous article</a> on how to setup a DHCP server on OpenBSD. Installation of the tftp server is very easy on OpenBSD. You have to edit <strong>/etc/inetd.conf</strong> and uncomment the first entry for tftp.</p>
<pre class="brush: bash; title: ; notranslate">
ident           stream  tcp     nowait  _identd /usr/libexec/identd     identd -el
ident           stream  tcp6    nowait  _identd /usr/libexec/identd     identd -el
tftp            dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -s /tftpboot
#tftp           dgram   udp6    wait    root    /usr/libexec/tftpd      tftpd -s /tftpboot
</pre>
<p>Now, you need to refresh inetd process and create the home/root folder for the tftp.</p>
<pre class="brush: bash; title: ; notranslate">
kill -HUP `cat /var/run/inetd.pid`
mkdir /tftpboot  
</pre>
<p>Make sure that tftp is working. Type <strong>q</strong> to exit.</p>
<pre class="brush: bash; title: ; notranslate">
tftp localhost
tftp&gt; q
</pre>
<p>Next, you have to download the Ubuntu network installation file and place it in <strong>/tftpboot</strong>. Put this file in <strong>/tftpboot</strong> and unpack it with:</p>
<pre class="brush: bash; title: ; notranslate">
tar xzvf netboot.tar.gz
</pre>
<p>You have to change the MAC address in <strong>/etc/dhcpd.conf</strong> to match the MAC address on the computer where you want to install Ubuntu. Restart the computer, choose network boot and install.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2011/12/pxe-network-installation-of-ubuntu-linux-using-openbsd-as-dhcp-and-tftp-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
