<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>The Tlog - a technology blog &#187; Networking</title>
	<atom:link href="http://www.thetlog.net/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetlog.net</link>
	<description></description>
	<lastBuildDate>Fri, 18 Mar 2011 11:10:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/pt/</creativeCommons:license>		<item>
		<title>Cable Modem change</title>
		<link>http://www.thetlog.net/2006/02/23/cable-modem-change/</link>
		<comments>http://www.thetlog.net/2006/02/23/cable-modem-change/#comments</comments>
		<pubDate>Thu, 23 Feb 2006 16:20:39 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[PC hardware]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/2006/02/23/cable-modem-change/</guid>
		<description><![CDATA[Tomorrow evening (always say that with a Bela Lugosi accent, as in “ve shall be leeving… tomorrrow eeeeeevening!”), a team from Netcabo will go to my place to change my modem (which is working perfectly well), because (translated by me): due to an upgrade action of the NetCabo network, your Cable Modem will no longer [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button socialize-in-button-vertical"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thetlog.net/2006/02/23/cable-modem-change/" data-text="Cable Modem change" data-count="" data-via="socializeWP" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-vertical"><script>
			<!-- 
			var fbShare = {
				url: "http://www.thetlog.net/2006/02/23/cable-modem-change/",
				size: "large",
				google_analytics: "true"
			}
			//-->
			</script>
                        <script src="http://widgets.fbshare.me/files/fbshare.js"></script></div></div><p>Tomorrow evening <small>(always say that with a Bela Lugosi accent, as in <i>“ve shall be leeving… tomorrrow eeeeeevening!”</i>)</small>, a team from <a href="http://www.netcabo.pt">Netcabo</a> will go to my place to change my modem <small>(which is working perfectly well)</small>, because <small>(translated by me)</small>:</p>
<blockquote><p>due to an upgrade action of the NetCabo network, your Cable Modem will no longer be compatible with our network.</p>
<p>With this upgrade, we intend to improve the security of your access, and to incorporate new features which we&#8217;ll announce soon.</p></blockquote>
<p>I have no idea of what &#8220;new features&#8221; they are talking about, as as for &#8220;increasing security&#8221;, I really hope that they don&#8217;t start blocking ports, or other idiocies like that, which might even force me to move my server elsewhere (and, believe me, I wouldn&#8217;t stay with Netcabo). Contrary to what they might believe, not everyone uses Windows, nor is everyone a complete &#8220;noob&#8221; in terms of securing systems. Hopefully, they just mention that because they have to convince people that they stand to &#8220;win&#8221; something with this change, and &#8220;security&#8221; is a fashionable subject&#8230;</p>
<p>One other thing that came to mind (which I hope is true) is this: I have a 4 Mbit connection, and I know that my modem (a 3Com sharkfin) can only do 6 Mbit or something like that. Maybe they&#8217;re going to do what they did some time ago: increase everyone&#8217;s bandwidth, without raising prices, so they can be competitive with ADSL again. If it&#8217;s that, then it explains the need for a new modem&#8230; and having 8 Mbit at home would be nice. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Unfortunately, because of this, my sites will be down tomorrow, from 6 PM GMT until a couple of hours later. I hope everything goes well&#8230;</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> ]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2006/02/23/cable-modem-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Saga of the Nintendo DS and the Linksys WRK54G, part 2</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/</link>
		<comments>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comments</comments>
		<pubDate>Mon, 19 Dec 2005 15:06:11 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Consoles]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PC hardware]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/?p=228</guid>
		<description><![CDATA[New developments here, and not all of them are good. To begin with, in the first part, I made a mistake (I was at work when writing it, just like now): my OpenBSD box isn&#8217;t connected to the &#8220;Internet&#8221; port in the Linksys, but to one of the &#8220;normal&#8221; ports. If I connect it to [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button socialize-in-button-vertical"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/" data-text="The Saga of the Nintendo DS and the Linksys WRK54G, part 2" data-count="" data-via="socializeWP" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-vertical"><script>
			<!-- 
			var fbShare = {
				url: "http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/",
				size: "large",
				google_analytics: "true"
			}
			//-->
			</script>
                        <script src="http://widgets.fbshare.me/files/fbshare.js"></script></div></div><p>New developments here, and not all of them are good.</p>
<p>To begin with, in the <a href="http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/">first part</a>, I made a mistake <small>(I was at work when writing it, just like now)</small>: my OpenBSD box <b>isn&#8217;t</b> connected to the &#8220;Internet&#8221; port in the Linksys, but to one of the &#8220;normal&#8221; ports. If I connect it to the former, it doesn&#8217;t work</p>
<p>Second, it still isn&#8217;t working perfectly. I&#8217;m still trying out stuff; however, it&#8217;s like this: if I haven&#8217;t gone online with the DS for a while, and I try to do so, it doesn&#8217;t work. I simply have to go to the OpenBSD server and <i>ping the router&#8217;s internal address</i>&#8230; and it works afterwards. It&#8217;s as if the server &#8220;forgets&#8221; that the DS is behind the router (as they&#8217;re in the same network &#8211; otherwise, the router would have to do NAT), and has to find it for itself first &#8211; if it&#8217;s &#8220;forgotten&#8221; about it, then connections from the DS go out, but the return packets aren&#8217;t routed to it.</p>
<p>I&#8217;m going to try a static ARP for it later tonight. I really, really don&#8217;t want to use a crontab to ping the router every 5 minutes. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve also tried another possibility, which was to connect the switch&#8217;s &#8220;Internet&#8221; port to the server, and connect one of the ports to the switch for my old network, <code>192.168.0.0/24</code>. I have to enable NAT in the Linksys between the <code>192.168.0</code> and <code>192.168.1</code>. This way allows the router to update its clock using NTP, which it does every time it&#8217;s turned on, but then the DS can only connect while I&#8217;m pinging it from the server (!).</p>
<p>This <i>is</i> weird. This Linksys model isn&#8217;t exactly great &#8211; for instance, it basically &#8220;reboots&#8221; itself for every configuration change, unlike the Linux models (which I&#8217;ve seen at my father&#8217;s place).</p>
<p>I know, I know &#8211; I could have avoided all of this by just connecting the Linksys to the Internet, doing NAT there, and redirecting ports 22, 80 and 443 to the OpenBSD server. But I&#8217;m stubborn, and I trust OpenBSD to be &#8220;in the front lines&#8221; much more than I do the Linksys. Besides, pf (the OpenBSD firewall) is great.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> ]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The Saga of the Nintendo DS and the Linksys WRK54G</title>
		<link>http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/</link>
		<comments>http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/#comments</comments>
		<pubDate>Fri, 16 Dec 2005 11:51:32 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Consoles]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PC hardware]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/?p=226</guid>
		<description><![CDATA[Continuing from the previous post, Nintendo DS: First Impressions, here&#8217;s a more technical bit. Still to come is a post more related to actual gaming &#8211; more precisely, Mario Kart DS, the only DS game I own. As I said, since Mario Kart DS is the first DS game playable online (instead of simply using [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button socialize-in-button-vertical"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/" data-text="The Saga of the Nintendo DS and the Linksys WRK54G" data-count="" data-via="socializeWP" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-vertical"><script>
			<!-- 
			var fbShare = {
				url: "http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/",
				size: "large",
				google_analytics: "true"
			}
			//-->
			</script>
                        <script src="http://widgets.fbshare.me/files/fbshare.js"></script></div></div><p>Continuing from the previous post, <a href="http://www.thetlog.net/2005/12/16/nintendo-ds-first-impressions/">Nintendo DS: First Impressions</a>, here&#8217;s a more technical bit. Still to come is a post more related to actual gaming &#8211; more precisely, Mario Kart DS, the only DS game I own.</p>
<p>As I said, since Mario Kart DS is the first DS game playable online (instead of simply using the DS&#8217;s normal wi-fi, which requries players to be near each other), using a normal Internet connection, to access <a href="http://www.nintendowifi.com">NintendoWiFi</a>. It doesn&#8217;t use a cable, though, but connects to a wi-fi access point.</p>
<p>So far, so good. However, since I&#8217;m not one of those filthy rich people who own laptops <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , my home network was (and is) based on that highly advanced and incredibly modern technology called &#8220;ethernet cables&#8221;. </p>
<p><span id="more-226"></span><br />
Now, Nintendo sells a wi-fi dongle, and you can use any other one as long as it supports WEP encryption. So I thought about buying a dongle. However, I also figured out that, eventually, I&#8217;ll have some more hardware, such as a laptop, which will need a wi-fi connection. Therefore, to avoid wasting money, I bought a router, the Linksys WRK54G, which was the cheapest one I could find.</p>
<p>So far, so good, right? Not so fast. Those routers expect &#8211; indeed, they&#8217;re made for exactly such a purpose &#8211; to be directly connected to the Internet, and then to &#8220;give&#8221; access to other boxes &#8211; it can do NAT, port redirection, firewalling and also serves as a DHCP server.</p>
<p>But I already have one firewall, my OpenBSD box, which is also the server where all my blogs and sites reside. And I had no intention of putting it <i>behind</i> the Linksys.</p>
<p>After many tries and changes, what worked was the following:</p>
<ul>
<li>I added a third NIC to the OpenBSD box, and created a new network (<code>192.168.1.0/24</code>, the already active one is <code>192.168.0.0/24</code>), to be used for wireless stuff. The new card has the IP address <code>192.168.1.1</code>.</li>
<li>The Linksys&#8217;s &#8220;Internet&#8221; port was connected to that new port.</li>
<li>The &#8220;Internet&#8221; port in the Linksys got a new address in that new network, <code>192.168.1.2</code>. It also has an &#8220;internal&#8221; address, <code> 192.168.1.3</code>. No other (ethernet) ports on the Linksys are used.</li>
<li>I disabled NAT in the Linksys, and enabled it for the new network in the OpenBSD box.</li>
<li>I activated a new <code>dnscache</code> process to listen on <code>192.168.1.1</code>  in OpenBSD.</li>
<li>In the Linksys, the default Internet gateway is, of course, <code>192.168.1.1</code>.</li>
<li>I configured the DS to have a static IP, <code>192.168.1.4</code>, and the gateway is <code>192.168.1.3</code>. The DNS server is <code>192.168.1.1</code>. <small>(I think I tried using <code>192.168.1.1</code> as the gateway in the DS, but it didn&#8217;t work)</small></li>
<li>I activated WEP encryption in the router, generated a key, and typed it on the DS.</li>
<li>&#8220;Connection test successful&#8221;&#8230; yes! <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>I also configured OpenBSD to do NAT between the two internal networks, so I can use a browser in my desktop (<code>192.168.0.3</code>) to administer the Linksys (at <code>192.168.1.3</code>).</li>
</ul>
<p>Most users wouldn&#8217;t be in this situation, they&#8217;d just use the Linksys to connect to the Internet. But I didn&#8217;t want to, so&#8230;</p>
<p><b>EDIT: </b> the above isn&#8217;t 100% correct. See <a href="http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/">Part 2</a>.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> ]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2005/12/16/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

