<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://siavashs.org/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Siavash's Website</title>
        <description></description>
        <link>http://siavashs.org/</link>
        <lastBuildDate>Thu, 15 Oct 2009 19:18:55 +0330</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://siavashs.org/lib/images/favicon.ico</url>
            <title>Siavash's Website</title>
            <link>http://siavashs.org/</link>
        </image>
        <item>
            <title></title>
            <link>http://siavashs.org/about</link>
            <description>
&lt;p&gt;
My name is Siavash(&lt;a href=&quot;http://en.wikipedia.org/wiki/Siyâvash&quot; class=&quot;interwiki iw_wp&quot; title=&quot;http://en.wikipedia.org/wiki/Siyâvash&quot;&gt;Siyâvash&lt;/a&gt;) Safi. I&amp;#039;m a Free/Open Source software developer.
More:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.org/blog&quot; class=&quot;wikilink1&quot; title=&quot;blog&quot;&gt;My blog&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.facebook.com/siavash.safi&quot; class=&quot;urlextern&quot; title=&quot;http://www.facebook.com/siavash.safi&quot;  rel=&quot;nofollow&quot;&gt;Facebook&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://identi.ca/siavash&quot; class=&quot;urlextern&quot; title=&quot;http://identi.ca/siavash&quot;  rel=&quot;nofollow&quot;&gt;identi.ca&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://twitter.com/siavashs&quot; class=&quot;urlextern&quot; title=&quot;http://twitter.com/siavashs&quot;  rel=&quot;nofollow&quot;&gt;twitter&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://vi.sualize.us/siavashs/&quot; class=&quot;urlextern&quot; title=&quot;http://vi.sualize.us/siavashs/&quot;  rel=&quot;nofollow&quot;&gt;vi.sualize.us&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.deviantart.com/&quot; class=&quot;urlextern&quot; title=&quot;http://siavashs.deviantart.com/&quot;  rel=&quot;nofollow&quot;&gt;deviantart&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.ohloh.net/accounts/siavash&quot; class=&quot;urlextern&quot; title=&quot;https://www.ohloh.net/accounts/siavash&quot;  rel=&quot;nofollow&quot;&gt;ohloh&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.last.fm/user/SiavashSafi/&quot; class=&quot;urlextern&quot; title=&quot;http://www.last.fm/user/SiavashSafi/&quot;  rel=&quot;nofollow&quot;&gt;Last.fm&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
            <author>Siavash Safi</author>
            <pubDate>Wed, 14 Oct 2009 16:51:58 +0330</pubDate>
        </item>
        <item>
            <title></title>
            <link>http://siavashs.org/friends</link>
            <description>
&lt;p&gt;
Friends (in alphabetic order):
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://tlog.vardump.org/&quot; class=&quot;urlextern&quot; title=&quot;http://tlog.vardump.org/&quot;  rel=&quot;nofollow&quot;&gt;Armen Baghumian&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://bmpx.backtrace.info/site/User:Quirk&quot; class=&quot;urlextern&quot; title=&quot;http://bmpx.backtrace.info/site/User:Quirk&quot;  rel=&quot;nofollow&quot;&gt;David Le Brun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://bmpx.backtrace.info/site/User:Mderezynski&quot; class=&quot;urlextern&quot; title=&quot;http://bmpx.backtrace.info/site/User:Mderezynski&quot;  rel=&quot;nofollow&quot;&gt;Milosz Derezynski&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://mces.blogspot.com/&quot; class=&quot;urlextern&quot; title=&quot;http://mces.blogspot.com/&quot;  rel=&quot;nofollow&quot;&gt;Behdad Esfahbod&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://freemind.ir/&quot; class=&quot;urlextern&quot; title=&quot;http://freemind.ir/&quot;  rel=&quot;nofollow&quot;&gt;Abbas Esmaeeli&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://ashkan.tehlug.org/&quot; class=&quot;urlextern&quot; title=&quot;http://ashkan.tehlug.org/&quot;  rel=&quot;nofollow&quot;&gt;Ashkan Ghassemi&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://zoup.org/plog/&quot; class=&quot;urlextern&quot; title=&quot;http://zoup.org/plog/&quot;  rel=&quot;nofollow&quot;&gt;Armin Ranjbar(Zoup)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://pioneermind.ir/&quot; class=&quot;urlextern&quot; title=&quot;http://pioneermind.ir/&quot;  rel=&quot;nofollow&quot;&gt;Sasan Rose&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://gluegadget.com&quot; class=&quot;urlextern&quot; title=&quot;http://gluegadget.com&quot;  rel=&quot;nofollow&quot;&gt;Amir Saied&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://mybabblebox.blogspot.com/&quot; class=&quot;urlextern&quot; title=&quot;http://mybabblebox.blogspot.com/&quot;  rel=&quot;nofollow&quot;&gt;his persian blog&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://community.ir/~emilsedgh/blog/&quot; class=&quot;urlextern&quot; title=&quot;http://community.ir/~emilsedgh/blog/&quot;  rel=&quot;nofollow&quot;&gt;Emil Sedgh&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
            <author>Siavash Safi</author>
            <pubDate>Wed, 14 Oct 2009 16:27:36 +0330</pubDate>
        </item>
        <item>
            <title></title>
            <link>http://siavashs.org/contact</link>
            <description>&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;siavashs AT siavashs DOT org&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;siavash.safi AT gmail DOT com&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;chat:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;gtalk:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt;siavash.safi AT gmail DOT com&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;yahoo:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt;siavash.safi&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;icq:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt;587659422&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;irc:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;irc://irc.freenode.net/&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.freenode.net/&quot;  rel=&quot;nofollow&quot;&gt;freenode&lt;/a&gt;, nickname Siavash, on &lt;a href=&quot;irc://irc.freenode.net/#youki&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.freenode.net/#youki&quot;  rel=&quot;nofollow&quot;&gt;#youki&lt;/a&gt;, &lt;a href=&quot;irc://irc.freenode.net/#technotux&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.freenode.net/#technotux&quot;  rel=&quot;nofollow&quot;&gt;#technotux&lt;/a&gt;, &lt;a href=&quot;irc://irc.freenode.net/#tehlug&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.freenode.net/#tehlug&quot;  rel=&quot;nofollow&quot;&gt;#tehlug&lt;/a&gt; and some other channels.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;irc://irc.gimp.org/&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.gimp.org/&quot;  rel=&quot;nofollow&quot;&gt;GIMPNet&lt;/a&gt;, nickname Siavash, on &lt;a href=&quot;irc://irc.gimp.org/#c++&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.gimp.org/#c++&quot;  rel=&quot;nofollow&quot;&gt;#c++&lt;/a&gt;, &lt;a href=&quot;irc://irc.gimp.org/#clutter&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.gimp.org/#clutter&quot;  rel=&quot;nofollow&quot;&gt;#clutter&lt;/a&gt; and &lt;a href=&quot;irc://irc.gimp.org/#gtk+&quot; class=&quot;urlextern&quot; title=&quot;irc://irc.gimp.org/#gtk+&quot;  rel=&quot;nofollow&quot;&gt;#gtk+&lt;/a&gt; channels.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
            <author>Siavash Safi</author>
            <pubDate>Tue, 15 Sep 2009 17:20:38 +0330</pubDate>
        </item>
        <item>
            <title>Linux Kernel</title>
            <link>http://siavashs.org/tips:linux</link>
            <description>


&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Linux Kernel&quot; [1-23] --&gt;
&lt;h3&gt;&lt;a name=&quot;command_line&quot; id=&quot;command_line&quot;&gt;Command Line&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;panic&quot; id=&quot;panic&quot;&gt;Panic&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Reboots the kernel after specified seconds if a panic happens:

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
panic=5
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Command Line&quot; [24-] --&gt;</description>
            <author>Siavash Safi</author>
        <category>tips</category>
            <pubDate>Tue, 25 Aug 2009 19:27:07 +0330</pubDate>
        </item>
        <item>
            <title>Gnu</title>
            <link>http://siavashs.org/tips:gnu</link>
            <description>


&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Gnu&quot; [1-15] --&gt;
&lt;h3&gt;&lt;a name=&quot;grub&quot; id=&quot;grub&quot;&gt;Grub&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;booting_to_a_new_kernel_only_once&quot; id=&quot;booting_to_a_new_kernel_only_once&quot;&gt;Booting to a new kernel only once&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
# echo &amp;quot;savedefault --default=1 --once&amp;quot; | grub --batch
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Grub&quot; [16-] --&gt;</description>
            <author>Siavash Safi</author>
        <category>tips</category>
            <pubDate>Tue, 25 Aug 2009 19:25:34 +0330</pubDate>
        </item>
        <item>
            <title>Tips</title>
            <link>http://siavashs.org/tips</link>
            <description>
&lt;p&gt;
This is where I write some tips that I may need later, you may need them too &lt;img src=&quot;http://siavashs.org/lib/images/smileys/icon_wink.gif&quot; class=&quot;middle&quot; alt=&quot;;-)&quot; /&gt;

&lt;/p&gt;

&lt;div class=&quot;level1&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.org/tips:gnu&quot; class=&quot;wikilink1&quot; title=&quot;tips:gnu&quot;&gt;Gnu&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.org/tips:linux&quot; class=&quot;wikilink1&quot; title=&quot;tips:linux&quot;&gt;Linux Kernel&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.org/tips:networking&quot; class=&quot;wikilink1&quot; title=&quot;tips:networking&quot;&gt;Networking&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://siavashs.org/tips:wive&quot; class=&quot;wikilink1&quot; title=&quot;tips:wive&quot;&gt;Wive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Tips&quot; [82-] --&gt;</description>
            <author>Siavash Safi</author>
            <pubDate>Tue, 25 Aug 2009 19:22:51 +0330</pubDate>
        </item>
        <item>
            <title>Wive(-NG) Configuration</title>
            <link>http://siavashs.org/blog:wive_-ng_configuration</link>
            <description>


&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I wrote about &lt;strong&gt;Wive&lt;/strong&gt; in &lt;a href=&quot;http://siavashs.org/blog:wive_a_free_opensource_firmware_for_rtl8186_based_devices&quot; class=&quot;wikilink1&quot; title=&quot;blog:wive_a_free_opensource_firmware_for_rtl8186_based_devices&quot;&gt;the previous post&lt;/a&gt;. I&amp;#039;m going to write about the configuration in this one. But first I should tell you about &lt;a href=&quot;http://sourceforge.net/projects/wive-ng/&quot; class=&quot;urlextern&quot; title=&quot;http://sourceforge.net/projects/wive-ng/&quot;  rel=&quot;nofollow&quot;&gt;Wive-NG&lt;/a&gt; which is the next generation firmware. I highly recommend upgrading to wive-ng. The upgrade can be done as I described it in the previous post (make sure to reset the device after that). The only difference is the default ip address which is set to: &lt;strong&gt;10.200.200.249&lt;/strong&gt;.
&lt;/p&gt;

&lt;p&gt;
First you should connect to the router using &lt;strong&gt;ssh&lt;/strong&gt; or any ssh client you like:

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
$ ssh root@10.200.200.249
root@10.200.200.249&amp;#039;s password: 
::Wive-NG-0.2.21::RTL8186-REALTIME::
Base station firmware version
Enter &amp;#039;menu&amp;#039; for config router
Sun, 26 Apr 2009 18:41:28 +0700
[Wive-NG@/]# 
&lt;/pre&gt;

&lt;p&gt;

&lt;p&gt;&lt;div class=&quot;notetip&quot;&gt;
&lt;strong&gt;Note!&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
The default password is &lt;strong&gt;rtl8186&lt;/strong&gt;, don&amp;#039;t forget to change it.

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;p&gt;
Running &lt;strong&gt;menu&lt;/strong&gt; will show you the configuration menu:

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
-=General menu=-
	
1) Boot 2)Interfaces 3)General 4)WPA 5)Stat 6)Scan 7)RSSI 8)ExtendedMenu
9) Change password 10) WiFi reset 11)Save 12)Reboot 13)Quit
	
