<?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>Ubuntu Linux Help &#187; bootp</title> <atom:link href="http://www.ubuntulinuxhelp.com/tag/bootp/feed/" rel="self" type="application/rss+xml" /><link>http://www.ubuntulinuxhelp.com</link> <description></description> <lastBuildDate>Sun, 20 May 2012 07:38:47 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Ubuntu Linux Plug &#8216;N Play Zone Revisited</title><link>http://www.ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/</link> <comments>http://www.ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/#comments</comments> <pubDate>Wed, 16 Apr 2008 15:43:04 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Applications]]></category> <category><![CDATA[Hands On]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[automate]]></category> <category><![CDATA[bootp]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[network]]></category> <category><![CDATA[pc]]></category> <category><![CDATA[pxe]]></category> <category><![CDATA[tftp]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/</guid> <description><![CDATA[Last month we posted a great idea &#8220;Make Your Own Plug ‘N Play Zone Using Ubuntu Linux!&#8220;, discussing and introducing the concept of a &#8220;zone&#8221; where laptop (or other) users could plug their units into and have Linux automatically installed &#8230; <a
href="http://www.ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/04/laptop.thumbnail.jpg?cbf681" alt="Laptop" align="left" hspace="10" />Last month we posted a great idea &#8220;<a
href="http://ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/" title="http://ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/">Make Your Own Plug ‘N Play Zone Using Ubuntu Linux!</a>&#8220;, discussing and introducing the concept of a &#8220;zone&#8221; where laptop (or other) users could plug their units into and have Linux automatically installed upon boot up.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>&#8220;<em>&#8230;It’s a simple 3-step method. Users plug their laptop into one of the two ports and boot off the network. Go away, come back later and it’s all done&#8230;</em>&#8220;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Some readers have asked me about the actual &#8220;code&#8221; or parameters &#8211; this means the PXELinux Boot Loader &#8211;  for the auto install feature that would be on the TFTP server. If you&#8217;re not familiar with the &#8220;Plug &#8216;N Play Zone&#8221;, please do read that earlier post first.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /> <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_wink.gif?cbf681" alt=';)' class='wp-smiley' /> <img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>One specific question asked:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>&#8220;<em>This is a nice how to, but I’m a little confused on one point. It may have to do with me not actually doing the steps … but I have used netboot images before, both on Ubuntu and on Debian.</em><img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><em>My problem is that the netboot images I’ve always used just launched an installer. I know you can kickstart autoinstall, but I don’t see that step here. Has netboot changed in the last year, or am I missing something?</em>&#8220;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>The netboot.tar.gz file that you download, contains the<span
id="more-1274"></span> PXELinux boot loader. In my case the boot loader points to this directory: ubuntu-installer/i386/ (because I&#8217;m using Ubuntu Linux). The tar contains the following:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>pxelinux.cfg<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /><br
/> pxelinux.0<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /><br
/> ubuntu-installer (the directory with files in it).<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>When you look in the  &#8216; ubuntu-installer&#8217; directory, you&#8217;ll see the i386 I mentioned above, as well a Linux kernel, initrd image (in the initrd.gz file). To clarify, the boot loader (netboot.tar.gz)  gets placed on the TFPT server in /var/lib/tftpboot (and don&#8217;t forget to chown it, I forgot the first time and did have trouble because of it).<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>To automate the Plug &#8216;N Play Zone (so that you just need to set the BIOS to boot of PXE and walk away, you should add a configure a preseed file. Preseed is pretty much like Kickstart, where the file can contain the information you would normally be prompted (on screen) during an installation. Things like timezone, language, keyboard, package selection, repositories, etc.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /> would be included in that file. We would call the file &#8220;preseed.cfg&#8221;. An example of a preseed file is <a
href="http://ubuntulinuxhelp.com/pnpzone-generic.txt" title="pnpzone-generic.txt">pnpzone-generic.cfg</a>. If any of you wonder why it&#8217;s referring to Debian in that sample preseed file, that&#8217;s because Ubuntu Linux is Debian based.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>One nice feature is that you can locate the preseed file anywhere you want.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /> For example, you can control your Linux Plug &#8216;N Play Zone, but allow authorized personnel to edit the preseed file to fit the needs of the batch of units receiving the Linux installation; then they simply ftp the revise file to the web server and it gets used. Easy customization! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /> <img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Here&#8217;s the rub&#8230;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>In order for the installation (PXELinux et al) to be able to get the preseed file (in my case plugnplayzone.int), we need to tell it where that file is; at which point it will download the file for use. Here&#8217;s how we do that:</p><p>(Using the command line),<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /> go back to /var/lib/tftpboot and look for &#8216;/pxelinux.cfg/default&#8217; to edit it, something like this:</p><p><code>sudo nano /var/lib/tftpboot/pxelinux.cfg/default</code></p><p>Find this:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>LABEL server<br
/> kernel ubuntu-installer/i386/linux<br
/> append base-installer/kernel/linux/extra-packages-2.6= tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu-installer/i386/initrd.gz  --</code></p><p>Change to this:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>LABEL server<br
/> kernel ubuntu-installer/i386/linux<br
/> append locale=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 netcfg/get_hostname= url=http://plugnplayzone.int/preseed.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz --</code></p><p>In the above example, you can see I actually forced the US keyboard layout, etc. But you can leave all your preferences in the preseed or override them in the &#8216;default&#8217; for pxelinux.cfg. Also, &#8216;plugnplayzone.int&#8217; is just the domain created on a web server, yours will be different.</p><p>Hopefully this helps to further round-out the original post and gives some of the less experienced a little more insight.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Above all&#8230;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /><br
/> Have fun! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Make Your Own Plug &#8216;N Play Zone Using Ubuntu Linux!</title><link>http://www.ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/</link> <comments>http://www.ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/#comments</comments> <pubDate>Wed, 12 Mar 2008 16:55:16 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Applications]]></category> <category><![CDATA[Hands On]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[automate]]></category> <category><![CDATA[bootp]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[network]]></category> <category><![CDATA[pc]]></category> <category><![CDATA[plug n play]]></category> <category><![CDATA[pxe]]></category> <category><![CDATA[tftp]]></category> <category><![CDATA[zone]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/</guid> <description><![CDATA[One of the things I dislike is reinstalling any operating system over, and over, and over again. After a while it becomes boring and inconvenient when you&#8217;ve a hot idea you want to try out. One of the things I &#8230; <a
href="http://www.ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>One of the things I dislike is reinstalling any operating system over, and over, and over again. After a while it becomes boring and inconvenient when you&#8217;ve a hot idea you want to try out. One of the things I enjoy doing (and I&#8217;ve posted several ideas or projects), is to try out new ways, ideas or Linux packages. Often this means starting from a clean system or I have to reinstall because I made mistakes and trashed an existing system. The point? Well, for one it&#8217;s a great learning environment for me, it helps my friends who have switched or considering a switch and it gives me information I can share for free in this blog &#8211; And that helps everyone!<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Today is not any different, actually I&#8217;m pretty excited about this post!!! Here&#8217;s the scenario:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>1) I wanted an easy way for friends to migrate to Linux (I&#8217;m using Ubuntu).<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>2) Personally, I needed a way that Ubuntu could install itself while I go do something else.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Side note: During today&#8217;s project, I realized that this would be a great  feature for a school, a computer lab, a computer hobby group and even a business or laptop repair shop. If any of you use this idea, please let me know as I&#8217;d love to see! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /> <img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>The idea? I created my very own &#8220;Ubuntu Linux Plug ‘N Play Zone&#8221;!<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/plug-n-play-zone-ubuntu.jpg?cbf681" alt="Ubuntu Linux Plug ‘N Play Zone" /></p><p>It&#8217;s a simple 3-step method.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Users plug their laptop into one of the two ports pictured above and boot off the network. Go away, come back later and it&#8217;s all done. Voilà <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /></p><p>Also you can see that they have the option for a Gutsy install (7.10)  and soon (I&#8217;ve not set that up yet, probably over the weekend) a Hardy install (8.04). The picture above is how I&#8217;ll leave the &#8220;Zone&#8221; for now. (I didn&#8217;t want to write on the wall so put an old plastic sign over the plug and wrote on the plastic with a marker. Easy to enhance and change later). How is this done? Ahhh&#8230; Not as hard as one might think&#8230; Grasshopper.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>For this to work properly, we need a DHCP server on a separate network (subnet). We also need a TFTP server and of course client laptops (or PC&#8217;s) that can netboot. (Netboot is when the BIOS is configured to boot of the network card). Last year I posted &#8220;<a
href="http://ubuntulinuxhelp.com/30-dollars-30-minutes-1-nice-fileserver/" title="http://ubuntulinuxhelp.com/30-dollars-30-minutes-1-nice-fileserver/">30 Dollars, 30 Minutes, 1 Nice Fileserver</a>&#8221; and that&#8217;s the unit I wiped clean and used for this project. We can begin by installing Gutsy (7.10) on the system.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Note: Look further down to the IP addresses. Make note and ensure that your server is using a static IP address within your subnet. The first time I did this I messed up and used the wrong address.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>After this, here are the steps I took:<span
id="more-1202"></span></p><p>Note: Instead of typing &#8220;sudo&#8221; all the time, we can &#8220;sudo su&#8221; (become root) and then  don&#8217;t have to keep using the sudo command.</p><p>The first thing we need to do is grab some packages:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>apt-get update<br
/> apt-get install dnsmasq atftpd atftp</code></p><p>Dnsmasq is:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>&#8220;<em>Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP  server. It is designed to provide DNS and, optionally, DHCP, to a   small network. It can serve the names of local machines which are   not in the global DNS. The DHCP server integrates with the DNS   server and allows machines with DHCP-allocated addresses  to appear in the DNS with names configured either in each host or  in a central configuration file. Dnsmasq supports static and dynamic   DHCP leases and BOOTP/TFTP for network booting of diskless machines.</em>&#8221; Source:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /> <a
href="http://www.thekelleys.org.uk/dnsmasq/doc.html" title="http://www.thekelleys.org.uk/dnsmasq/doc.html" target="_blank">http://www.thekelleys.org.uk/dnsmasq/doc.html</a></p><p>atftpd is:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>&#8220;<em>A TFTP server. By default it is started by inetd on most sytems, but may run as a stand alone daemon. This server is multi-threaded and supports all options described in RFC2347.</em>&#8221; Source: <a
href="http://www.math.ucla.edu/computing/docindex/atftp-man-2.html" title="http://www.math.ucla.edu/computing/docindex/atftp-man-2.html" target="_blank">http://www.math.ucla.edu/computing/docindex/atftp-man-2.html</a></p><p>atftp is:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>&#8220;<em>A client/server implementation of the TFTP protocol that implements RFCs 1350, 2090, 2347, 2348, and 2349. The server is multi-threaded and the client presents a friendly interface using libreadline. The current server implementation lacks IPv6 support.</em>&#8221; Source: <a
href="http://freshmeat.net/projects/atftp/" title="http://freshmeat.net/projects/atftp/" target="_blank">http://freshmeat.net/projects/atftp/ </a></p><p>Because the first port is Gutsy (7.10) we need to get the  netboot files for it. It&#8217;s easy to get via wget like this&#8230;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Create a directory if it&#8217;s not already there:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>cd /var/lib<br
/> mkdir /tftpboot</code></p><p>Use wget to download the tarball into /source<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>cd /var/lib/tftpboot<br
/> wget http://archive.ubuntu.com/ubuntu/dists/gutsy/main/installer-i386/current/images/netboot/netboot.tar.gz</code></p><p>Note: For Hardy (8.04) the command is &#8220;wget http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-i386/current/images/netboot/netboot.tar.gz&#8221;. But remember, to do this with Hardy (or any other Linux platform), make sure the port is being served by another Dnsmasq on another subnet. If not, then the laptop might get the wrong version of Linux installed.</p><p>Now untar:<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p><code>tar -zxf netboot.tar.gz  &amp;&amp; chown -R nobody:nobody</code></p><p>The chown directive is saying &#8220;Change the ownership of everything recursively to Nobody&#8221;.</p><p>Now we need to set up the DHCP/DNS configuration (for Dnsmasq). The following information is needed by us:</p><p>1) What IP address range to give laptops being plugged into the &#8220;Zone&#8221;<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>2) The default gateway (That usually your router, the point for external access to the Internet).<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>3) The IP address of the server (that&#8217;s going to provide Linux to the laptops).<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>4) The DNS address (should be the same as the server&#8217;s address).</p><p>After a few tries and a bit of Googling, I found the correct way to do this. (I was putting the wrong numbers in first time around. It was a simply, easy mistake to fix).</p><p>Note: The  small (cheap) router I used for this defaults to the 192 network, so I just left it at the default. You can change it to match your own subnet!</p><blockquote><p>dhcp-range=192.168.0.150,192.168.0.155,6h<br
/> dhcp-boot=pxelinux.0,192.168.0.5<br
/> dhcp-option=3,192.168.0.1<br
/> dhcp-option=6,192.168.0.1</p></blockquote><p>Here is what the  line correspond to:</p><p>dhcp-option=6 is the DNS address.</p><p>dhcp-option=3 is the default gateway address</p><p>dhcp-boot=pxelinux.0 is the IP address of the server</p><p>dhcp-range is the pool of IP addresses being leased out to laptops connecting. (Only a very few available as I only have one port per subnet). The 6h means to lease outthe IP addresses for 6 hours.</p><p>Now that I finally had the correct addresses configured I can restart like this:</p><p><code>invoke-rc.d dnsmasq restart</code></p><p>After it&#8217;s successfully <img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" alt="spacer" title="spacer" />restarted, make sure the firewall is not blocking. (I didn&#8217;t check that and it took me a while and a bit of Googling to find the fix). If your firewall is interfering, you can modify this script to your needs:</p><blockquote><p>#!/bin/bash<br
/> # flush all chains<br
/> iptables -F<br
/> #delete the chains<br
/> iptables -X<br
/> # set the default policy for each of the pre-defined chains and pipe to /dev/null<br
/> iptables -P INPUT ACCEPT<br
/> iptables -P FORWARD ACCEPT<br
/> iptables -P OUTPUT ACCEPT<br
/> iptables -t mangle -F 2&gt;/dev/null<br
/> iptables -t mangle -X 2&gt;/dev/null<br
/> iptables -t nat -F 2&gt;/dev/null<br
/> iptables -t nat -X 2&gt;/dev/null</p></blockquote><p>Original script and idea from <a
href="http://townx.org/simple_firewall_for_ubuntu_using_iptables" title="http://townx.org/simple_firewall_for_ubuntu_using_iptables" target="_blank">http://townx.org/simple_firewall_for_ubuntu_using_iptables</a> via <a
href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">Creative Commons Attribution-Share Alike 3.0 License</a>.</p><p>As you can see from the above link, we can further create a customized start/stop feature. After a lot of Googling, I found there are a ton of iptables resources out there!</p><p>Now set your laptop (or PC)  BIOS to enable booting off the network (PXE). If it works your good to go and your Plug &#8216;N Play Zone is live! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /></p><p>If there is trouble, try the following:</p><p>1) Check your /var/log/syslog for issues.<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>2) Is dnsmasq even listening? (I learned that network boots use bootp through port 67). Is port 67 working? Use this comand:</p><p><code>netstat -nulp | grep '67.*dnsmasq</code></p><p>The response should show udp port 67<img
src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?cbf681" /></p><p>Side note: Netstat command are here: <a
href="http://www.computerhope.com/unix/unetstat.htm" title="http://www.computerhope.com/unix/unetstat.htm" target="_blank">http://www.computerhope.com/unix/unetstat.htm</a></p><p>3) What about iptables, are they really turned off?</p><blockquote><p>iptables -L<br
/> iptables  -L -t nat<br
/> iptables -L -t mangle</p></blockquote><p>The first command says &#8220;list the  active rules&#8221;. The second says &#8220;list the nat (Network Address Translation) tables and the third says &#8220;list the mangle tables&#8221;.</p><p>Side note: To learn more about iptables and&#8221;mangle&#8221; read here: <a
href="http://www.informit.com/articles/article.aspx?p=19626" title="http://www.informit.com/articles/article.aspx?p=19626" target="_blank">http://www.informit.com/articles/article.aspx?p=19626</a></p><p>4) Is atftpd listening on a port? (It&#8217;s supposed to be on port 69):</p><p><code>netstat -nulp | grep atftpd</code></p><p>Again, the response should show a udp port and it should be 69.</p><p>This was a fun exciting project. Hopefully some of you can use this information to help you. I hope so.  As I mentioned, this would be great for schools,  a computer lab or lab projects, a computer hobby group and even a business or laptop repair shop. Either way, please let me know.</p><p>It&#8217;s really cool to just plug and go in the plug and play zone! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /></p><p><strong>Update 1:</strong> There&#8217;s a follow up to this post here: <a
href="http://ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/" title="http://ubuntulinuxhelp.com/ubuntu-linux-plug-n-play-zone-revisited/">Ubuntu Linux Plug ‘N Play Zone Revisited</a>, where we examine some of the automated installation features via  PXELinux and the use of a preseed file to automate the installed environment. That post really helps to round out this hands-on project as a whole. Check it out! <img
src="http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_smile.gif?cbf681" alt=':)' class='wp-smiley' /></p><p><strong>Update 2:</strong> This post has been featured issue #14 of Full Circle Magazine (The FREE Independent Magazine (and podcast) for the Ubuntu Linux Community)! You can take a look at that issue here: <a
href="http://fullcirclemagazine.org/2008/06/26/issue-14-is-out/" title="http://fullcirclemagazine.org/2008/06/26/issue-14-is-out/" target="_blank">http://fullcirclemagazine.org/2008/06/26/issue-14-is-out/</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ubuntulinuxhelp.com/make-your-own-plug-n-play-zone-using-ubuntu-linux/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using apc

Served from: www.ubuntulinuxhelp.com @ 2012-05-21 12:35:02 -->
