<?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>Rafadamar!! &#187; networking</title>
	<atom:link href="http://rafadamar.com/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://rafadamar.com</link>
	<description>Hate me for who I am not who you think I am.</description>
	<lastBuildDate>Sat, 28 Jan 2012 02:12:46 +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>Nietzsche: VPN Server</title>
		<link>http://rafadamar.com/2009/09/nietzsche-vpn-server/</link>
		<comments>http://rafadamar.com/2009/09/nietzsche-vpn-server/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 02:39:00 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Nietzsche is up and running as a VPN server! I used pptpd. Nietzsche is running Xubuntu Hardy Heron. Install sudo apt-get install pptpd Add Users sudo vim /etc/ppp/chap-secrets The format is: username pptpd password Edit pptpd.conf sudo vim /etc/pptpd.conf Add lines similar to these localip 192.168.1.72 remoteip 192.168.1.200-253 localip is the IP for the VPN [...]]]></description>
			<content:encoded><![CDATA[<p>Nietzsche is up and running as a VPN server!</p>
<p>I used pptpd. Nietzsche is running Xubuntu Hardy Heron.</p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://2.bp.blogspot.com/_qbVemWvXrxk/Sq6hDIxdXTI/AAAAAAAAAmw/PFMBn3uw1WI/s1600/P9140092.JPG"><img class="mceItem" src="http://2.bp.blogspot.com/_qbVemWvXrxk/Sq6hDIxdXTI/AAAAAAAAAmw/PFMBn3uw1WI/s320/P9140092.JPG" border="0" alt="" /></a></div>
<h2>Install</h2>
<pre class="brush: bash">
sudo apt-get install pptpd
</pre>
<h2>Add Users</h2>
<pre class="brush: bash">
sudo vim /etc/ppp/chap-secrets
</pre>
<p>The format is:</p>
<pre class="brush: bash">username pptpd password</pre>
<h2>Edit pptpd.conf</h2>
<pre class="brush: bash">
sudo vim /etc/pptpd.conf
</pre>
<p>Add lines similar to these</p>
<pre class="brush: bash">
localip 192.168.1.72</pre>
<p>remoteip 192.168.1.200-253
</pre>
<p>localip is the IP for the VPN server. remoteip are the IPs that will be given to the VPN clients. I'm using unused IPs.</p>
<h2>Edit pptpd-options</h2>
<pre class="brush: bash">
sudo vim /etc/ppp/pptpd-options
</pre>
<p>Uncomment #ms-dns 10.0.0.1. Change 10.0.0.1 to your DNS server or router</p>
<h2>Edit sysctl</h2>
<pre class="brush: bash">
sudo vim /etc/sysctl.conf
</pre>
<p>Add the following lines</p>
<pre class="brush: bash">
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.all.forwarding=1
</pre>
<h2>Restart</h2>
<pre class="brush: bash">
sudo /etc/init.d/pptpd restart
</pre>
<p>Your server should be up and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://rafadamar.com/2009/09/nietzsche-vpn-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hostname Issues</title>
		<link>http://rafadamar.com/2009/09/hostname-issues/</link>
		<comments>http://rafadamar.com/2009/09/hostname-issues/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 12:46:00 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[As you know, I&#8217;ve been making a home network. The task itself isn&#8217;t too complicated, but there have been little annoying things here and there. For some reason, the hostnames of about every computer were being forgotten by my 2wire router. This is bad because I named my computers for a reason! I didn&#8217;t want [...]]]></description>
			<content:encoded><![CDATA[<p>As you know, I&#8217;ve been making a home network. The task itself isn&#8217;t too complicated, but there have been little annoying things here and there.</p>
<p>For some reason, the hostnames of about every computer were being forgotten by my 2wire router. This is bad because I named my computers for a reason! I didn&#8217;t want to memorize IP addresses. The IPs weren&#8217;t hard to remember. Its just that memorizing an arbitrary number to a computer that does specific things is hard.</p>
<p>I couldn&#8217;t ssh into the servers easily, because I&#8217;d have to look up the IP each time rather than just typing in the hostname.</p>
<p>It was a simple fix!</p>
<p>You just have to edit dhclient.conf</p>
<pre class="brush: bash">
sudo vim /etc/dhcp3/dhclient.conf
</pre>
<p>Insert this line</p>
<pre class="brush: bash">
send host-name "yourhostname";
</pre>
<p>Restart the DHCP daemon<br />
I used this command for Hardy Heron</p>
<pre class="brush: bash">
sudo /etc/init.d/dhcdbd restart
</pre>
<p>I used this command for Jaunty Jackalope</p>
<pre class="brush: bash">
sudo /etc/init.d/dbus restart
</pre>
<p>Your computer should now tell your router its hostname!</p>
]]></content:encoded>
			<wfw:commentRss>http://rafadamar.com/2009/09/hostname-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ghetto Rack: The Martinez Home Network</title>
		<link>http://rafadamar.com/2009/09/ghetto-rack-the-martinez-home-network/</link>
		<comments>http://rafadamar.com/2009/09/ghetto-rack-the-martinez-home-network/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:55:00 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;m making a home network. You see. My family has some old computers that aren&#8217;t good for normal use, but they still work and are capable of being servers. We&#8217;ve got this old tower from like 2000 if not earlier. Back in 2006 during my junior year of high school, my dad bought my sister [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m making a home network. You see. My family has some old computers that aren&#8217;t good for normal use, but they still work and are capable of being servers.</p>
<p>We&#8217;ve got this old tower from like 2000 if not earlier. Back in 2006 during my junior year of high school, my dad bought my sister and I two Gateway laptops. These laptops were supposed to last us throughout our college careers. My sister caused my laptop to be unusable because she broke the screen by yanking on it&#8211;she&#8217;s a great sister by the way. No really! Karma finally bit her in the ass; her laptop got infected this summer and she had to get a new one.</p>
<p>I&#8217;m back home from Rensselaer Polytechnic Institute. I was an IT major. I&#8217;m gonna go to UTEP <em>next</em> semester. That means I have a semester off. I&#8217;m bored. There&#8217;s unused computers lying around. So yea, I&#8217;m making a home network.</p>
<p>Originally, I wasn&#8217;t going to do anything really productive with them. But, I&#8217;ve been working on my sisters infected laptop trying to rescue all her pictures. My family doesn&#8217;t really backup their data and I&#8217;m the one who has to pay for it. I decided to take the bull by the horns and just make a file server for everyone to back up to.</p>
<h2>The Setup</h2>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" title="The Ghetto Rack" href="http://ram327.files.wordpress.com/2009/09/p9050017.jpg"><img src="http://ram327.files.wordpress.com/2009/09/p9050017.jpg?w=225" border="0" alt="" /></a></div>
<p><!--break--><br />
The two laptops and tower will be the servers. I named my computers after philosophers. I&#8217;m a liberal arts person at heart forgive me.</p>
<p>Kierkegaard is the tower. Kierkegaard is a web and PXE server. Nietzsche is my old laptop. Nietzsche will be the file server and I&#8217;ll hook up my terabyte external hard-drive to it(him?). My sisters laptop will be Camus. I don&#8217;t really know what to do with that one yet.</p>
<p>Voltaire is my PSUbuntu. Voltaire will just play the files held by Nietzsche.</p>
<div style="text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" title="Say, " href="http://ram327.files.wordpress.com/2009/09/p9050021.jpg"><img src="http://ram327.files.wordpress.com/2009/09/p9050021.jpg?w=300" border="0" alt="" /></a></div>
<p>I&#8217;ve used my personal laptop to SSH into all these guys and install whatever needs to be installed. But, I do have this Dynex TV will lotsa connections in the back. I used it to see what was going on during Nietzsche&#8217;s install and I use it with the Voltaire.</p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" title="Pretty good for a cheap HD-Ready TV" href="http://lh4.ggpht.com/_qbVemWvXrxk/SqMQzoF6_bI/AAAAAAAAAlg/m5OJK6Nc24k/s1600/P9050018.JPG"><img src="http://lh4.ggpht.com/_qbVemWvXrxk/SqMQzoF6_bI/AAAAAAAAAlg/m5OJK6Nc24k/s320/P9050018.JPG" border="0" alt="" /></a></div>
<div class="separator" style="clear: both; text-align: left;">Everything is connected through a switch which is connected to a router which is connected to my SBC service.</div>
<div class="separator" style="clear: both; text-align: left;">Here it is altogether.</div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" title="The Martinez Home Network" href="http://lh4.ggpht.com/_qbVemWvXrxk/SqMQ1lvKhXI/AAAAAAAAAlk/uufSZDETuVg/s1600/P9050019.JPG"><img src="http://lh4.ggpht.com/_qbVemWvXrxk/SqMQ1lvKhXI/AAAAAAAAAlk/uufSZDETuVg/s320/P9050019.JPG" border="0" alt="" /></a></div>
<p>Excuse the mess.</p>
<p>This has been a good experience so far. It feels nice to put my skills to good use. Plus, I&#8217;ve got a lot more networking and server experience. There&#8217;s more to come too. I&#8217;ll probably end up installing a DNS server on Camus.</p>
<h2>What makes this ghetto?</h2>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" title="My Sister's old laptop. This is probably where the laptops will go." href="http://lh3.ggpht.com/_qbVemWvXrxk/SqMQ3Q4evII/AAAAAAAAAlo/5057_ARcz1c/s1600/P9050020.JPG"><img src="http://lh3.ggpht.com/_qbVemWvXrxk/SqMQ3Q4evII/AAAAAAAAAlo/5057_ARcz1c/s320/P9050020.JPG" border="0" alt="" /></a></div>
<p>Oh, I don&#8217;t know&#8230;</p>
<p>Is it the loose wires? Is it the cheap rack? Is it the fact that I&#8217;ve got all these computers in my messy room?</p>
<p>Its all of that. Plus, did you notice the clip on fan? Scroll back up and look more carefully.</p>
<p>Yea! Yea I&#8217;ve got a sweet cooling system. Cross Breeze 2.0!! Since I&#8217;m in El Paso, TX the air conditioner is almost always on. If I open up the window behind the rack and turn on the fan, I get a sweet cross breeze going.</p>
<p>So, there it is. My nascent ghetto home network.</p>
<p>Oh, and you may have noticed my record player. Voltaire and the Dynex are essentially my entertainment system. You know how most entertainment systems have nice speakers? Well, my record player has pretty nice speakers. =)</p>
]]></content:encoded>
			<wfw:commentRss>http://rafadamar.com/2009/09/ghetto-rack-the-martinez-home-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXE Xubuntu Hardy Heron Server</title>
		<link>http://rafadamar.com/2009/09/pxe-xubuntu-hardy-heron-server/</link>
		<comments>http://rafadamar.com/2009/09/pxe-xubuntu-hardy-heron-server/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 06:07:00 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So, I&#8217;m creating a home network out of old spare computers. I have two old laptops and one old tower. I will be installing various servers on each. Currently, my tower has Xubuntu Hardy Heron installed. One laptop I can&#8217;t touch till I find a way to get into and save the files. The other [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m creating a home network out of old spare computers. I have two old laptops and one old tower. I will be installing various servers on each.</p>
