<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wireless client bridging with OpenWRT</title>
	<atom:link href="http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/feed/" rel="self" type="application/rss+xml" />
	<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/</link>
	<description>Might even work.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:01:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: angus</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-2478</link>
		<dc:creator>angus</dc:creator>
		<pubDate>Fri, 12 Nov 2010 00:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-2478</guid>
		<description>normunds: sorry, since your previous comment I&#039;d actually given up on arpnat and gone back to WDS, which I&#039;m quite happy with now.

I think broadcasts are never handled particularly well by the arpnat hacks, that&#039;s one of the reasons why I moved back (DHCP broadcast/response  was not quite working correctly.)</description>
		<content:encoded><![CDATA[<p>normunds: sorry, since your previous comment I&#8217;d actually given up on arpnat and gone back to WDS, which I&#8217;m quite happy with now.</p>
<p>I think broadcasts are never handled particularly well by the arpnat hacks, that&#8217;s one of the reasons why I moved back (DHCP broadcast/response  was not quite working correctly.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: normunds</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-2466</link>
		<dc:creator>normunds</dc:creator>
		<pubDate>Thu, 11 Nov 2010 20:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-2466</guid>
		<description>better late than never. I lost this site. ;)
sta........ ap

pinging from station to ap reboots the station running arpnat.
Had eric developed fresh patch for openwrt with newer kernels 2.6.32 onwards ? If yes then plz provide me the link.
One instance in installed scdp cisco discovery protocol on br-lan and the station started rebooting in loops as soon as scdp sends broadcast to network.</description>
		<content:encoded><![CDATA[<p>better late than never. I lost this site. <img src='http://projectgus.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
sta&#8230;&#8230;.. ap</p>
<p>pinging from station to ap reboots the station running arpnat.<br />
Had eric developed fresh patch for openwrt with newer kernels 2.6.32 onwards ? If yes then plz provide me the link.<br />
One instance in installed scdp cisco discovery protocol on br-lan and the station started rebooting in loops as soon as scdp sends broadcast to network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schniggie</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-1984</link>
		<dc:creator>schniggie</dc:creator>
		<pubDate>Fri, 01 Oct 2010 17:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-1984</guid>
		<description>Hey angus,
great work ... i want to mention that you must be careful with the kernel modules (kmod) form the default repository ... you must compile all kmods with the above kernel config. with the default kmods the userland applications will segfault ...</description>
		<content:encoded><![CDATA[<p>Hey angus,<br />
great work &#8230; i want to mention that you must be careful with the kernel modules (kmod) form the default repository &#8230; you must compile all kmods with the above kernel config. with the default kmods the userland applications will segfault &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neo</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-1663</link>
		<dc:creator>neo</dc:creator>
		<pubDate>Mon, 20 Sep 2010 06:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-1663</guid>
		<description>Hi angus

I saw your comment on openwrt website (https://forum.openwrt.org/viewtopic.php?pid=116595). 

I have a problem with ath5k and wds mode. My setup is something like yours, just my AP and client systems are like each other. Now when I use wds option without encryption or encryption without wds everything work fine. but when I use wds and encryption together, my link is connected but I can&#039;t send or receive any thing. even I can&#039;t ping AP from client side console or vice versa.

I thought may be you know anything about this problem.

Thanks in advance

neo</description>
		<content:encoded><![CDATA[<p>Hi angus</p>
<p>I saw your comment on openwrt website (<a href="https://forum.openwrt.org/viewtopic.php?pid=116595" rel="nofollow">https://forum.openwrt.org/viewtopic.php?pid=116595</a>). </p>
<p>I have a problem with ath5k and wds mode. My setup is something like yours, just my AP and client systems are like each other. Now when I use wds option without encryption or encryption without wds everything work fine. but when I use wds and encryption together, my link is connected but I can&#8217;t send or receive any thing. even I can&#8217;t ping AP from client side console or vice versa.</p>
<p>I thought may be you know anything about this problem.</p>
<p>Thanks in advance</p>
<p>neo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angus</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-424</link>
		<dc:creator>angus</dc:creator>
		<pubDate>Wed, 07 Jul 2010 11:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-424</guid>
		<description>Normunds, thanks for taking the time to report back.

I&#039;ve been running with this setup at home since March now, and like you it&#039;s generally been good. If by &quot;link is flapping&quot; you mean the wireless then I&#039;ve seen similar symptoms - sometimes it seems to take a while for the ARPed clients to recover from a wireless network restart. The situation you describe makes perfect sense, if that&#039;s the case.

I haven&#039;t seen the broadcast ARP crash situation you&#039;re talking about, though. Can you describe it in detail for me?

Cheers,

- Angus</description>
		<content:encoded><![CDATA[<p>Normunds, thanks for taking the time to report back.</p>
<p>I&#8217;ve been running with this setup at home since March now, and like you it&#8217;s generally been good. If by &#8220;link is flapping&#8221; you mean the wireless then I&#8217;ve seen similar symptoms &#8211; sometimes it seems to take a while for the ARPed clients to recover from a wireless network restart. The situation you describe makes perfect sense, if that&#8217;s the case.</p>
<p>I haven&#8217;t seen the broadcast ARP crash situation you&#8217;re talking about, though. Can you describe it in detail for me?</p>
<p>Cheers,</p>
<p>- Angus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: normunds</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-422</link>
		<dc:creator>normunds</dc:creator>
		<pubDate>Wed, 07 Jul 2010 10:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-422</guid>
		<description>it works well on our test but few glitches are seen.
1) when the link is flapping. Its on the margin of loosing we saw mac address of the client changing in desktop (arp -a ) sometimes of ath0 and sometimes of eth0 which make the station unreachable.
2) broadcast arp from wireless interface from inside the station. Like pinging anything on the wireless side crashes the station and it reboots.</description>
		<content:encoded><![CDATA[<p>it works well on our test but few glitches are seen.<br />
1) when the link is flapping. Its on the margin of loosing we saw mac address of the client changing in desktop (arp -a ) sometimes of ath0 and sometimes of eth0 which make the station unreachable.<br />
2) broadcast arp from wireless interface from inside the station. Like pinging anything on the wireless side crashes the station and it reboots.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angus</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-165</link>
		<dc:creator>angus</dc:creator>
		<pubDate>Sun, 18 Apr 2010 00:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-165</guid>
		<description>Hi oMatrix,

Good question. You can probably adapt the patch which is there. The only madwifi-specific part is the client-bridge hotplug script, which picks up &quot;client-bridge 1&quot; and then run ebtables with the correct argument for the specific interface.

You could either adapt that script for ath5k, or just put hard-coded &#039;ebtables&#039; calls into your rc.local or a similar startup file. I think this section is all you really need:

ebtables -t nat -F PREROUTING
ebtables -t nat -F POSTROUTING
ebtables -t broute -F BROUTING
ebtables -t nat -A PREROUTING  --in-interface  $INTERFACE -j arpnat --arpnat-target ACCEPT
ebtables -t nat -A POSTROUTING --out-interface $INTERFACE -j arpnat --arpnat-target ACCEPT
ebtables -t broute -A BROUTING --in-interface  $INTERFACE --protocol 0x888e -j DROP

Where you replace $INTERFACE with your wireless interface.

Of course, you still need to apply the rest of the patch - you need the part which adds arpnat support to ebtables.

Hth.

- Angus</description>
		<content:encoded><![CDATA[<p>Hi oMatrix,</p>
<p>Good question. You can probably adapt the patch which is there. The only madwifi-specific part is the client-bridge hotplug script, which picks up &#8220;client-bridge 1&#8243; and then run ebtables with the correct argument for the specific interface.</p>
<p>You could either adapt that script for ath5k, or just put hard-coded &#8216;ebtables&#8217; calls into your rc.local or a similar startup file. I think this section is all you really need:</p>
<p>ebtables -t nat -F PREROUTING<br />
ebtables -t nat -F POSTROUTING<br />
ebtables -t broute -F BROUTING<br />
ebtables -t nat -A PREROUTING  &#8211;in-interface  $INTERFACE -j arpnat &#8211;arpnat-target ACCEPT<br />
ebtables -t nat -A POSTROUTING &#8211;out-interface $INTERFACE -j arpnat &#8211;arpnat-target ACCEPT<br />
ebtables -t broute -A BROUTING &#8211;in-interface  $INTERFACE &#8211;protocol 0x888e -j DROP</p>
<p>Where you replace $INTERFACE with your wireless interface.</p>
<p>Of course, you still need to apply the rest of the patch &#8211; you need the part which adds arpnat support to ebtables.</p>
<p>Hth.</p>
<p>- Angus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oMatrix</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-155</link>
		<dc:creator>oMatrix</dc:creator>
		<pubDate>Sat, 17 Apr 2010 08:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-155</guid>
		<description>Hi Angus

That&#039;s a great work. 

I have a question about it. Is there any patch to work with ath5k driver instead of madwifi?

Thanks in advance

 oMatrix</description>
		<content:encoded><![CDATA[<p>Hi Angus</p>
<p>That&#8217;s a great work. </p>
<p>I have a question about it. Is there any patch to work with ath5k driver instead of madwifi?</p>
<p>Thanks in advance</p>
<p> oMatrix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angus</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-124</link>
		<dc:creator>angus</dc:creator>
		<pubDate>Sat, 10 Apr 2010 03:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-124</guid>
		<description>James,

If that&#039;s the arp table on your laptop, then it&#039;s wrong. The MAC for 192.168.251.251 (the router) should be spoofed by the Fonera to be the same as the Fonera&#039;s MAC. Otherwise, ARP NATting can&#039;t work.

The Fonera&#039;s ARP table should be the only ARP table with correct MACs for everything, because it &quot;knows&quot; both sides of the ARPNAT bridge.

You could try &#039;tcpdump -i br-lan -v arp&#039; on the Fonera, and the equivalent on your Laptop, and watch where the ARP requests are going from/to.

The images I supplied were built using the .config file that&#039;s in the patches directory as config-arpnat-fonera. Try downloading that file, &#039;make clean&#039;, copy it as .config in the root OpenWRT build directory, then do a &#039;make&#039; and see if the resulting image turns out. If it does work, then after thart you can try &#039;make menuconfig&#039; and add whatever options you need on top of that.

- Angus</description>
		<content:encoded><![CDATA[<p>James,</p>
<p>If that&#8217;s the arp table on your laptop, then it&#8217;s wrong. The MAC for 192.168.251.251 (the router) should be spoofed by the Fonera to be the same as the Fonera&#8217;s MAC. Otherwise, ARP NATting can&#8217;t work.</p>
<p>The Fonera&#8217;s ARP table should be the only ARP table with correct MACs for everything, because it &#8220;knows&#8221; both sides of the ARPNAT bridge.</p>
<p>You could try &#8216;tcpdump -i br-lan -v arp&#8217; on the Fonera, and the equivalent on your Laptop, and watch where the ARP requests are going from/to.</p>
<p>The images I supplied were built using the .config file that&#8217;s in the patches directory as config-arpnat-fonera. Try downloading that file, &#8216;make clean&#8217;, copy it as .config in the root OpenWRT build directory, then do a &#8216;make&#8217; and see if the resulting image turns out. If it does work, then after thart you can try &#8216;make menuconfig&#8217; and add whatever options you need on top of that.</p>
<p>- Angus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://projectgus.com/2010/03/wireless-client-bridging-with-openwrt/comment-page-1/#comment-120</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 09 Apr 2010 12:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://projectgus.com/?p=122#comment-120</guid>
		<description>Angus,

Yes, your image work fine (same setup). My arp table report correct MAC:
192.168.251.100  ether   00:12:cf:81:7e:34   C                     eth0
192.168.251.251  ether   00:15:6d:aa:86:25   C                     eth0

My laptop no have default gateway. Please, how do you do building your images ?

Thanks</description>
		<content:encoded><![CDATA[<p>Angus,</p>
<p>Yes, your image work fine (same setup). My arp table report correct MAC:<br />
192.168.251.100  ether   00:12:cf:81:7e:34   C                     eth0<br />
192.168.251.251  ether   00:15:6d:aa:86:25   C                     eth0</p>
<p>My laptop no have default gateway. Please, how do you do building your images ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

