<?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>Green Honey</title>
	<atom:link href="http://www.marcayres.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.marcayres.com</link>
	<description>where green grass and honey meet</description>
	<lastBuildDate>Tue, 25 Jan 2011 18:42:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>ICS &#8211; Ubuntu serving Windows</title>
		<link>http://www.marcayres.com/?p=12</link>
		<comments>http://www.marcayres.com/?p=12#comments</comments>
		<pubDate>Tue, 25 Jan 2011 18:40:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.marcayres.com/?p=12</guid>
		<description><![CDATA[It was time to tuck all my computers beneath my desk.  They&#8217;d been laying about for way too long. I wanted to share my experience with setting up Internet Connection Sharing with Ubuntu.  It was very well documented, but I did have to search in a few places to find the final result. All was [...]]]></description>
			<content:encoded><![CDATA[<p>It was time to tuck all my computers beneath my desk.  They&#8217;d been laying about for way too long.</p>
<p>I wanted to share my experience with setting up Internet Connection Sharing with Ubuntu.  It was very well documented, but I did have to search in a few places to find the final result. All was well with the Ubuntu side, but the windows side needed a little filling in.</p>
<p>I&#8217;m connecting to my wireless router via a wireless card&#8230;I&#8217;m then sharing that connection with a secondary ethernet card, which plugs into my other machine.</p>
<p>Router &#8211;&gt; Ubuntu Wireless Card &#8211;&gt; Eth0 &#8211;&gt; Windows Box.</p>
<p style="text-align: center;"><a rel="attachment wp-att-14" href="http://www.marcayres.com/?attachment_id=14"><img class="size-medium wp-image-14  aligncenter" title="1" src="http://www.marcayres.com/wp-content/uploads/2011/01/1-268x300.jpg" alt="" width="268" height="300" /></a></p>
<p>Right-Click on your &#8220;Network Connections&#8221; icon at the top right of your screen and select &#8220;Edit Connections.&#8221;  The first connection that pops up is your wired connection, Auto eth0.  Click that, then click edit.  Select IPv4 Settings, and set the &#8220;Method&#8221; to &#8220;Share to other computers.&#8221;</p>
<p>Now, make sure that both of the computers are connected via their NIC&#8217;s, and restart the network(service networking restart, /etc/init.d/networking restart, or the like).  Now pop over to the windows machine, open up a command prompt and type &#8220;ipconfig&#8221;</p>
<p>﻿Ethernet adapter Local Area Connection:</p>
<p style="text-align: center;"><a rel="attachment wp-att-15" href="http://www.marcayres.com/?attachment_id=15"><img class="size-medium wp-image-15 aligncenter" title="2" src="http://www.marcayres.com/wp-content/uploads/2011/01/2-300x73.jpg" alt="" width="300" height="73" /></a></p>
<p>Now the Windows box has been assigned an ip, subnet, and gateway(you can change these values manually on your linux box).</p>
<p>At this point, you should be able to access the &#8216;net&#8230;via only IP addresses!  Why would that be?  Correct, DNS.  Let&#8217;s dig up the nameservers used on the Linux box;</p>
<p>First, cat /etc/resolv.conf</p>
<p># Generated by NetworkManager<br />
domain home<br />
search home<br />
nameserver 192.168.1.1<br />
nameserver 71.252.0.12</p>
<p>Take those nameservers, and move over to your windows box.  Next open up the &#8220;Network Connections,&#8221; Right-Click on your LAN connection and select &#8220;Properties.&#8221;</p>
<p style="text-align: center;"><a rel="attachment wp-att-24" href="http://www.marcayres.com/?attachment_id=24"><img class="size-medium wp-image-24 aligncenter" title="3" src="http://www.marcayres.com/wp-content/uploads/2011/01/3-244x300.jpg" alt="" width="244" height="300" /></a></p>
<p>Scroll down to &#8220;Internet Protocol(TCP/IP), and click &#8220;Properties.&#8221;</p>
<p>Next, you&#8217;re going to fill in the nameservers from the /etc/resolv.conf file we did previously.</p>
<p style="text-align: center;"><a rel="attachment wp-att-25" href="http://www.marcayres.com/?attachment_id=25"><img class="size-medium wp-image-25 aligncenter" title="4" src="http://www.marcayres.com/wp-content/uploads/2011/01/4-266x300.jpg" alt="" width="266" height="300" /></a></p>
<p>Select &#8220;use the following DNS server addresses,&#8221; click &#8220;Ok,&#8221; and bang!  You should be able to ping any url from the command line.  If that&#8217;s the case, then you can open up your favorite web browser from either machine, and surf the web using one(wlan0) connection.</p>
<p>If this doesn&#8217;t work, it&#8217;d probably be a good idea to disable and enable the windows connection.</p>
<p>Wallah.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcayres.com/?feed=rss2&#038;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