<p>Currently, my tower has Xubuntu Hardy Heron installed. One laptop I can&#8217;t touch till I find a way to get into and save the files. The other laptop is problematic because it doesn&#8217;t have a working screen or CD drive.</p>
<p>I decided to install Xubuntu Hardy Heron onto the problematic laptop with a thumb drive. My personal laptop is running Intrepid Ibex and its got that &#8220;Create a USB Startup disk&#8221; option. Problem solved? Wrong!</p>
<p>Did you know that some thumb drives just cannot be booted from? Well, I have one of those thumb drives&#8230;</p>
<p>I had two options at that point: I could buy another thumb drive or I could install a PXE server onto my tower and install Xubuntu over the net.</p>
<p>I took the free option&#8230;</p>
<h2>What is a PXE Server?</h2>
<p>PXE stands for Preboot eXecution Environment. That means you can create a server that boots anything over the network. I would be able to essentially boot the install disc from over the network!</p>
<p>Since open source software is awesome, I knew I could google &#8216;hardy heron pxe server&#8217; and find the tutorials I needed! That proved to be true. There were lots of tutorials, but none of them worked for me. I combined several and got it nearly working. I would get timeout errors, but I knew the server was up and running. I later found an obscure article with a comment that solved the problem!</p>
<p>I&#8217;m writing this so you won&#8217;t have to go through what I did just to install an OS! Here we go!</p>
<h2>Stuff you need</h2>
<ul>
<li>a server pc (this will be your PXE)</li>
<li>a client pc (this is what you&#8217;re installing on)</li>
<li>a LAN</li>
</ul>
<h2>Install some stuff</h2>
<pre class="brush: bash">
sudo apt-get install dhcp3-server tftpd-hpa tftp-hpa inetutils-inetd </pre>
<h2>Download some stuff</h2>
<h2><span style="font-size: small;"><span style="font-weight: normal;">You have to download netboot.tar.gz</span></span></h2>
<pre class="brush: bash">
wget http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-X/current/images/netboot/netboot.tar.gz
</pre>
<p>Make sure to change the X in installer-X to your appropriate chip architecture which should be either amd64 or i386.</p>
<p>Extraction and folder prep</p>
<pre class="brush: bash">
sudo tar xvzf netboot.tar.gz -C /var/lib/tftpboot/
sudo chown -R nobody:nogroup /var/lib/tftpboot
sudo chmod -R 777 /var/lib/tftpboot
</pre>
<h2>Configure your DHCP server</h2>
<h2><span style="font-size: small;"><span style="font-weight: normal;">You have to edit dhcpd.conf</span></span></h2>
<pre class="brush: bash">
sudo vim /etc/dhcp3/dhcpd.conf
</pre>
<p>Change the contents of the file to be:</p>
<pre class="brush: bash">
ddns-update-style none;
default-lease-time 8600;
max-lease-time 74000;
subnet 192.168.1.0 netmask 255.255.255.0{
  range 192.168.1.0 192.168.1.100;
  filename "pxelinux.0"
}
</pre>
<p>This part is a little weird. I&#8217;m running this over a LAN so I just used 192.168. Run</p>
<pre class="brush: bash">
sudo ifconfig
</pre>
<p>to find out your IP address. You may need to change this file to reflect your network&#8217;s setup.</p>
<h2>Configure TFTP server</h2>
<p>Edit tftpd-hpa</p>
<pre class="brush: bash">
sudo vim /etc/default/tftpd-hpa
</pre>
<p>The contents of the file should be:</p>
<pre class="brush: bash">
#Defaults for tftpd-hpa

RUN_DAEMON="yes"

OPTIONS="-l -s /var/lib/tftpboot"
</pre>
<h2>Configure inetutils-inetd</h2>
<p>Edit inetd.conf</p>
<pre class="brush: bash">
sudo vim /etc/inetd.conf
</pre>
<p>The contents of the file should be:</p>
<pre class="brush: bash">
tftp    dgram   udp4     wait root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
</pre>
<p>The third parameter must be udp4! This is what was messing up my setup before. Apparently, Ubuntu versions starting with Hardy need udp4. Older versions can get away with udp.</p>
<h2>Restart DHCP server and TFTP server</h2>
<pre class="brush: bash">
sudo /etc/init.d/dhcp3-server restart; sudo /etc/init.d/inetutils-inetd restart
</pre>
<p>If your servers didn&#8217;t fail to start, you can move on to the next step.<br />
Check the syslog to help you pinpoint any problems.</p>
<pre class="brush: bash">
tail /var/log/syslog
</pre>
<h2>Installation time</h2>
<p>Make sure your server and client are connected to the LAN. Boot up your client and change the BIOS settings. You should put PXE, Broadcom, or whatever network sounding think to the top.</p>
<p>If everything is working, it should be up like an install disc. Be sure to change the BIOS settings on the client after install.</p>
<h3>Still having issues?</h3>
<ul>
<li>Is port 69 blocked?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rafadamar.com/2009/09/pxe-xubuntu-hardy-heron-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