Enter choice number: 
&lt;/pre&gt;

&lt;p&gt;

Enter a number and the related configuration file will be opened using &lt;strong&gt;vi&lt;/strong&gt;. The configuration files are all documented using comments.
&lt;p&gt;&lt;div class=&quot;noteimportant&quot;&gt;
&lt;strong&gt;Important!&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Don&amp;#039;t forget to save the configuration by entering &lt;strong&gt;11&lt;/strong&gt; or all the settings will be lost after reboot!

&lt;/div&gt;&lt;/p&gt;
It&amp;#039;s not possible to describe the configuration in detail here since there are many ways to configure the router which depends on how you&amp;#039;re going to use it.
&lt;/p&gt;

&lt;p&gt;
You should know about basic linux networking in order to be able to do the configuration. If you don&amp;#039;t you can ask in any linux forums and/or irc channel related to networking. Wive-NG has a &lt;a href=&quot;http://wive-ng.wiki.sourceforge.net/&quot; class=&quot;urlextern&quot; title=&quot;http://wive-ng.wiki.sourceforge.net/&quot;  rel=&quot;nofollow&quot;&gt;wiki&lt;/a&gt; but unfortunately it&amp;#039;s in russian, you can use &lt;a href=&quot;http://translate.google.com/&quot; class=&quot;urlextern&quot; title=&quot;http://translate.google.com/&quot;  rel=&quot;nofollow&quot;&gt;google translate&lt;/a&gt; &lt;img src=&quot;http://siavashs.org/lib/images/smileys/icon_wink.gif&quot; class=&quot;middle&quot; alt=&quot;;-)&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
If you have any problems/questions related to configuration, feel free to ask here &lt;img src=&quot;http://siavashs.org/lib/images/smileys/icon_smile.gif&quot; class=&quot;middle&quot; alt=&quot;:-)&quot; /&gt;
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;http://siavashs.org/general:wive?do=showtag&amp;amp;tag=general%3Awive&quot; class=&quot;wikilink1&quot; title=&quot;general:wive&quot; rel=&quot;tag&quot;&gt;wive&lt;/a&gt;,
	&lt;a href=&quot;http://siavashs.org/general:linux?do=showtag&amp;amp;tag=general%3Alinux&quot; class=&quot;wikilink1&quot; title=&quot;general:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;http://siavashs.org/general:wireless?do=showtag&amp;amp;tag=general%3Awireless&quot; class=&quot;wikilink1&quot; title=&quot;general:wireless&quot; rel=&quot;tag&quot;&gt;wireless&lt;/a&gt;,
	&lt;a href=&quot;http://siavashs.org/general:access_point?do=showtag&amp;amp;tag=general%3Aaccess_point&quot; class=&quot;wikilink1&quot; title=&quot;general:access_point&quot; rel=&quot;tag&quot;&gt;access point&lt;/a&gt;,
	&lt;a href=&quot;http://siavashs.org/general:config?do=showtag&amp;amp;tag=general%3Aconfig&quot; class=&quot;wikilink1&quot; title=&quot;general:config&quot; rel=&quot;tag&quot;&gt;config&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;span class=&quot;plugin_feedmod_comments&quot;&gt;
  &lt;a href=&quot;http://siavashs.org/blog:wive_-ng_configuration#discussion__section&quot; title=&quot;Read or add comments to this article&quot;&gt;Read or add comments to this article&lt;/a&gt;
