<?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: Mikrotik router audio alignment script.</title>
	<atom:link href="http://blog.butchevans.com/2008/09/mikrotik-router-audio-alignment-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.butchevans.com/2008/09/mikrotik-router-audio-alignment-script/</link>
	<description>WISP Tutorials by Butch Evans</description>
	<lastBuildDate>Mon, 19 Jul 2010 04:23:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Mikrotik’s True Full Duplex Wireless – NStreme Dual - Persian Networks</title>
		<link>http://blog.butchevans.com/2008/09/mikrotik-router-audio-alignment-script/comment-page-1/#comment-20</link>
		<dc:creator>Mikrotik’s True Full Duplex Wireless – NStreme Dual - Persian Networks</dc:creator>
		<pubDate>Thu, 15 Oct 2009 20:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.butchevans.com/?p=40#comment-20</guid>
		<description>[...] antennas in another article in the future, but this is the basic process. You may wish to use the Audio Alignment Script to align the antennas. One other consideration before deciding to use the NStreme Dual connection [...]</description>
		<content:encoded><![CDATA[<p>[...] antennas in another article in the future, but this is the basic process. You may wish to use the Audio Alignment Script to align the antennas. One other consideration before deciding to use the NStreme Dual connection [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randy</title>
		<link>http://blog.butchevans.com/2008/09/mikrotik-router-audio-alignment-script/comment-page-1/#comment-3</link>
		<dc:creator>randy</dc:creator>
		<pubDate>Thu, 18 Sep 2008 22:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.butchevans.com/?p=40#comment-3</guid>
		<description>I made a few modifications to this for my use.  I tried to document more of it, and make it more configurable.  Hopefully this is helpful to someone:

&lt;pre&gt;&lt;code&gt;
# 10 sec delay required by ROS3 for startup scripts?
:delay 10

# set the interface you want to monitor
:local interface &quot;wlan1&quot;;

#set the sound frequency you want to use (in Hz)
:local beepfreq &quot;523.251&quot;;


#set the number of iterations - approx 1-2 seconds per iteration
:local iterations &quot;150&quot;;

:local beep &quot;10ms&quot;;
:local no &quot;2400ms&quot;;
:local s90 &quot;1290ms&quot;;
:local s85 &quot;790ms&quot;;
:local s80 &quot;590ms&quot;;
:local s77 &quot;390ms&quot;;
:local s74 &quot;290ms&quot;;
:local s71 &quot;240ms&quot;;
:local s68 &quot;190ms&quot;;
:local s65 &quot;140ms&quot;;
:local s62 &quot;90ms&quot;;
:local s59 &quot;60ms&quot;;
:local s56 &quot;40ms&quot;;
:local s53 &quot;20ms&quot;;
:local s50 &quot;10ms&quot;;
:for i from=1 to=$iterations do={

/interface wireless monitor $interface once do={

 :if ($&quot;signal-strength&quot; &lt;= -90) do={
 :delay $no;
  }
 :if ($&quot;signal-strength&quot;  -90) do={
  :for i from=1 to=2 do={ :beep length=$beep frequency=$beepfreq;  :delay $s90; }
  }  
 :if ($&quot;signal-strength&quot;  -85) do={
 :for i from=1 to=3 do={ :beep length=$beep frequency=$beepfreq;  :delay $s85; }
  }
 :if ($&quot;signal-strength&quot;  -80) do={
 :for i from=1 to=4 do={ :beep length=$beep frequency=$beepfreq;  :delay $s80; }
  }  
 :if ($&quot;signal-strength&quot;  -77) do={
 :for i from=1 to=6 do={ :beep length=$beep frequency=$beepfreq;  :delay $s77; }
  }  
 :if ($&quot;signal-strength&quot;  -74) do={
 :for i from=1 to=8 do={ :beep length=$beep frequency=$beepfreq;  :delay $s74; }
  }  
 :if ($&quot;signal-strength&quot;  -71) do={
 :for i from=1 to=10 do={ :beep length=$beep frequency=$beepfreq;  :delay $s71; }
  }  
 :if ($&quot;signal-strength&quot;  -68) do={
 :for i from=1 to=12 do={ :beep length=$beep frequency=$beepfreq;  :delay $s68; }
  }  
 :if ($&quot;signal-strength&quot;  -65) do={
  :for i from=1 to=16 do={ :beep length=$beep frequency=$beepfreq;  :delay $s65; }
  }  
 :if ($&quot;signal-strength&quot;  -62) do={
  :for i from=1 to=24 do={ :beep length=$beep frequency=$beepfreq;  :delay $s62; }
  }  
 :if ($&quot;signal-strength&quot;  -59) do={
  :for i from=1 to=34 do={ :beep length=$beep frequency=$beepfreq;  :delay $s59; }
  }  
 :if ($&quot;signal-strength&quot;  -56) do={
  :for i from=1 to=48 do={ :beep length=$beep frequency=$beepfreq;  :delay $s56; }
  }
 :if ($&quot;signal-strength&quot;  -53) do={
 :for i from=1 to=80 do={ :beep length=$beep frequency=$beepfreq;  :delay $s53; }
  }  
 :if ($&quot;signal-strength&quot;  -50) do={
  :for i from=1 to=120 do={ :beep length=$beep frequency=$beepfreq;  :delay $s50; }
  }  
 }
}
&lt;/code&gt;&lt;/pre</description>
		<content:encoded><![CDATA[<p>I made a few modifications to this for my use.  I tried to document more of it, and make it more configurable.  Hopefully this is helpful to someone:</p>
<pre><code>
# 10 sec delay required by ROS3 for startup scripts?
:delay 10

# set the interface you want to monitor
:local interface "wlan1";

#set the sound frequency you want to use (in Hz)
:local beepfreq "523.251";

#set the number of iterations - approx 1-2 seconds per iteration
:local iterations "150";

:local beep "10ms";
:local no "2400ms";
:local s90 "1290ms";
:local s85 "790ms";
:local s80 "590ms";
:local s77 "390ms";
:local s74 "290ms";
:local s71 "240ms";
:local s68 "190ms";
:local s65 "140ms";
:local s62 "90ms";
:local s59 "60ms";
:local s56 "40ms";
:local s53 "20ms";
:local s50 "10ms";
:for i from=1 to=$iterations do={

/interface wireless monitor $interface once do={

 :if ($"signal-strength" &lt;= -90) do={
 :delay $no;
  }
 :if ($"signal-strength"  -90) do={
  :for i from=1 to=2 do={ :beep length=$beep frequency=$beepfreq;  :delay $s90; }
  }
 :if ($"signal-strength"  -85) do={
 :for i from=1 to=3 do={ :beep length=$beep frequency=$beepfreq;  :delay $s85; }
  }
 :if ($"signal-strength"  -80) do={
 :for i from=1 to=4 do={ :beep length=$beep frequency=$beepfreq;  :delay $s80; }
  }
 :if ($"signal-strength"  -77) do={
 :for i from=1 to=6 do={ :beep length=$beep frequency=$beepfreq;  :delay $s77; }
  }
 :if ($"signal-strength"  -74) do={
 :for i from=1 to=8 do={ :beep length=$beep frequency=$beepfreq;  :delay $s74; }
  }
 :if ($"signal-strength"  -71) do={
 :for i from=1 to=10 do={ :beep length=$beep frequency=$beepfreq;  :delay $s71; }
  }
 :if ($"signal-strength"  -68) do={
 :for i from=1 to=12 do={ :beep length=$beep frequency=$beepfreq;  :delay $s68; }
  }
 :if ($"signal-strength"  -65) do={
  :for i from=1 to=16 do={ :beep length=$beep frequency=$beepfreq;  :delay $s65; }
  }
 :if ($"signal-strength"  -62) do={
  :for i from=1 to=24 do={ :beep length=$beep frequency=$beepfreq;  :delay $s62; }
  }
 :if ($"signal-strength"  -59) do={
  :for i from=1 to=34 do={ :beep length=$beep frequency=$beepfreq;  :delay $s59; }
  }
 :if ($"signal-strength"  -56) do={
  :for i from=1 to=48 do={ :beep length=$beep frequency=$beepfreq;  :delay $s56; }
  }
 :if ($"signal-strength"  -53) do={
 :for i from=1 to=80 do={ :beep length=$beep frequency=$beepfreq;  :delay $s53; }
  }
 :if ($"signal-strength"  -50) do={
  :for i from=1 to=120 do={ :beep length=$beep frequency=$beepfreq;  :delay $s50; }
  }
 }
}
</code></pre</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
