<?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/"
	>

<channel>
	<title>OPLE IT Blog</title>
	<atom:link href="http://www.opleit.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.opleit.com/blog</link>
	<description>Knowledge Shared is Knowledge Multiplied</description>
	<lastBuildDate>Thu, 28 Jan 2010 22:56:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco Dialer and ATM interface setup</title>
		<link>http://www.opleit.com/blog/?p=75</link>
		<comments>http://www.opleit.com/blog/?p=75#comments</comments>
		<pubDate>Mon, 25 Jan 2010 20:24:25 +0000</pubDate>
		<dc:creator>-B1nh34D-</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Dialer]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[Interface]]></category>

		<guid isPermaLink="false">http://www.opleit.com/blog/?p=75</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I have put together some examples of an ATM, and Dialer interface with virtual dialer interface (as preffered by Cisco)</p>
<p>My device is a 2621xm + ADSL WIC. I shall post a full excerpt from the config:</p>
<p><a rel="attachment wp-att-81" href="http://www.opleit.com/blog/?attachment_id=81"><img class="aligncenter size-full wp-image-81" title="Attachment.SubType=MAIN" src="http://www.opleit.com/blog/wp-content/uploads/2010/01/Attachment.SubTypeMAIN.gif" alt="" width="300" height="300" /></a></p>
<blockquote><p>alex@STUDIO17:~$ telnet 192.168.1.254</p>
<p>Trying 192.168.1.254&#8230;</p>
<div>Connected to 192.168.1.254.</div>
<div id="_mcePaste">Escape character is &#8216;^]&#8217;.</div>
<div id="_mcePaste">User Access Verification</div>
<div id="_mcePaste">Username: alex</div>
<div id="_mcePaste">Password:</div>
<div id="_mcePaste">C2621XM&gt;en</div>
<div id="_mcePaste">Password:</div>
<div>C2621XM#sh run</div>
<div>
<div>interface Loopback</div>
<div>no ip address</div>
<div>!</div>
<div>interface ATM0/0</div>
<div>no ip address</div>
<div>no atm ilmi-keepalive</div>
<div>dsl operating-mode auto</div>
<div>pvc 0 0/38</div>
<div>encapsulation aal5mux ppp dialer</div>
<div>dialer pool-member 1</div>
<div>!</div>
<div>!</div>
<div>interface FastEthernet0/0</div>
<div>ip address 192.168.0.254 255.255.255.0</div>
<div>ip virtual-reassembly</div>
<div>duplex auto</div>
<div>speed auto</div>
<div>!</div>
<div>interface FastEthernet0/1</div>
<div>ip address 192.168.1.254 255.255.255.0</div>
<div>ip nat inside</div>
<div>ip virtual-reassembly</div>
<div>duplex auto</div>
<div>speed auto</div>
<div>!</div>
<div>interface Virtual-Template1</div>
<div>ip unnumbered Loopback0</div>
<div>ip virtual-reassembly</div>
<div>peer default ip address pool VPN</div>
<div>ppp encrypt mppe 128</div>
<div>ppp authentication ms-chap-v2</div>
<div>interface Dialer1</div>
<div>ip address negotiated</div>
<div>ip mtu 1432</div>
<div>ip nat outside</div>
<div>ip virtual-reassembly</div>
<div>encapsulation ppp</div>
<div>dialer pool 1</div>
<div>dialer-group 1</div>
<div>ppp authentication chap callin</div>
<div>ppp chap hostname YOUR ISP HOST HERE</div>
<div>ppp chap password YOUR HASHED PASSWORD HERE</div>
<div>crypto map SITEMAP</div>
<div>ip local pool VPN 192.168.2.1 192.168.2.254</div>
<div>ip classless</div>
<div>ip route 0.0.0.0 0.0.0.0 Dialer1</div>
<div>!</div>
</div>
</blockquote>
<div><strong>Detailed explanation and configuration of each:</strong></div>
<div><strong><br />
</strong></div>
<div><strong>First we will take the physical interface at ATM0/0:</strong></div>
<div><strong>you will of cource need to configure this with the &#8216;conf t&#8217; command (to configure terminal) and then enter the interface with the &#8216;int atm0/0&#8242; command.  then you will be able to type out the lines nescesary:</strong></div>
<blockquote>
<div>
<div>C2621XM#conf t</div>
<div>Enter configuration commands, one per line.  End with CNTL/Z.</div>
<div>C2621XM(config)#int atm0/0</div>
<div>C2621XM(config-if)#</div>
<div>
<div>C2621XM(config-if)#no ip address</div>
<div>C2621XM(config-if)#no atm ilmi-keepalive</div>
<div>C2621XM(config-if)#dsl operating-mode auto</div>
<div><span style="color: #0000ff;"><strong>We will now need to enter PVC and enter your VPI and VCI (I have used 0/38)</strong></span></div>
<div><span style="color: #0000ff;"><strong>Next I will put in my encapsulation method under this and then follow that up by giving and entering my dialer pool, before exiting the conf</strong></span></div>
<div>C2621XM(config-if)#pvc 0 0/38</div>
<div>C2621XM(config-if-atm-vc)encapsulation aal5mux ppp dialer</div>
<div>C2621XM(config-if-atm-vc)#dialer pool-member 1</div>
</div>
<div>C2621XM(config-if-atm-vc)#exit</div>
<div>C2621XM(config-if)#exit</div>
<div>C2621XM(config)#</div>
</div>
<div><span style="color: #0000ff;"><strong>Now that we have finished with ATM0/0, we will have a look at dialer1</strong></span></div>
<div><strong><span style="font-weight: normal;"></p>
<div>C2621XM(config)#int dialer1</div>
<div>C2621XM(config-if)#ip address negotiated</div>
<div>C2621XM(config-if)#ip mtu 1432</div>
<div>C2621XM(config-if)#ip nat outside</div>
<div>C2621XM(config-if)#ip virtual-reassembly</div>
<div>C2621XM(config-if)#encapsulation ppp (ppp over atm)</div>
<div>C2621XM(config-if)#dialer pool 1</div>
<div>C2621XM(config-if)#dialer-group 1</div>
<div>C2621XM(config-if)#ppp authentication chap callin</div>
<div>C2621XM(config-if)#ppp chap hostname (your username here)</div>
<div>C2621XM(config-if)#ppp chap password (your password here)</div>
<div>C2621XM(config-if)#crypto map SITEMAP</div>
<div>C2621XM(config-if)#exit</div>
<div>C2621XM(config)#</div>
<div><span style="color: #3366ff;"><strong><span style="color: #0000ff;">I do not use my FastEthernet0/0 port, hence I have configured all traffic from my Router to a switch connected to the FastEthernet0/1 port.</span></strong></span></div>
<div>C2621XM(config)#interface FastEthernet0/1</div>
<div>C2621XM(config-if)#ip address 192.168.1.254 255.255.255.0</div>
<div>C2621XM(config-if)#ip nat inside</div>
<div>C2621XM(config-if)#ip virtual-reassembly</div>
<div>C2621XM(config-if)#duplex auto</div>
<div>C2621XM(config-if)#speed auto</div>
<div>C2621XM(config-if)#exit</div>
<div>C2621XM(config)</div>
<div><span style="color: #3366ff;"><strong><span style="color: #0000ff;">I have an outside rule as follows for outgoing traffic, and a NAT binding from the dialer for the incoming traffic</span></strong></span></div>
<div>C2621XM(config)#ip route 0.0.0.0 0.0.0.0 Dialer1</div>
<div>C2621XM(config)#ip nat inside source route-map NAT interface Dialer1 overload</div>
<div>Finally you can save the runtime and test your connection:</div>
<div>C2621XM(config)#exit</div>
<div>C2621XM#copy run start</div>
<div>Destination filename [startup-config]?</div>
<div>Building configuration&#8230;</div>
<div>[OK]</div>
<div>C2621XM#</div>
<p></span></strong></p>
</div>
</blockquote>
<div>Please excuse any errors or non-factual comments, I am still learning Cisco.  However I was able to use the steps above to get my internet connection going!</div>
<div>Please comment if you have any suggestions, or questions</div>
<div><span style="color: #ff0000;"><strong>EDIT! I have spent the last 3 days trying to figure out why my internet connection speed was OK on my standard Thomson ADSL Router and appeared to be capped at 2.3Mbps on my Cisco ADSL WIC. I tried all sorts, changing the method that the router negotiates with the DSLAMs at the ISP end.</strong></span></div>
<div>Xilo broadband have been very attentive and patient with me while I logged fault calls before any of the testing</div>
<div><strong><br />
</strong></div>
<div><span style="color: #ff0000;"><strong>Through some extensive research and reading, it turns out that there are some additional commands that I needed to give for my ATM0/0 interface as follows:</strong></span></div>
<div><strong><br />
</strong></div>
<div><span style="color: #ff0000;"><span style="color: #000000; line-height: normal;"><span style="color: #ff0000;"><strong>The following is an aditional configuration of SCC clock rates on the ATM interface. Clock rates are set with the </strong></span><strong><span style="color: #ff0000;">clock rate aal5</span></strong><span style="color: #ff0000;"><strong> command and the </strong></span><strong><span style="color: #ff0000;">clock rate aal2</span></strong><span style="color: #ff0000;"><strong>command.</strong></span></span></span></div>
<div><span style="color: #ff0000;"><span style="color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; line-height: normal;"><span style="color: #ff0000;"><br />
interface ATM0/0</p>
<p>clock rate aal5 5300000<br />
clock rate aal2 4000000</p>
<p>dsl operating-mode auto</p>
<p>This has helped massively and has made the connection even better than I could have expected.</p>
<p></span></span></span></div>
<div><span style="color: #ff0000;"><span style="color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; line-height: normal;"><span style="color: #ffffff;">Hope this helps anyone having specific problems with similar equipment</span></span></span></div>
<div><span style="color: #ff0000;"><span style="color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; line-height: normal;"><span style="color: #ffffff;">on a side note Xilo / UNO broadband for the win! its a refreshing change to have a constant and reliable internet connection and top notch support 24/7</span></span></span></div>
<div><span style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;"><span style="line-height: normal;"><span style="color: #ffffff;">Alex</span></span></span></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.opleit.com/blog/?p=75" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.opleit.com/blog/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress mono-lab black theme bug-fix for IE8</title>
		<link>http://www.opleit.com/blog/?p=63</link>
		<comments>http://www.opleit.com/blog/?p=63#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:23:52 +0000</pubDate>
		<dc:creator>-B1nh34D-</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.opleit.com/blog/?p=63</guid>
		<description><![CDATA[A friend of mine runs a well established blogging site at www.d0tk0m.com. He has been experiencing some problems with some<a href="http://www.opleit.com/blog/?p=63" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>A friend of mine runs a well established blogging site at <a href="http://www.d0tk0m.com">www.d0tk0m.com</a>. He has been experiencing some problems with some of the CSS on his site.</p>
<p>I decided to take a look to see if this could be rectified.  There were two initial complaints;</p>
<ol>
<li>When viewing the site in IE8 there was a huge scrollbar on the horizontal axis.</li>
<li>When using IE8 there were problems with the Syntax Highlighter (the view source button and print buttons etc are all over the place)</li>
</ol>
<p>After downloading the site I took a look at the main background CSS style sheet located here:</p>
<blockquote><p>/wp-content/themes/pianoblack/style.css</p></blockquote>
<p>I then started troubleshooting by commenting out various CSS until I found one that did the trick. I also found that it made no noticable style changes to the site:</p>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 529px"><a rel="attachment wp-att-64" href="http://www.opleit.com/blog/?attachment_id=64"><img class="size-full wp-image-64" title="code snippit" src="http://www.opleit.com/blog/wp-content/uploads/2010/01/code-snippit.png" alt="code snippet" width="519" height="145" /></a><p class="wp-caption-text">code snippet</p></div>
<p>Hey presto, the issue was fixed.</p>
<p>I have not looked into the issue with the syntax hi-lighter, but may have found the issue.  Will keep updating this post with the findings.  In the CSS for this issue, there are some author comments to show compatibility for IE8 / 7:</p>
<p><a rel="attachment wp-att-72" href="http://www.opleit.com/blog/?attachment_id=72"><img class="aligncenter size-large wp-image-72" title="jp" src="http://www.opleit.com/blog/wp-content/uploads/2010/01/jp2-1024x976.png" alt="" width="1024" height="976" /></a></p>
<p>Comments Welcome</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.opleit.com/blog/?p=63" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.opleit.com/blog/?feed=rss2&amp;p=63</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 FAIL</title>
		<link>http://www.opleit.com/blog/?p=57</link>
		<comments>http://www.opleit.com/blog/?p=57#comments</comments>
		<pubDate>Sun, 03 Jan 2010 18:39:19 +0000</pubDate>
		<dc:creator>-B1nh34D-</dc:creator>
				<category><![CDATA[New Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[FAIL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.opleit.com/blog/?p=57</guid>
		<description><![CDATA[Genuine Windows 7 FAIL.  press the back arrow? there is no back arrow!
Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>Genuine Windows 7 FAIL.  press the back arrow? there is no back arrow!</p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 560px"><a rel="attachment wp-att-56" href="http://www.opleit.com/blog/?attachment_id=56"><img class="size-full wp-image-56 " title="windows fail" src="http://www.opleit.com/blog/wp-content/uploads/2010/01/windows-fail.png" alt="Windows Fail" width="550" height="444" /></a> <p class="wp-caption-text">FAIL</p></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.opleit.com/blog/?p=57" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.opleit.com/blog/?feed=rss2&amp;p=57</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vodafone Access Gateway Sure Signal</title>
		<link>http://www.opleit.com/blog/?p=47</link>
		<comments>http://www.opleit.com/blog/?p=47#comments</comments>
		<pubDate>Sat, 02 Jan 2010 11:46:28 +0000</pubDate>
		<dc:creator>-B1nh34D-</dc:creator>
				<category><![CDATA[New Hardware]]></category>
		<category><![CDATA[New Software]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Vodafone]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.opleit.com/blog/?p=47</guid>
		<description><![CDATA[
If you are unfortunate enough (like me) to live in an area where you get absolutely no phone signal on<a href="http://www.opleit.com/blog/?p=47" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-48" href="http://www.opleit.com/blog/?attachment_id=48"><img class="aligncenter size-medium wp-image-48" title="access-gateway" src="http://www.opleit.com/blog/wp-content/uploads/2010/01/access-gateway-300x198.jpg" alt="Gateway" width="300" height="198" /></a></p>
<p>If you are unfortunate enough (like me) to live in an area where you get absolutely no phone signal on any network, enter the Vodafone Gateway.  This uses your existing broadband connection as a VOIP gateway.  however this is not without its problems.  Usually if you live in a &#8216;no signal&#8217; area then you live in an area with low internet bandwidth speeds and no cable (yes I live in the dark ages).  I believe that Vodafone run their own QOS protocol from the box, however internet downloading can reduce the quality of the incoming voice signal.  and if you are uploading, you will be able to hear people fine, but they will complain that your voice is very jerky.</p>
<p>As I am also running a hardware firewall I struggled to see that the device should just &#8216;plug and work&#8217; as stated in the gateway documentation.  Through research and a lots of calls to the helpdesk I managed to weedle from them a list of ports that the gateway needed DMZ or port forward access to.. After I had added these to my firewall runtime, up it comes all bells and whistles.  HOWEVER they still have not ironed out the HSDPA access over the gateway, as this crashes my gateway every time, requiring a hard reset of the device.</p>
<p>Here is a list of port forwards to IP addresses that you need to allow access to</p>
<blockquote><p>NTP on UDP-123 to 212.183.133.181</p>
<p>NTP on UDP-123 to 212.183.133.182</p>
<p>Ping on ICMP-8 to 212.183.133.181</p>
<p>Ping on ICMP-8 to 212.183.133.182</p>
<p>ESP on IP-50 to 212.183.133.177</p>
<p>IPSEC NAT Traversal on UDP-4500 to 212.183.133.177</p>
<p>ISAKMP on UDP-500 to 212.183.133.177</p></blockquote>
<p>Comments welcome</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.opleit.com/blog/?p=47" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.opleit.com/blog/?feed=rss2&amp;p=47</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple function for collecting a visitors IP address</title>
		<link>http://www.opleit.com/blog/?p=45</link>
		<comments>http://www.opleit.com/blog/?p=45#comments</comments>
		<pubDate>Sat, 02 Jan 2010 09:28:19 +0000</pubDate>
		<dc:creator>-B1nh34D-</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.opleit.com/blog/?p=45</guid>
		<description><![CDATA[So that you can register it in a database with visitor details and check against white and blacklists for known<a href="http://www.opleit.com/blog/?p=45" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>So that you can register it in a database with visitor details and check against white and blacklists for known spammers</p>
<p>Took me a while to get this one right, so here it is; really very simple</p>
<blockquote><p><span style="color: #ff0000;">&lt;?php</span></p>
<div id="_mcePaste"><span style="color: #3366ff;">function</span> GetIP()</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste"><span style="color: #339966;">global</span> $ip;</div>
<div id="_mcePaste">$ip=<span style="color: #00ffff;"><strong>$_SERVER</strong></span>[<span style="color: #ff0000;">'REMOTE_ADDR'</span>];</div>
<div id="_mcePaste">}</div>
<div></div>
<div><span style="color: #ff0000;">?&gt;</span></div>
</blockquote>
<div><span style="color: #ff0000;"><br />
</span></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.opleit.com/blog/?p=45" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.opleit.com/blog/?feed=rss2&amp;p=45</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
