<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: The Saga of the Nintendo DS and the Linksys WRK54G, part 2</title>
	<atom:link href="http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/</link>
	<description></description>
	<pubDate>Thu, 04 Dec 2008 02:58:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ed</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comment-852</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 23 Feb 2006 22:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetlog.net/?p=228#comment-852</guid>
		<description>While I've neither a linksys wrk54g nor a nintendo ds, I do have an openbsd edge router and enjoy online gaming through an old netgear 11-mbit router that I essentially use as a bridge by connecting it to my openbsd machine via a regular port and not the internet port. One pf behavior worth noting is the way it "translates" the port numbers of packets originating from the internal network to different port numbers for packets meant for the internet. This can be disabled by adding "static-port" to the end of the nat line for your gaming network in your pf.conf. It's important that you don't static-port more than one nat line as it will result in a kernel panic should two internal hosts decide to use the same port to connect to an internet host.
Using "static-port" in your pf.conf nat line resolves most issues with connecting to online games, as Jay P seems to have. As for having to periodically ping your router, this shouldn't be necessary at all. I would investigate this from the openbsd machine with tcpdump or ethereal (if you've got X11 handy) and pay particular attention to arp requests.</description>
		<content:encoded><![CDATA[<p>While I&#8217;ve neither a linksys wrk54g nor a nintendo ds, I do have an openbsd edge router and enjoy online gaming through an old netgear 11-mbit router that I essentially use as a bridge by connecting it to my openbsd machine via a regular port and not the internet port. One pf behavior worth noting is the way it &#8220;translates&#8221; the port numbers of packets originating from the internal network to different port numbers for packets meant for the internet. This can be disabled by adding &#8220;static-port&#8221; to the end of the nat line for your gaming network in your pf.conf. It&#8217;s important that you don&#8217;t static-port more than one nat line as it will result in a kernel panic should two internal hosts decide to use the same port to connect to an internet host.<br />
Using &#8220;static-port&#8221; in your pf.conf nat line resolves most issues with connecting to online games, as Jay P seems to have. As for having to periodically ping your router, this shouldn&#8217;t be necessary at all. I would investigate this from the openbsd machine with tcpdump or ethereal (if you&#8217;ve got X11 handy) and pay particular attention to arp requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Timóteo</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comment-698</link>
		<dc:creator>Pedro Timóteo</dc:creator>
		<pubDate>Tue, 03 Jan 2006 14:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetlog.net/?p=228#comment-698</guid>
		<description>Let's see...

I ended up not using static ARP; it gave me other problems. I still don't know whether the fault is with the router, or the DS.

As for pf rules, there's nothing special there at the moment. The only rules that affect this are:

&lt;code&gt;pass in all keep state queue(q_def, q_pri)
pass out all keep state queue(q_def, q_pri)&lt;/code&gt;

(the &lt;code&gt;(q_def, q_pri)&lt;/code&gt; are there because I prioritize acks, but that isn't relevant here)

I'm also doing NAT for the wireless network:

&lt;code&gt;nat on $ext_if from 192.168.1.0/24 -&gt; ($ext_if)&lt;/code&gt;

and have a fixed IP on the DS.

And now the dumb part: I have a cron to ping the router's internal IP every minute... it was the only way I could find; otherwise, it would only work, as Adam says, just after a configuration change - not a couple of hours later. This way, it works. As I said, I tried static ARP, and it didn't work then.</description>
		<content:encoded><![CDATA[<p>Let&#8217;s see&#8230;</p>
<p>I ended up not using static ARP; it gave me other problems. I still don&#8217;t know whether the fault is with the router, or the DS.</p>
<p>As for pf rules, there&#8217;s nothing special there at the moment. The only rules that affect this are:</p>
<p><code>pass in all keep state queue(q_def, q_pri)<br />
pass out all keep state queue(q_def, q_pri)</code></p>
<p>(the <code>(q_def, q_pri)</code> are there because I prioritize acks, but that isn&#8217;t relevant here)</p>
<p>I&#8217;m also doing NAT for the wireless network:</p>
<p><code>nat on $ext_if from 192.168.1.0/24 -> ($ext_if)</code></p>
<p>and have a fixed IP on the DS.</p>
<p>And now the dumb part: I have a cron to ping the router&#8217;s internal IP every minute&#8230; it was the only way I could find; otherwise, it would only work, as Adam says, just after a configuration change - not a couple of hours later. This way, it works. As I said, I tried static ARP, and it didn&#8217;t work then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comment-695</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 02 Jan 2006 22:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetlog.net/?p=228#comment-695</guid>
		<description>I've just gotten one of these routers as well in the hope that it would work with my new DS (it's replacing an el-cheapo Edimax 802.11b AP which would the DS could only see if I forced it to 2Mb/s link speed...)  The AP is hooked up to one side of a Linux box that's acting as a firewall to keep random wardrivers off my LAN.

It seems to be behaving rather strangely, to say the least.  If the router has just reset itself (after any config change), the DS will generally connect quite happily.  On subsequent attempts it seems to sit there sending repeated ARP requests asking for the Linksys' MAC before finally giving up.  (If I see one more packet trace today I swear my eyes will start to bleed.)  Giving the DS a static IP address unsurprisingly doesn't help things.

So far I'm 0 for 3 (I borrowed a different Edimax 11g AP too) in terms of AP compatibility with the DS.  Everything else I have that talks WiFi has been perfectly happy on every occasion, of course.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just gotten one of these routers as well in the hope that it would work with my new DS (it&#8217;s replacing an el-cheapo Edimax 802.11b AP which would the DS could only see if I forced it to 2Mb/s link speed&#8230;)  The AP is hooked up to one side of a Linux box that&#8217;s acting as a firewall to keep random wardrivers off my LAN.</p>
<p>It seems to be behaving rather strangely, to say the least.  If the router has just reset itself (after any config change), the DS will generally connect quite happily.  On subsequent attempts it seems to sit there sending repeated ARP requests asking for the Linksys&#8217; MAC before finally giving up.  (If I see one more packet trace today I swear my eyes will start to bleed.)  Giving the DS a static IP address unsurprisingly doesn&#8217;t help things.</p>
<p>So far I&#8217;m 0 for 3 (I borrowed a different Edimax 11g AP too) in terms of AP compatibility with the DS.  Everything else I have that talks WiFi has been perfectly happy on every occasion, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay P</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comment-689</link>
		<dc:creator>Jay P</dc:creator>
		<pubDate>Fri, 30 Dec 2005 21:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetlog.net/?p=228#comment-689</guid>
		<description>Do you think you could post your pf.conf (or at least the relevant sections of it) that you're using? Also whatever you've done for the static ARP?

I have a similar situation. I have an OpenBSD box running at the front, as my firewall. I have a D-Link wireless router essentially operating as a wireless switch (I have one NIC on the OpenBSD box plugged into port 1 on the D-Link, ie. one of the "normal" ports, and another NIC on the OpenBSD box connected to the "internet").

I'm having horrible connection problems with the DS. I can usually connect to the WFC, but getting it to match me up with players almost never works. I'm currently using the dhcpd on the OpenBSD machine to assign a static IP to the DS, and I'm letting everything pass, when it's destined for the DS. I've even tried rdr'ing all UDP traffic coming in to the DS.

If I try taking the OpenBSD machine out of the equation, and plug my cable modem directly into the D-Link, things seem to work better.

Any thoughts? Thus far, you're the only other person I know of that is using an OpenBSD firewall with a DS.

Jay P.</description>
		<content:encoded><![CDATA[<p>Do you think you could post your pf.conf (or at least the relevant sections of it) that you&#8217;re using? Also whatever you&#8217;ve done for the static ARP?</p>
<p>I have a similar situation. I have an OpenBSD box running at the front, as my firewall. I have a D-Link wireless router essentially operating as a wireless switch (I have one NIC on the OpenBSD box plugged into port 1 on the D-Link, ie. one of the &#8220;normal&#8221; ports, and another NIC on the OpenBSD box connected to the &#8220;internet&#8221;).</p>
<p>I&#8217;m having horrible connection problems with the DS. I can usually connect to the WFC, but getting it to match me up with players almost never works. I&#8217;m currently using the dhcpd on the OpenBSD machine to assign a static IP to the DS, and I&#8217;m letting everything pass, when it&#8217;s destined for the DS. I&#8217;ve even tried rdr&#8217;ing all UDP traffic coming in to the DS.</p>
<p>If I try taking the OpenBSD machine out of the equation, and plug my cable modem directly into the D-Link, things seem to work better.</p>
<p>Any thoughts? Thus far, you&#8217;re the only other person I know of that is using an OpenBSD firewall with a DS.</p>
<p>Jay P.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Anderson</title>
		<link>http://www.thetlog.net/2005/12/19/the-saga-of-the-nintendo-ds-and-the-linksys-wrk54g-part-2/#comment-637</link>
		<dc:creator>Joe Anderson</dc:creator>
		<pubDate>Mon, 19 Dec 2005 21:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetlog.net/?p=228#comment-637</guid>
		<description>I have a Linux model. Was quite cheap too.</description>
		<content:encoded><![CDATA[<p>I have a Linux model. Was quite cheap too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
