<?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>Nav&#039;s Place</title>
	<atom:link href="http://navsplace.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://navsplace.net</link>
	<description>Nav&#039;s Home on the Interwebs</description>
	<lastBuildDate>Sat, 04 Sep 2010 20:07:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Gmail introduces Priority Inbox</title>
		<link>http://navsplace.net/2010/09/05/gmail-introduces-priority-inbox/</link>
		<comments>http://navsplace.net/2010/09/05/gmail-introduces-priority-inbox/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 20:07:33 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=512</guid>
		<description><![CDATA[Gmail recently introduced &#8220;Priority Inbox&#8221;. It basically puts all the important emails in a separate section at the top of your inbox window. How Priority Inbox works In order to predict which messages are important to you, Gmail uses some of the same technology that it uses to weed spam out of your Inbox. If [...]]]></description>
			<content:encoded><![CDATA[<p>Gmail recently introduced &#8220;Priority Inbox&#8221;. It basically puts all the important emails in a separate section at the top of your inbox window.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="490" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/5nt3gE9dGHQ?fs=1&amp;hl=en_US&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="490" height="300" src="http://www.youtube.com/v/5nt3gE9dGHQ?fs=1&amp;hl=en_US&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>How Priority Inbox works</strong><br />
In order to predict which messages are important to you, Gmail uses some of the same technology that it uses to weed spam out of your Inbox. If it incorrectly predicts which messages are important you can help train it with the importance buttons just like you can help Gmail’s spam filter by using the Report as spam button.</p>
<p><span id="more-512"></span></p>
<p><strong>Automatically determining importance</strong><br />
To predict which of your incoming messages are important, Gmail automatically takes into account a number of signals, including:<br />
Who sent the email (For example, if you email Bob a lot, it’s likely that messages from Bob are important.)<br />
What terms it includes (If you always read messages about soccer, a new message that contains those same soccer words is more likely to be important.)<br />
The actions that help us determine which people/terms are important to you include: replying, using stars, archiving, deleting (Messages you star are probably more important than messages you archive without opening.)<br />
This is all done automatically, and no humans ever read your mail.</p>
<p><strong>Training</strong><br />
Email importance ranking works best for people who receive a lot of email. If you don’t receive tens or hundreds of messages a day (or even if you do!), you can help train Gmail to classify your important messages more accurately using the important and not important buttons. If a certain type of message isn’t getting classified correctly, use the buttons or create a filter.<br />
Using the ‘important’ and ‘not important’ buttons:<br />
Select the misclassified message, and click the “mark as important” or “mark as not important” button. When you mark a message, it will move to the appropriate section. This will help Priority Inbox learn what you care about most.</p>
<li>If you correct a large number of messages that Gmail classified incorrectly, the amount of mail that gets categorized as important or unimportant (depending on the mistakes you’re correcting) will decrease within minutes.</li>
<li>If you consistently mark a particular sender or mailing list as important or not important, Gmail will adjust to mark that sender as always or never important within a day or so.</li>
<p>Source: <a href="http://mail.google.com/support/bin/topic.py?topic=29809" target="_blank">Google</a></p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/09/05/gmail-introduces-priority-inbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenParallel Week3 / Week 4</title>
		<link>http://navsplace.net/2010/06/11/openparallel-week3-week-4/</link>
		<comments>http://navsplace.net/2010/06/11/openparallel-week3-week-4/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 09:57:15 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=490</guid>
		<description><![CDATA[Has been a pretty busy few weeks. We have had meetings during the past week to decide on our various roles within the team. We divided up the work for Phase 1 of the project as much as we could tonight and are working towards our goals for next week.]]></description>
			<content:encoded><![CDATA[<p>Has been a pretty busy few weeks. We have had meetings during the past week to decide on our various roles within the team. We divided up the work for Phase 1 of the project as much as we could tonight and are working towards our goals for next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/06/11/openparallel-week3-week-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Workgroup Manager showing 1000 results only</title>
		<link>http://navsplace.net/2010/06/10/484/</link>
		<comments>http://navsplace.net/2010/06/10/484/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 09:39:50 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=484</guid>
		<description><![CDATA[Today at work we had an issue where our snow leopard Mac server was only showing the first 1000 users in Workgroup Manager. This was obviously a problem as we have more than 1000 users in out Active Directory. This also caused an issue when trying to set permissions for a particualar file, as all [...]]]></description>
			<content:encoded><![CDATA[<p>Today at work we had an issue where our snow leopard Mac server was only showing the first 1000 users in Workgroup Manager. This was obviously a problem as we have more than 1000 users in out Active Directory. This also caused an issue when trying to set permissions for a particualar file, as all the users are not displayed on the userlist.</p>
<p>So, to workaround this 1000 user limit issue we had to change the number of records that Active Directory places in 1 page. Active Directory by default will place 1000 users on one page, then any additional users on the next page and so on&#8230; Workgroup Manager does not understand this paging system very well so it only displays the first page.</p>
<p>What you will need to do is go on to your AD server and run the ntdsutil util. Here are the steps</p>
<p><span id="more-484"></span></p>
<p><strong>To start Ntdsutil.exe</strong></p>
<p>Click Start, and then click Run.In the Open text box, type ntdsutil, and then press ENTER. To view Help at any time, type ? at the command prompt.<br />
To view policy settings</p>
<p>At the Ntdsutil.exe command prompt, type LDAP policies, and then press ENTER.</p>
<p>At the LDAP policy command prompt, type connections, and then press ENTER.</p>
<p>At the server connection command prompt, type connect to server , and then press ENTER. Connect to the server that you are currently working with.</p>
<p>At the server connection command prompt, type q, and then press ENTER to return to the previous menu.</p>
<p>At the LDAP policy command prompt, type Show Values, and then press ENTER.</p>
<p><strong>To change policy settings</strong></p>
<p>At the Ntdsutil.exe command prompt, type LDAP policies, and then press ENTER.At the LDAP policy command prompt, type Set MaxPageSize to 2000, and then press ENTER.</p>
<p>You can use the Show Values command to verify your changes.</p>
<p>To save the changes, use Commit Changes.</p>
<p>When you finish, type q, and then press ENTER.</p>
<p>To quit Ntdsutil.exe, at the command prompt, type q, and then press ENTER.</p>
<p>Steps taken from <a href="http://technet.microsoft.com/en-us/library/aa998536(EXCHG.80).aspx" target="_blank">Technet </a></p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/06/10/484/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenParallel &#8211; Week 2</title>
		<link>http://navsplace.net/2010/05/28/openparallel-week-2/</link>
		<comments>http://navsplace.net/2010/05/28/openparallel-week-2/#comments</comments>
		<pubDate>Fri, 28 May 2010 09:09:51 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=476</guid>
		<description><![CDATA[Had the call to Intel this week. Overall a very positive outcome &#8211; got introduced to James Reinders and Vasanth Tovinkere. We have also managed to get a custom function &#8220;yo&#8221; to work with hip-hop. It basically does the same thing an echo does, but this small step has allowed us to learn a whole [...]]]></description>
			<content:encoded><![CDATA[<p>Had the call to Intel this week. Overall a very positive outcome &#8211; got introduced to <a href="http://software.intel.com/en-us/blogs/author/james-reinders/">James Reinders</a> and <a href="http://software.intel.com/en-us/profile/336631/">Vasanth Tovinkere</a>. We have also managed to get a custom function &#8220;yo&#8221; to work with hip-hop.</p>
<p>It basically does the same thing an echo does, but this small step has allowed us to learn a whole lot more about the inner workings of the hip-hop beast and will hopefully have a for loop going soon-ish.</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/05/28/openparallel-week-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenParallel &#8211; Week 1</title>
		<link>http://navsplace.net/2010/05/21/openparallel-week-1/</link>
		<comments>http://navsplace.net/2010/05/21/openparallel-week-1/#comments</comments>
		<pubDate>Fri, 21 May 2010 10:01:55 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=473</guid>
		<description><![CDATA[I am part of this great team of people who are currently working on a project for intel. We are basically trying to make large scale php based web sites such as facebook and wordpress work better by utalizing multicore processors. It is an extremly interesting project escpecially for me since I have always been [...]]]></description>
			<content:encoded><![CDATA[<p>I am part of this great team of people who are currently working on a project for intel. We are basically trying to make large scale php based web sites such as facebook and wordpress work better by utalizing multicore processors. It is an extremly interesting project escpecially for me since I have always been curious about multicore technology and it a privilage to be working on this project with a bunch of great guys.</p>
<p>So far it has been a week since the project kicked off and we have made some interesting discoveries about how <a href="http://www.threadingbuildingblocks.org/">TBB</a> (Thread Building Blocks) and <a href="http://developers.facebook.com/blog/post/358">Hip-Hop</a> works.</p>
<p>Currently we have made progress in the following areas:</p>
<p><a href="http://developers.facebook.com/blog/post/358">Hip-Hop</a>:<br />
- made <a href="http://developers.facebook.com/blog/post/358">Hip-Hop</a> compile and work on a 32-bit machine<br />
- figured out how the functions are defined such as the for statement and echo<br />
- passed in a php file to get c++ code at the end</p>
<p><a href="http://www.threadingbuildingblocks.org/">TBB</a>:<br />
- Made first Parallel program today<br />
- Learnt a bit more about how the parallel_for fucntion works</p>
<p>I will try and keep posting our progress on this blog every Friday(NZST)</p>
<p>Wish us Luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/05/21/openparallel-week-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMTP Relay Server with Gmail</title>
		<link>http://navsplace.net/2010/03/31/smtp-relay-server-with-gmail/</link>
		<comments>http://navsplace.net/2010/03/31/smtp-relay-server-with-gmail/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 06:50:32 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=464</guid>
		<description><![CDATA[This is a brief guide on installing a SMTP relay server on Fedora 12. I have taken these instructions from various sites and tried to merge them into one. These are the sites I used in my research: Soup to Nuts G-loaded Journal Carlton&#8217;s Online Notebook The commands and things used in this guide are [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brief guide on installing a SMTP relay server on Fedora 12. I have taken these instructions from various sites and tried to merge them into one. These are the sites I used in my research:</p>
<p><a href="http://souptonuts.sourceforge.net/postfix_tutorial.html" target="_blank">Soup to Nuts</a><br />
<a href="http://www.g-loaded.eu/2005/11/10/be-your-own-ca/" target="_blank">G-loaded Journal</a><br />
<a href="http://carlton.oriley.net/blog/?p=31" target="_blank">Carlton&#8217;s Online Notebook</a></p>
<p>The commands and things used in this guide are explained in more details on those sites. If you want to know what the commands are for then please feel free to visit those sites.</p>
<p>Here is the guide:</p>
<p><span id="more-464"></span></p>
<p>Install postfix and remove sendmail</p>
<p><code>yum install postfix<br />
yum remove sendmail</code></p>
<p>Check to see if postfix has been compiled with the necessary files</p>
<p><code>ldd `which postfix` | grep libsasl<br />
ldd `which postfix` | grep libssl</code></p>
<p>They should hopefully return something like this:<br />
<code># ldd `which postfix` | grep libsasl<br />
libsasl2.so.2 =&gt; /usr/lib64/libsasl2.so.2 (0x00007f646039a000)</code></p>
<p><code> </code></p>
<p><code># ldd `which postfix` | grep libssl<br />
libssl.so.10 =&gt; /usr/lib64/libssl.so.10 (0x00007f0ed4b79000)</code></p>
<p>This should work for a base install of Fedora 12, if you do not see any outputs then you might need a different version of postfix.</p>
<p>Next we need to make sure that openssl and openssl-perl are both installed and up to date. These will be used to generate ssl certificates</p>
<p><code>yum install openssl openssl-perl</code></p>
<p>We need to make ourselves a Certificate Authority..You can skip this step if you already have certificated made</p>
<p>Peform these actions as root (su):</p>
<p><code>mkdir -m 0755 /etc/pki_jungle</code></p>
<p><code>mkdir -m 0755 \<br />
/etc/pki_jungle/myCA \<br />
/etc/pki_jungle/myCA/private \<br />
/etc/pki_jungle/myCA/certs \<br />
/etc/pki_jungle/myCA/newcerts \<br />
/etc/pki_jungle/myCA/crlcp /etc/pki/tls/openssl.cnf /etc/pki_jungle/myCA/openssl.my.cnf</p>
<p>chmod 0600 /etc/pki_jungle/myCA/openssl.my.cnf</p>
<p>touch /etc/pki_jungle/myCA/index.txt</p>
<p>echo '01' &gt; /etc/pki_jungle/myCA/serial</p>
<p>cd /etc/pki_jungle/myCA/</p>
<p></code></p>
<p><code>openssl req -config openssl.my.cnf -new -x509 -extensions v3_ca -keyout private/myca.key -out certs/myca.crt -days 1825</code></p>
<p>At this point you will be prompted for a passphrase, choose a strong passphrase</p>
<p>Country Name (2 letter code) [NZ]:ER<br />
State or Province Name (full name) [Earth]:Earth<br />
Locality Name (eg, city) []: Land<br />
Organization Name (eg, company) [My Company Ltd]:My Network<br />
Organizational Unit Name (eg, section) []:My Certificate Authority<br />
Common Name (eg, your name or your server&#8217;s hostname) []:server.example.com<br />
Email Address []:whatever@server.example.com</p>
<p>once that is done</p>
<p><code>chmod 0400 /etc/pki_jungle/myCA/private/myca.key</code></p>
<p>Next we need to edit the openssl.my.cnf, I would recommend using something like WinSCP if you are not comfortable with commandline text editors</p>
<p>Open /etc/pki_jungle/myCA/openssl.my.cnf and make the following changes<br />
<code><br />
[ CA_default ]dir     = .                # &lt;--CHANGE THIS<br />
certs       = $dir/certs<br />
crl_dir     = $dir/crl<br />
database    = $dir/index.txt<br />
#unique_subject = no</p>
<p>new_certs_dir   = $dir/newcerts</p>
<p>certificate = $dir/certs/myca.crt   # &lt;--CHANGE THIS<br />
serial      = $dir/serial<br />
#crlnumber  = $dir/crlnumber</p>
<p>crl     = $dir/crl.pem<br />
private_key = $dir/private/myca.key    # &lt;--CHANGE THIS<br />
RANDFILE    = $dir/private/.rand</p>
<p>x509_extensions = usr_cert</p>
<p>Next we will need to create the server certificate</p>
<p></code></p>
<p><code>cd /etc/pki_jungle/myCA/</code></p>
<p><code> </code></p>
<p><code>openssl req -config openssl.my.cnf -new -nodes -keyout private/server.key -out server.csr -days 365<br />
</code><br />
Fill out the fields as previously done</p>
<p>Country Name (2 letter code) [NZ]:ER<br />
State or Province Name (full name) [Earth]:Earth<br />
Locality Name (eg, city) []: Land<br />
Organization Name (eg, company) [My Company Ltd]:My Network<br />
Organizational Unit Name (eg, section) []:My Certificate Authority<br />
Common Name (eg, your name or your server&#8217;s hostname) []:server.example.com<br />
Email Address []:whatever@server.example.com</p>
<p>The Common Name (CN) is the info that uniquely distinguishes your service, so be sure that you type it correctly.<br />
When prompted for some extra attributes (challenge password, optional company name) just hit the [Enter] key.</p>
<p><code>chown root.root /etc/pki_jungle/myCA/private/server.key<br />
chmod 0400 /etc/pki_jungle/myCA/private/server.key</code></p>
<p><code>cd /etc/pki_jungle/myCA/</p>
<p></code></p>
<p><code>openssl ca -config openssl.my.cnf -policy policy_anything -out certs/server.crt -infiles server.csr<br />
</code><br />
Download the Thawte certs from here https://www.thawte.com/roots/index.html</p>
<p>Unzip the file and copy the Thawte Roots\Thawte Personal Root Certificates\Thawte Personal Premium CA\Thawte Personal Premium CA.pem to /etc/pki_jungle/myCA/certs/ make sure to remove all the spaces from the filename</p>
<p>You will need to create a file called sasl_passwd in the /etc/postfix directory</p>
<p>Add the following to the sasl_passwd:</p>
<p><code>[smtp.gmail.com]:587              user@gmail.com:password</code></p>
<p>After the file is created run the following command</p>
<p><code>postmap /etc/postfix/sasl_passwd</code></p>
<p><code>chown root.postfix /etc/postfix/sasl_passwd*</code></p>
<p><code> </code></p>
<p><code>chmod 0640 /etc/postfix/sasl_passwd*</code></p>
<p>Next edit /etc/postfix/main.cf and add the following to the bottom of the file<br />
<code><br />
#### GMail SSL SMTP Relay<br />
relayhost = [smtp.gmail.com]:587</code></p>
<p><code>#auth<br />
smtp_sasl_auth_enable=yes<br />
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd</p>
<p></code></p>
<p><code>#tls<br />
smtp_use_tls = yes<br />
smtp_sasl_security_options = noanonymous<br />
smtp_sasl_tls_security_options = noanonymous<br />
smtp_tls_note_starttls_offer = yes<br />
tls_random_source = dev:/dev/urandom<br />
smtp_tls_scert_verifydepth = 5<br />
smtp_tls_key_file=/etc/pki_jungle/myCA/private/server.key<br />
smtp_tls_cert_file=/etc/pki_jungle/myCA/certs/server.crt<br />
smtpd_tls_ask_ccert = yes<br />
smtpd_tls_req_ccert =no<br />
smtp_tls_enforce_peername = no<br />
smtpd_use_tls = yes<br />
smtpd_tls_auth_only = no<br />
smtp_tls_CAfile = /etc/pki_jungle/myCA/certs/ThawtePersonalPremiumCA.pem<br />
</code></p>
<p>While you have main.cf open you might want to change a few other things aswell. Uncomment by removing the # character and fill in the settings which suit your network</p>
<p><code>myhostname = smtp.nav.local<br />
mydomain = nav.local<br />
myorigin = $mydomain<br />
inet_interfaces = all<br />
(comment out inet_interfaces = localhost so it reads #inet_interfaces = localhost)</code></p>
<p>Save the file</p>
<p>On your fedora box go to System &gt; Administration &gt; Firewall</p>
<p>Tick the Mail (SMTP) box and click on apply.</p>
<p>Next restart your postfix service by typing in</p>
<p><code>/etc/init.d/postfix restart</code></p>
<p>You should now be able to configure your mail client to use your server as an smtp server. If you cannot send mail out then have a look at /var/log/maillogs for some information.</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/03/31/smtp-relay-server-with-gmail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add Custom source to IPCOP Cache</title>
		<link>http://navsplace.net/2010/02/28/add-custom-source-to-ipcop-cache/</link>
		<comments>http://navsplace.net/2010/02/28/add-custom-source-to-ipcop-cache/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 08:05:13 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=451</guid>
		<description><![CDATA[Inorder to cache updates with IPCOP you need to download and install the update accelerator plugin. By default the plugin will cache Adobe, Apple, Avast, Linux (deb/rpm), Microsoft, Symantec and Trend Micro updates. While this is a pretty good list of vendors there might be situations where you need to cache other updates, for example [...]]]></description>
			<content:encoded><![CDATA[<p>Inorder to cache updates with <a href="http://www.ipcop.org/">IPCOP</a> you need to download and install the <a href="http://update-accelerator.advproxy.net/download.html">update accelerator</a> plugin. By default the plugin will cache Adobe, Apple, Avast, Linux (deb/rpm), Microsoft, Symantec and Trend Micro updates. While this is a pretty good list of vendors there might be situations where you need to cache other updates, for example if you are using the free version of Avira, you might wish to cache the updates for that.</p>
<p>Firstly, what you need to do is figure out where the updates are being downloaded from. In this example I will be adding Avira Free edition to the update caching list. In my case Avira gets all its updates from http://dl[0-9].avgate.net. If you are unsure of where your updates are being downloaded from <a href="http://www.urlhelper.com/">URL Helper</a> is a great utility to use, as this will also tell you which extensions are being downloaded which will be usefull later on.</p>
<p><span id="more-451"></span></p>
<p>Once you have figured out where the updates are coming from, the editing can begin. For all my editing I used the portable version of <a href="http://winscp.net/eng/index.php">WinSCP</a>, remeber to enable ssh first on your ip cop box by going System &gt; SSH Access &gt; Tick SSH Access and click save. Next fire up <a href="http://winscp.net/eng/index.php">WinSCP</a> and fill in the details related to your installation of <a href="http://www.ipcop.org/">IPCOP</a>. Remeber to use port 222 instead of 22.</p>
<p>Next you want to browse to /usr/sbin/updxlrator and edit it. By default <a href="http://winscp.net/eng/index.php">WinSCP</a> opens up the root directory so you may have to click the .. at the top to get to the previous directory level. Right click on the file and click edit. This should open up <a href="http://winscp.net/eng/index.php">WinSCP</a>&#8216;s default editor.<br />
Find the Section of the file which says something like:<br />
<code># -----------------------------------------------------------<br />
#  Section: Windows Update / Windows Downloads<br />
# -----------------------------------------------------------</code></p>
<p>This is where you custom code will go, In my case I just copied the Avast coding and changed it to where Avira gets its updates.</p>
<p>To do that copy the Avast coding ..<br />
<code># -----------------------------------------------------------<br />
#  Section: Avast Downloads<br />
# -----------------------------------------------------------if ($source_url =~ m@^http://download[\d]+\.avast\.com/.*\.(exe|vpu)$@i)<br />
{<br />
$xlrator_url = &amp;check_cache($source_url,$hostaddr,$username,"Avast",$mirror);<br />
}# -----------------------------------------------------------</p>
<p></code></p>
<p>and paste it just above the # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; line. In my case with Avira I needed to change the source url line of $source_url =~ m@^http://download[\d]+\.avast\.com/.*\.(exe|vpu)$@i to look something like $source_url =~ m@^http://dl[0-9]\.avgate\.net/.*\.(exe|dll|vdf|dat|gz)$@i the rest of the coding remains unchanged. You may want to change the vendor ID to &#8220;Other&#8221; though otherwise you will need to do a few more edits to get everything working correctly.</p>
<p>So my finished section looks like this (no custom vendor logo):</p>
<p><code># -----------------------------------------------------------<br />
#  Section: Avast Downloads<br />
# -----------------------------------------------------------if ($source_url =~ m@^http://download[\d]+\.avast\.com/.*\.(exe|vpu)$@i)<br />
{<br />
$xlrator_url = &amp;check_cache($source_url,$hostaddr,$username,"Avast",$mirror);<br />
}# -----------------------------------------------------------<br />
# -----------------------------------------------------------<br />
#  Section: Avira Downloads<br />
# -----------------------------------------------------------</p>
<p>if ($source_url =~ m@^http://dl[0-9]\.avgate\.net/.*\.(exe|dll|vdf|dat|gz)$@i)</p>
<p>{<br />
$xlrator_url = &amp;check_cache($source_url,$hostaddr,$username,"Other",$mirror);<br />
}</p>
<p># -----------------------------------------------------------</p>
<p>}</p>
<p></code></p>
<p>If you don&#8217;t want custom logo for the updates you are trying to cache then you are pretty much done at this point, if you would like to add custom logo and vendor ID then continue reading.</p>
<p>Change &#8220;Other&#8221; to &#8220;Avira&#8221; save and close the file. Next you will need to open up /home/httpd/cgi-bin/updatexlrator.cgi and perform the following edits:</p>
<p>Find:<br />
<code>elsif ($vendorid =~ /^Microsoft$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-windows.gif' alt='Microsoft'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}</code></p>
<p>After Add:<br />
<code>elsif ($vendorid =~ /^Avira$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-avira.gif' alt='Avira'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}<br />
</code><br />
Final Result:<br />
<code>elsif ($vendorid =~ /^Microsoft$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-windows.gif' alt='Microsoft'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}elsif ($vendorid =~ /^Avira$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-avira.gif' alt='Avira'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}<br />
</code><br />
Next Find:<br />
<code>elsif ($vendorid =~ /^Microsoft$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-windows.gif' alt='Microsoft'}' /&gt;&amp;nbsp;&lt;/nobr&gt;&lt;/td&gt;\n";<br />
print "&lt;td class='base'&gt;&amp;nbsp;Microsoft&amp;nbsp;&lt;/td&gt;\n";<br />
}<br />
</code><br />
After Add:<br />
<code>elsif ($vendorid =~ /^Avira$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-avira.gif' alt='Avira'}' /&gt;&amp;nbsp;&lt;/nobr&gt;&lt;/td&gt;\n";<br />
print "&lt;td class='base'&gt;&amp;nbsp;Avira Antivirus&amp;nbsp;&lt;/td&gt;\n";<br />
}<br />
</code><br />
Find:<br />
<code>elsif ($vendorid =~ /^Microsoft$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-windows.gif' alt='Microsoft'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}</code><br />
Add After:<br />
<code>elsif ($vendorid =~ /^Avira$/i)<br />
{<br />
print "&lt;img src='/images/updxl-src-avira.gif' alt='Avira'}' /&gt;&amp;nbsp;&lt;/td&gt;\n";<br />
}</code><br />
Find:<br />
<code>&lt;td align='center'&gt;&lt;img src='/images/updxl-src-symantec.gif' alt='Symantec' /&gt;&lt;/td&gt;<br />
&lt;td class='base'&gt;Symantec&lt;/td&gt;<br />
&lt;td class='base'&gt;&amp;nbsp;&lt;/td&gt;</code><br />
Add After:<br />
<code>&lt;td align='center'&gt;&lt;img src='/images/updxl-src-avira.gif' alt='Avira' /&gt;&lt;/td&gt;<br />
&lt;td class='base'&gt;Avira Antivirus&lt;/td&gt;<br />
&lt;td class='base'&gt;&amp;nbsp;&lt;/td&gt;<br />
</code><br />
Next make a 18&#215;18 gif image and call it updxl-src-avira.gif or whichever program it is. Once you have the image place it in /home/httpd/html/images</p>
<p>That should be it, your custom software updates will now be cached.</p>
<p><a href="http://navsplace.net/wp-content/uploads/2010/02/end.png"><img class="size-full wp-image-449 alignnone" title="end" src="http://navsplace.net/wp-content/uploads/2010/02/end.png" alt="" width="247" height="322" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/02/28/add-custom-source-to-ipcop-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KB977165 Blue Screen of Death</title>
		<link>http://navsplace.net/2010/02/20/kb977165-blue-screen-of-death/</link>
		<comments>http://navsplace.net/2010/02/20/kb977165-blue-screen-of-death/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 04:18:04 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=444</guid>
		<description><![CDATA[Today I was fixing a PC which would restart randomly during xp boot. It showed a BSOD(Blue Screen of Death) and would instantly restart, this did not give me much time to study the error and figure out what was going on. So to prevent the system from restarting on BSOD I booted up the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was fixing a PC which would restart randomly during xp boot. It showed a BSOD(Blue Screen of Death) and would instantly restart, this did not give me much time to study the error and figure out what was going on. So to prevent the system from restarting on BSOD I booted up the pc with <a href="http://www.ubcd4win.com/downloads.htm" target="_blank">UBCD4Win</a> and opened up the registry editor</p>
<p>Once in the regedit utility I browsed to the following reg key:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM_on_C\ControlSet001\Control\CrashControl</p>
<p>and changed the AutoReboot Value from 1 to 0</p>
<p>Note: System_on_C will show up only if you are using the <a href="http://www.ubcd4win.com/downloads.htm" target="_blank">UBCD4Win</a> regedit, to do this without <a href="http://www.ubcd4win.com/downloads.htm" target="_blank">UBCD4Win</a> microsoft had a pretty good <a href="http://support.microsoft.com/kb/174630" target="_blank">writeup</a> about it on their support site.</p>
<p>Once I rebooted I could see what the BSOD was saying and it turned out to be the good &#8216;ol PAGE_FAULT_IN_NONPAGED_AREA issue. This kind of error usually occurs when there is a memory fault, but I recently read on <a href="http://www.computerworld.com/s/article/9155419/Windows_patch_cripples_XP_with_blue_screen_users_claim" target="_blank">computerworld</a> that one of the microsoft updates(<a href="http://support.microsoft.com/kb/977165" target="_blank">KB977165</a>) caused random BSODS.</p>
<p>So, to remove this update I booted into <a href="http://www.ubcd4win.com/downloads.htm" target="_blank">UBCD4Win</a> again and did the following:</p>
<p>Open Command Prompt</p>
<p>go to C:\WINDOWS</p>
<p>So at this point the command window should read something like C:\WINDOWS></p>
<p>then CD $NtUninstallKB977165$\spuninst</p>
<p>once in the spuninst directory run the uninstall txt file as a script by typing BATCH spuninst.txt</p>
<p>In my case this did not work.. so I just renamed the spuninst.txt to spuninst.bat by running &#8220;ren spuninst.txt spuninst.bat&#8221;</p>
<p>After running the batch file rebooted into windows and everything was fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/02/20/kb977165-blue-screen-of-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving a Window in Windows 7</title>
		<link>http://navsplace.net/2010/02/20/moving-a-window-in-windows-7/</link>
		<comments>http://navsplace.net/2010/02/20/moving-a-window-in-windows-7/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 03:24:20 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=442</guid>
		<description><![CDATA[Recently I came across a problem where one of my windows opened on a non-existent monitor. In windows XP you could right-click and move the window to the correct monitor but in the default 7 setup there is no such option So, to get around this, there is a handy keyboard shortcut you can use. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a problem where one of my windows opened on a non-existent monitor. In windows XP you could right-click and move the window to the correct monitor but in the default 7 setup there is no such option</p>
<p>So, to get around this, there is a handy keyboard shortcut you can use. Select the window that not on the monitor and press win + shift + left to move it to a monitor on the left if you press the right arrow key it will move it to the right.</p>
<p>Here is a handy list of shortcuts from <a href="http://windows7news.com/2009/03/22/master-list-of-windows-7-keyboard-shortcuts/">windows7news</a></p>
<p>Managing Windows</p>
<p>   1. [Win+M] – Minimize all open windows<br />
   2. [Win+Shift+M] – Undo all window minimization<br />
   3. [Win+D] :- Toggle showing the desktop<br />
   4. [Windows+Up] – Maximize window<br />
   5. [Windows+Down] – Minimize windows / Restore<br />
   6. [Windows+Left] – Dock window to the left side<br />
   7. [Windows+Right] – Dock window to the right side<br />
   8. [Windows+Shift Up] – Maximize vertical size of window<br />
   9. [Windows+Shift Down] – Restore vertical size<br />
  10. [Windows+Shift Left] – Move window to left monitor<br />
  11. [Windows+Shift Right] – Move window to right monitor<br />
  12. [Win+Spacebar] – Aero desktop peek<br />
  13. [Win+Home] – minimize/maximize all inactive windows<br />
  14. [Alt+F4] &#8211; Close the active window<br />
  15. [Alt+Tab] &#8211; Switch to previous active window<br />
  16. [Alt+Esc] – Cycle through all open windows<br />
  17. [Win+Tab]- Flip 3D<br />
  18. [Ctrl+Win+Tab]- Persistent Flip 3D</p>
<p>Taskbar</p>
<p>   1. [Win+Any number (1, 2, 3, .., 0)] – open the corresponding taskbar pinned program<br />
   2. [Ctrl+Click a pinned taskbar icon] – cycle through the program’s open windows<br />
   3. [Shift+Click a pinned taskbar icon] -run a new instance of the program<br />
   4. [Ctrl+Shift+Click a pinned taskbar icon] – run a new instance of the program as administrator<br />
   5. [Shift+Right-click on icon] – Show window menu (Restore, Minimize, Move etc)<br />
   6. [Shift+Right-click on grouped icon] &#8211; Show window menu (Restore All, Minimize All, Move All etc)<br />
   7. [Win+T] – Cycle through applications on taskbar (showing its live preview)<br />
   8. [Win+Shift+T] – As above, but in reverse order<br />
   9. [Win+R] &#8211; Opens Run dialog box</p>
<p>General</p>
<p>   1. [Win+P] – show presentation mode projector options<br />
   2. [Win+G] – show desktop gadgets<br />
   3. [Win+L] – Lock computer<br />
   4. [Win+X] &#8211; Mobility Center<br />
   5. [Win++] &#8211; Zoom in<br />
   6. [Win+-] – Zoom out<br />
   7. [Win+=] – Magnifier</p>
<p>Windows Explorer</p>
<p>   1. [Alt+P] &#8211; Show/hide Preview Pane<br />
   2. [Alt+Up] &#8211; Go up one level<br />
   3. [Alt+Left/Right] &#8211; Back/forward</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/02/20/moving-a-window-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Based Thin Client</title>
		<link>http://navsplace.net/2010/02/14/linux-based-thin-client/</link>
		<comments>http://navsplace.net/2010/02/14/linux-based-thin-client/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 07:13:02 +0000</pubDate>
		<dc:creator>Nav</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://navsplace.net/?p=434</guid>
		<description><![CDATA[I recently had to turn a few old pc&#8217;s at work into thin clients to bring them back to life. To do this I used PCTSC and puppy linux. At first everything installed fine but there were a few issues once everything was installed. In this article I will go through the Issues we faced [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to turn a few old pc&#8217;s at work into thin clients to bring them back to life. To do this I used <a href="http://pctsc.ponderworthy.org/" target="_blank">PCTSC</a> and <a href="http://puppylinux.org/main/index.php?file=Overview%20and%20Getting%20Started.htm" target="_blank">puppy</a> linux. At first everything installed fine but there were a few issues once everything was installed. In this article I will go through the Issues we faced and the solutions for the issues. Hopefully these finding will help some of you with your <a href="http://pctsc.ponderworthy.org/" target="_blank">PCTSC</a> installations.</p>
<p><strong>Problem 1:</strong></p>
<p>If a terminal Service session times out, it is unable to reconnect to the server and a blank screen remains.</p>
<p><strong>Solution:</strong></p>
<p>There is a file called .rdesktop which gets created in the root directory. This file prevents a connection from being made again. So the solution was to just remove this file whenever a connection is being made. To do this perform the following edits:</p>
<p>If you have already installed <a href="http://pctsc.ponderworthy.org/" target="_blank">PCTSC</a> to the harddrive then the file will be located at /usr/local/bin, browse to that location and edit the pctsc.auto.tsc file with you favorite text editor. Add the following line rm -rf ~/.rdesktop above the     rdesktop -f -k en-us -N -K -u &#8220;&#8221; -a 24 `cat /etc/pctsc.target` line.</p>
<p>If you have not installed <a href="http://pctsc.ponderworthy.org/" target="_blank">PCTSC</a> then you need to look in the TSC folder located in root. Browse to TSC then usr.local.bin to find the pctsc.auto.tsc file. Apply the same changes as mentioned above.</p>
<p><strong>Problem 2</strong></p>
<p>If the power goes out or a user turns the pc off at the wall then Puppy Linux will not boot up into X. This is a major problem as end users will not know what to do..</p>
<p><strong>Solution</strong></p>
<p>I had to actually switch versions of <a href="http://puppylinux.org/main/index.php?file=Overview%20and%20Getting%20Started.htm" target="_blank">puppy</a> linux for this to work, I was using Puppy version 4.3.1 but this was no good as the fix i found browsing the<a href="http://www.murga-linux.com/puppy/viewtopic.php?t=36944"> puppy forums</a> did not work on this version ( although it did seem to work for certain hardware.. not sure what&#8217;s up with that.)</p>
<p>So I downloaded Puppy version <a href="http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-4.2-k2.6.25.16-seamonkey.iso" target="_blank">puppy-4.2-k2.6.25.16-seamonkey</a> and applyed the following fixes.</p>
<p>Open up /etc/rc.d/rc.sysinit and add the following lines:</p>
<p>Find:</p>
<blockquote><p>ln -s /proc/mounts /etc/mtab</p></blockquote>
<p>After that line add:</p>
<blockquote><p>
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
##############SHUTDOWN RECOVERY Add to /etc/rc.d/rc.sysinit################<br />
#If we were not shutdown cleanly, try and recover<br />
if [ -f /RUNNING ];then<br />
echo -n &#8220;(Cleaning up after Unclean SHUTDOWN)&#8221; &gt;/dev/console<br />
rm -f /var/log/X*<br />
rm -f /RUNNING<br />
rm -rf /tmp/*<br />
rm -f /var/lock/LCK*<br />
rm -f /var/run/*.pid<br />
rm -rf /root/tmp 2&gt;/dev/null<br />
rm -rf /root/.thumbnails/* 2&gt;/dev/null<br />
rm -f /etc/.XLOADED<br />
fi</p>
<p>###################Detect Bad Shut######################<br />
#create a file in tmp that should be deleted on a clean shutdown<br />
if [ ! -f /RUNNING ];then<br />
echo &#8216;this file is deleted during a clean shutdown&#8217; &gt; /RUNNING<br />
fi<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
</p></blockquote>
<p>Open up /etc/rc.d/rc.shutdown</p>
<p>Find:</p>
<blockquote><p>
echo &#8220;Puppy is now shutting down&#8230;&#8221; &gt; /dev/console</p></blockquote>
<p>After it add:</p>
<blockquote><p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
rm -f /RUNNING<br />
echo &#8220;Puppy is deleting RUNNING&#8230;&#8221; &gt; /dev/console<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p></blockquote>
<p>Those are all the edits I had to do and Puppy is running all good now without any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://navsplace.net/2010/02/14/linux-based-thin-client/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