&lt;/span&gt;
</description>
            <author>Siavash Safi</author>
        <category>wive</category>
        <category>linux</category>
        <category>wireless</category>
        <category>access_point</category>
        <category>config</category>
            <pubDate>Fri, 08 May 2009 19:08:52 +0330</pubDate>
        </item>
        <item>
            <title>Networking</title>
            <link>http://siavashs.org/tips:networking</link>
            <description>


&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Networking&quot; [1-25] --&gt;
&lt;h2&gt;&lt;a name=&quot;iptables&quot; id=&quot;iptables&quot;&gt;iptables&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;iptables&quot; [26-46] --&gt;
&lt;h3&gt;&lt;a name=&quot;sharing_an_internet_connection&quot; id=&quot;sharing_an_internet_connection&quot;&gt;sharing an internet connection&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
eth0: connected to internet
&lt;/p&gt;

&lt;p&gt;
wlan0: local WLAN

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# iptables -A INPUT -i wlan0 -j ACCEPT
# echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;sharing an internet connection&quot; [47-285] --&gt;
&lt;h3&gt;&lt;a name=&quot;full_nat&quot; id=&quot;full_nat&quot;&gt;Full NAT&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
# iptables -t nat -A POSTROUTING -j MASQUERADE
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Full NAT&quot; [286-366] --&gt;
&lt;h3&gt;&lt;a name=&quot;mac_address_filtering&quot; id=&quot;mac_address_filtering&quot;&gt;MAC Address Filtering&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Filter (Used with FORWARD here) all incoming traffic from wlan0 and outgoing to eth0 except the specified MAC address (can add more MACs using the same command)

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
# iptables -P FORWARD DROP
# iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
# iptables -A FORWARD -i wlan0 -o eth0 -m mac --mac-source xx:xx:xx:xx:xx:xx -m state --state NEW -j ACCEPT
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;MAC Address Filtering&quot; [367-] --&gt;</description>
            <author>Siavash Safi</author>
        <category>tips</category>
            <pubDate>Mon, 13 Apr 2009 15:55:25 +0330</pubDate>
        </item>
        <item>
            <title>Wive</title>
            <link>http://siavashs.org/tips:wive</link>
            <description>


&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Wive&quot; [1-19] --&gt;
&lt;h2&gt;&lt;a name=&quot;installation&quot; id=&quot;installation&quot;&gt;Installation&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
TODO

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Installation&quot; [20-49] --&gt;
&lt;h2&gt;&lt;a name=&quot;configuration&quot; id=&quot;configuration&quot;&gt;Configuration&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
TODO

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;Configuration&quot; [50-] --&gt;</description>
            <author>Siavash Safi</author>
        <category>tips</category>
            <pubDate>Mon, 13 Apr 2009 15:48:47 +0330</pubDate>
        </item>
    </channel>
</rss>
