<?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>John Davidson - West 4 Communications</title>
	<atom:link href="http://west4.ca/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://west4.ca</link>
	<description>Unix Systems Adminstation, Scripting, Cloud Computing</description>
	<lastBuildDate>Tue, 21 Feb 2012 00:04:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>script to automatically update server</title>
		<link>http://west4.ca/index.php/2012/02/13/script-to-automatically-update-server/</link>
		<comments>http://west4.ca/index.php/2012/02/13/script-to-automatically-update-server/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 19:13:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=997</guid>
		<description><![CDATA[This is a script that I use to automatically update non-critical Debian/Ubuntu servers. sudo apt-get update -y &#038;&#038; sudo apt-get install -y &#038;&#038; apt-get upgrade -y &#038;&#038; apt-get dist-upgrade -y &#038;&#038; "Done Updating" Notes The &#038;&#038; runs the following command &#8230; <a href="http://west4.ca/index.php/2012/02/13/script-to-automatically-update-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a script that I use to automatically update non-critical Debian/Ubuntu servers.</p>
<p><code>sudo apt-get update -y &#038;&#038; sudo apt-get install -y &#038;&#038; apt-get upgrade -y &#038;&#038; apt-get dist-upgrade -y &#038;&#038; "Done Updating"</code></p>
<p><strong>Notes</strong><br />
The &#038;&#038; runs the following command only if the previous commands exits successfully.</strong></p>
<p>The &#8220;-y&#8221; switch responds automatically answers yes to the shell prompts.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2012/02/13/script-to-automatically-update-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing PATH</title>
		<link>http://west4.ca/index.php/2012/02/06/missing-path/</link>
		<comments>http://west4.ca/index.php/2012/02/06/missing-path/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 20:46:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=995</guid>
		<description><![CDATA[A developer installed some Ruby gems on a new install of Ubuntu 10.10. After a few failures trying to run the gems, he realised that they failed because his PATH value did not contain the directory for the new gems. &#8230; <a href="http://west4.ca/index.php/2012/02/06/missing-path/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A developer installed some Ruby gems on a new install of Ubuntu 10.10. After a few failures trying to run the gems, he realised that they failed because his PATH value did not contain the directory for the new gems. </p>
<p>He then executed the following command in his current shell;</p>
<p><strong>PATH=$PATH:/path/to/gem<br />
export PATH</strong><code></p>
<p>When he echoed the PATH, he could see the modified PATH. But whenever he opened a new tab on the console, or restarted it, the changes were missing.</p>
<p>What did he do wrong?</p>
<p><code><strong>PATH=$PATH:/path/to/gems<br />
export PATH</strong></code></p>
<p>only changes the environment for the current shell. Its good for testing.</p>
<p>Opening a new tab, or closing and reopening terminal creates a new shell with the old environment.</p>
<p>The lines must be added to ~/.profile , ~/.bash_profile or ~/.bashrc to change the environment for all of this user's shells.</p>
<p>To change the default PATH for all users globally you need to modify /etc/profile.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2012/02/06/missing-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Apps Access</title>
		<link>http://west4.ca/index.php/2010/10/09/important-notice-logging-into-google-apps/</link>
		<comments>http://west4.ca/index.php/2010/10/09/important-notice-logging-into-google-apps/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 04:58:40 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=694</guid>
		<description><![CDATA[Google now provides ultra-reliable fast hosting and mail services for your business. West 4 Communications can get your site up and running with Google Apps. Encrypted secure access to email for your domain: https://mail.google.com/a/yourdomainname for example https://mail.google.com/a/west4.ca The https protocol &#8230; <a href="http://west4.ca/index.php/2010/10/09/important-notice-logging-into-google-apps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Google now provides ultra-reliable fast hosting and mail services for your business. West 4 Communications can get your site up and running with Google Apps.</p>
<p><strong>Encrypted secure access to email for your domain:</strong></p>
<p>https://mail.google.com/a/yourdomainname</p>
<p><strong><em>for example </em></strong><br />
<a href="https://mail.google.com/a/west4.ca">https://mail.google.com/a/west4.ca</a>	</p>
<p>The https protocol uses encryption to protect your log-in credentials and email contents.</p>
<p><strong>Encrypted secure access to cPanel dashboard for your domain:</strong></p>
<p>https://www.google.com/a/cpanel/yourdomainname</p>
<p><strong><em><em>for example:</em></strong></p>
<p><a href="https://www.google.com/a/cpanel/west4.ca">https://www.google.com/a/cpanel/west4.ca</a></p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2010/10/09/important-notice-logging-into-google-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve your Google Ranking &#8211; Use Caching To Speed Up Your Site</title>
		<link>http://west4.ca/index.php/2010/09/24/improve-your-google-ranking-use-caching-to-speed-up-your-site/</link>
		<comments>http://west4.ca/index.php/2010/09/24/improve-your-google-ranking-use-caching-to-speed-up-your-site/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 04:56:58 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=660</guid>
		<description><![CDATA[Google loves fast sites. So how can you speed up your site without spending a lot of cash on a dedicated super fast server. Use caching (pardon the pun)! Content Management Systems (CMS&#8217;s) like WordPress and Joomla are incredibly powerful. &#8230; <a href="http://west4.ca/index.php/2010/09/24/improve-your-google-ranking-use-caching-to-speed-up-your-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Google loves fast sites. So how can you speed up your site without spending a lot of cash on a dedicated super fast server. Use caching (pardon the pun)!</p>
<p>Content Management Systems (CMS&#8217;s) like WordPress and Joomla are incredibly powerful. Each time someone visits your site, the CMS generates each page from scratch. It can be a lengthy process to build everything you see. First it will process the PHP code which will make numerous calls to your database and finally output HTML for your web browser to display. On some sites this could happen between 20 to 200 times per page! Multiply all that work times hundreds of users and your website can drag to a crawl.</p>
<p>If you enable caching each page is only generated for the first visitor. The caching mechanism then saves the data and serves every subsequent visitor the final result.  When a page is added or updated the caching mechanism is triggered and a fresh page will generated for the next visitor, saved and served to all the following visitors. This speeds up WordPress by a huge factor. </p>
<p>Trust me, you want it, your visitors will thank you for using it and Google will be bless you. After testing a variety of caching applications West 4 Communications recommends using Hyper-cache. West 4 Communications engineers can expertly configure your site using Hypercache.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2010/09/24/improve-your-google-ranking-use-caching-to-speed-up-your-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve Google Ranking Tip: Redirect Missing Pages</title>
		<link>http://west4.ca/index.php/2010/09/23/improve-google-ranking-tip-redirect-missing-pages/</link>
		<comments>http://west4.ca/index.php/2010/09/23/improve-google-ranking-tip-redirect-missing-pages/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 23:27:32 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=650</guid>
		<description><![CDATA[So, here&#8217;s the quick story. You start a website. You add pages and delete pages trying to hit the Google sweet spot that brings in traffic. It&#8217;s normal to delete or rename as much as half the pages on your &#8230; <a href="http://west4.ca/index.php/2010/09/23/improve-google-ranking-tip-redirect-missing-pages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, here&#8217;s the quick story. You start a website. You add pages and delete pages trying to hit the Google sweet spot that brings in traffic. It&#8217;s normal to delete or rename as much as half the pages on your site within the first year.</p>
<p>But what about those pages you deleted or renamed. Often they have been indexed by the Google search engine during it&#8217;s daily or weekly visits. And if the pages are in the index Google is sending people to those missing pages expecting to find what they are looking for. Only to get an error page. This is very disappointing. Is the person going to stay on your site looking for the missing page? Not likely. Google doesn&#8217;t like disappointing people so your site gets moved further and further down in the index. Missing pages can keep your site from improving it&#8217;s ranking or even leads to drops in your ranking.</p>
<p>What&#8217;s the solution? Set your site up to redirect people to another page if the page they&#8217;re looking for isn&#8217;t found. This is call a 302 redirect and can be set up using the .htaccess file on your site. </p>
<p>At West 4  we regularly monitor your site for missing pages and create redirects to the renamed page or an alternate page with suitable content. We build this into all the websites that we set up and can add this feature to any website. </p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2010/09/23/improve-google-ranking-tip-redirect-missing-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a Buffalo USB Wireless N adapter WLI-UC-GN to work on OSX 10.5.8</title>
		<link>http://west4.ca/index.php/2010/01/29/buffalo-usb-wireless-n-adapter-wli-uc-gn-osx-10-5-8/</link>
		<comments>http://west4.ca/index.php/2010/01/29/buffalo-usb-wireless-n-adapter-wli-uc-gn-osx-10-5-8/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 03:15:46 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[BUFFALO Wifi Dongle]]></category>
		<category><![CDATA[Hackintosh]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=405</guid>
		<description><![CDATA[All of Apple’s laptops come with a built-in WiFi adapter called an Airport. But I needed a second WiFi port for a client application. I didn&#8217;t anticipate any issues with just adding a USB wifi adapter. However after checking out &#8230; <a href="http://west4.ca/index.php/2010/01/29/buffalo-usb-wireless-n-adapter-wli-uc-gn-osx-10-5-8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>All of Apple’s laptops come with a built-in WiFi adapter called an Airport. But I needed a second WiFi port for a client application. I didn&#8217;t anticipate any issues with just adding a USB wifi adapter.</p>
<p>However after checking out the three Mac stores in downtown Vancouver, Simply Computing, WestWorld and Mac Market I came up dry. No one even wanted to talk about using a USB wireless adapter on a Mac laptop. The consensus seemed to be it was impossible.</p>
<p>Well fortunately RAlink develops drivers for all their wireless chipsets that enable them to work with Windows, Linux AND Mac! The chipsets are used by a variety of manufactures to build WiFi N USB adapters.<span style="font-size:16.2037px;">Here&#8217;s what I did to get  the Buffalo WLI-UC-GN Wireless N USB dongle working with OSX 10.5.8, Darwin kernel 9.8.0. It took me a couple of days to get it running. Hopefully this post will help someone else get their Buffalo Wifi adapter running with fewer hassles.</span></p>
<p>Here&#8217;s a related forum thread <a href="http://www.insanelymac.com/forum/index.php?showtopic=193751&amp;st=0&amp;gopid=1400848&amp;#entry1400848">Insanely Mac Forum Thread</a>. <a href="http://timelog.jp/msg/?d740917d1368cd81f2efa0f30990d6551e774c810fb25a">I got the idea for the fix from ayenon</a> &#8211; the site is in Japanese, but you can get the main idea by looking at the screen print.</p>
<p>I chose the Buffalo Wireless N USB dongle WLI-UC-GN because it uses the Ralink chipset which is well supported on Macs. And it was on sale for about $40 at NCIX in Vancouver.</p>
<p>I installed the driver, rebooted and plugged the dongle in. The dongle showed up in System Profiler, but the blue activity light on the USB dongle stayed on constantly. On a properly installed dongle the activity light should be flashing.  I also got a &#8220;No Device&#8221; status when I opened the Ralink Utility. The problem boiled down to an incorrect product id in the info.plist file for the device&#8217;s driver.</p>
<p>The Buffalo USB dongle uses the Ralink 2870 chipset. (Google &#8220;Buffalo WLI-UC-GN chipset&#8221;</p>
<p>1. Download the Macintosh drivers version 2.0.1.0 from <a href="http://www.ralinktech.com/support.php?s=3">RAlink Macintosh Drivers</a>.  The drivers for for Buffalo WLI-UC-GN are labelled USB(RT2870 /RT2770 /RT307X /RT2070 /RT3572).</p>
<p>2. Plug in the Wifi dongle and verify it is showing up in System Profiler.<br />
Click Apple =&gt;About this Mac =&gt; More Info =&gt; USB =&gt; 802.11n WLAN</p>
<p>Verify that the device is being recognized and has enough current:</p>
<p>Current Available (mA):	500<br />
Current Required (mA):	450</p>
<p>3. Write down the Product ID and Device ID for the WLI-UC-GN, This should be the same for everybody.</p>
<p>Click Apple =&gt;About this Mac =&gt; More Info =&gt; USB =&gt; 802.11n WLAN<br />
The Product ID 0x014f   or 335 in decimal<br />
The Device ID 0&#215;0411    or 1041 in decimal</p>
<p>4, Open up /System/Library/Extensions/RT2870USBWirelessDriver.kext/Contents/Info.plist  using nano and scroll down until you reach the information related to Buffalo.</p>
<p>There are 3 entries 2870-1, 2870-2 and 2870-3.</p>
<p>The Product ID in the third entry needs to be changed from 336 to 335 to match the settings from system profiler above.</p>
<p>Write the file out.<br />
Exit</p>
<p>4. Delete /System/Library/Extensions.mkext</p>
<p>cd /System/Library<br />
sudo rm -R Extensions.mkext</p>
<p>5. Reboot  (You should see a message {&#8220;Updating Boot Caches&#8221;)</p>
<p>6. Remember to boot with the -f parameter.</p>
<p>Important! While the system is loading the blue activity light on the WLI-UC-GN should start flashing. If the light on the dongle stays blue constantly it is not installed correctly.</p>
<p>If the blue light on the dongle is flashing you can go on to the next step.</p>
<p>7. Go into System Preferences and add another device for the USB Wifi dongle.</p>
<p>Apple =&gt;  System Preferences =&gt; Network<br />
Click on the + sign in the lower left. An additional drop down menu entry will appear in the list for &#8220;Ethernet&#8221;. Highlight it and click create. Click Apply.</p>
<p>8. Go into the Applications =&gt; RAlink utility =&gt; Site Survey and you should see the Wireless access points.</p>
<p>9. Add a profile for your wireless access point.</p>
<p>10. Open terminal and delete /System/Library/Extensions.mkext again. Reboot again. When the system starts the USB dongle light should be flashing. Open the Ralink Utility and verify that you&#8217;re connected. Check the link status. Open Firefox. Enter the URL google.com and verify that you are connected.</p>
<p>In OSX the internal ethernet adapter is usually configured as en0, airport adapter is configured as en1 and your new usb adapter should be en2. After installing the driver correctly you should be able to type “ifconfig en2″ into terminal to find out how the dongle is configured.</p>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2010/01/29/buffalo-usb-wireless-n-adapter-wli-uc-gn-osx-10-5-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically updating webcam image for Shaw free hosting space</title>
		<link>http://west4.ca/index.php/2010/01/11/automatically-updating-webcam-image-for-shaw-free-hosting-space/</link>
		<comments>http://west4.ca/index.php/2010/01/11/automatically-updating-webcam-image-for-shaw-free-hosting-space/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 02:39:48 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Webcam]]></category>
		<category><![CDATA[Evocam]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Tincam]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=334</guid>
		<description><![CDATA[Would you like to be able to monitor your home, pet or child from anywhere on the internet. Or maybe you&#8217;d like to monitor the weather or watch a birdhouse online. This project provides an automatically updating image on the &#8230; <a href="http://west4.ca/index.php/2010/01/11/automatically-updating-webcam-image-for-shaw-free-hosting-space/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Would you like to be able to monitor your home, pet or child from anywhere  on the internet. Or maybe you&#8217;d like to monitor the weather or watch a birdhouse online. This project provides an automatically updating image on the free webspace that comes with Shaw Broadband internet access.</p>
<p><strong>Project Hardware:</strong></p>
<p>A USB webcam &#8211; almost any Microsoft or Logitech webcam<br />
A USB extension cable to reach from the webcam to your computer<br />
A camera tripod (or the webcam can be duct-taped into position)</p>
<p>High-speed internet access.</p>
<p><strong>Software</strong></p>
<p>Windows XP, Vista or 7 + <a href="http://www.tincam.com/">Tincam</a></p>
<p><a href="http://www.tincam.com/">O</a>S X + Evocam</p>
<p>Filezilla to view your files on the free shaw hosting space.</p>
<p>Tincam and Evocam are both simple webcam servers that use ftp to update a webpage with an image from your webcam.</p>
<p>Both packages lets you specify how often to update the image; from every so many seconds to minutes. Seconds works well for rapidly changing scenes like a birdwatcher webcam. Every 5 minutes works well for something like a weather webcam. If you update the image more than once every 5 minutes be sure to check that your internet connection is fast enough to finish uploading the image before the next picture needs to be sent.</p>
<p><strong>Hosting and internet access</strong><br />
ftp server        ftp.shaw.ca<br />
username        shaw_email_username      (your shaw email username)<br />
password        your_shae_email_password</p>
<p>After starting the capture, you can view your image at</p>
<p>http://members.shaw.ca/yourusername/webcam.html</p>
<p>Tincam costs $19, but a free 30 day evaluation copy can be downloaded from their website.<br />
<a href="http://www.tincam.com/download.php"> </a></p>
<p><a href="http://www.tincam.com/download.php">Tincam software download.</a></p>
<p>After you have the camera set-up. You can buy a domain name from GoDaddy and forward the name to your free Shaw hosting webspace.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2010/01/11/automatically-updating-webcam-image-for-shaw-free-hosting-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing A Domain Name Registrar &#8211; GoDaddy</title>
		<link>http://west4.ca/index.php/2009/12/07/choosing-a-domain-name-registrar-godaddy/</link>
		<comments>http://west4.ca/index.php/2009/12/07/choosing-a-domain-name-registrar-godaddy/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 06:27:46 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Domain Name Registrar]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=230</guid>
		<description><![CDATA[Choosing a Domain Name Registrar by John Davidson You won&#8217;t need much support from a domain name registrar so why pay $35 if you can get away with only $10? Be wary of the sites that offer $2.99 names though. &#8230; <a href="http://west4.ca/index.php/2009/12/07/choosing-a-domain-name-registrar-godaddy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Choosing a Domain Name Registrar</p>
<p>by John Davidson</p>
<p>You won&#8217;t need much support from a domain name registrar so why pay $35 if you can get away with only $10?</p>
<p>Be wary of the sites that offer $2.99 names though. They lure you in with a cheap price for the first year like $2.99, but then soak you each year after when you need to renew your name. Since transferring registrars is generally a pain-free process, don&#8217;t hesitate to transfer the name to a cheaper registrar. Do not leave the transfer to the last minute before the name expires! Give the registrar at least 30 days notice.</p>
<p>I register all my domain names with GoDaddy because they&#8217;re reasonably priced and have never let me down. .COM domain names are generally about $10. To save a few dollars, type “godaddy” into Google and click on the resulting “sponsored link” and you can usually score a promotion code. RetailMeNot is another good source for the latest GoDaddy coupon codes.</p>
<p>One thing to watch out for with GoDaddy. During the registration process they ruthlessly try to upsell you additional domain names, hosting and other add-ons. Be sure to double-check what you&#8217;re buying and the final price before checking out.</p>
<p>West 4 Communications can handle the domain name registration process for you. Please <a href="http://west4.ca/contact/">contact us</a> for further details.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2009/12/07/choosing-a-domain-name-registrar-godaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use free coffee shop wireless securely &#8211; part 3 &#8211; Your Own Virtual Private Network (VPN)</title>
		<link>http://west4.ca/index.php/2009/12/03/how-to-use-coffee-shop-wireless-securely-part-3-your-own-virtual-private-network-vpn/</link>
		<comments>http://west4.ca/index.php/2009/12/03/how-to-use-coffee-shop-wireless-securely-part-3-your-own-virtual-private-network-vpn/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:25:14 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Mobile Computing]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[Virtual Private Network]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=182</guid>
		<description><![CDATA[Create your own virtual private network with Hamachi You can do things between computers on your home or office network you can&#8217;t do securely on a public WiFi network like listen to a shared iTunes library, access files in shared &#8230; <a href="http://west4.ca/index.php/2009/12/03/how-to-use-coffee-shop-wireless-securely-part-3-your-own-virtual-private-network-vpn/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Create your own virtual private network with Hamachi</p>
<p>You can do things between computers on your home or office network you can&#8217;t do securely on a public WiFi network like listen to a shared iTunes library, access files in shared folders and corroborate on shared projects. But using the free virtual private network application Hamachi, you and your buddies can access your computers from anywhere on the internet anywhere on the planet as if you were all connected on your own private local network. This is called a Virtual Private Network.</p>
<p>Today we&#8217;ll use Hamachi to create a virtual private network between a PC, Mac and Ubuntu Linux box and listen to a shared iTunes library over the internet.</p>
<p>First what&#8217;s Hamachi VPN?</p>
<p>Hamachi is a free desktop application and gives you a secure, zero-configuration LAN over the internet. Any application that works over a local network can be used with Hamachi over the internet, like Windows file sharing, iTunes, Remote Desktop, FTP, VNC and gaming. All of Hamachi&#8217;s connections are secure, encrypted, authenticated and peer-to-peer. Though Hamachi acts as a mediator between your computers and creates the tunnels for their communication, Hamachi&#8217;s servers don&#8217;t listen in on or log your activity.</p>
<p>Here are some situations where you might use Hamachi:</p>
<p>Your company has a team of salesmen on the road with laptops and they want secure access to office network, printers. applications and files.</p>
<p>Your office or dorm room computer is behind a restrictive firewall that doesn&#8217;t let you reach it from the internet.</p>
<p>You want to add encryption to insecure network protocols like VNC.</p>
<p>You want to set up a shared folder of files for friends and family to access.</p>
<p>Sound useful? Let&#8217;s get started.</p>
<p>Set up Hamachi</p>
<p>1. Download and install Hamachi. For the most part, the Windows installation is the usual &#8220;just click next&#8221; routine, except for two notes: Hamachi will attempt to install a virtual network adapter which Windows XP says is not supported. &#8211; just hit the &#8220;Continue Anyway&#8221; button at that point. Also, if you have Windows Firewall enabled (or any firewall, for that matter), it will ask if you want to allow traffic to and from the Hamachi client. You do. Click the &#8220;Unblock&#8221; button to allow Hamachi traffic through your firewall, as shown.</p>
<p>For Mac and Ubuntu Linux users, the Hamachi installation is a bit more complicated. Even more disappointing, the application itself is command line, not point and click. (Warning: comfort in the Terminal required. UPDATE: HamachiX is a free GUI Hamachi client for the Mac.</p>
<p>2. Create your Hamachi network. Once Hamachi&#8217;s installed it will walk you through a quick tutorial to get you started. Read it &#8211; it&#8217;s worth it. Then, hit the network button (bottom right hand corner, second button to the left) and choose &#8220;Create new network&#8221; from the menu. Give your network a name (mine was &#8220;vancouverwest4&#8243;) and a password. Click the Create button.</p>
<p>Now your computer will be a member of the new network, and get its own Hamachi IP address (in addition to its regular IP address). It will also have a nickname that will identify it on your network. Mine was &#8220;socrates-pc.&#8221;</p>
<p>3. Join your Hamachi network. At this point you can tell your friends or co-workers your Hamachi network&#8217;s name and password so they too can join it with the Hamachi client installed. To connect my Mac to my new network, I issued a hamachi join gtrap-home command after setting my nickname to &#8220;powerbook.&#8221; Once my Mac was on the network.</p>
<p>4. Network away! Now you&#8217;re ready to share files or stream your iTunes library to other computers in your Hamachi virtual home network anywhere in the world the internet reaches. Within iTunes on my PC I turned sharing on and tried to listen on my Mac. At first the sharing didn&#8217;t work because Windows Firewall wasn&#8217;t allowing it. Once I opened up port 3689 (iTunes sharing port) within Windows Firewall, I was all set.</p>
<p>Then, I could see and play tunes in my PC&#8217;s shared library within iTunes on my Mac. (Be sure to check off &#8220;Look for shared libraries&#8221; in iTunes&#8217; Preferences Sharing panel.)</p>
<p>Finally, you can manage your Hamachi networks and clients through a web interface as well. Register for a free account at My Hamachi and enter your client&#8217;s Hamachi IP. Once you grant the web site access to your network information, view all your networks and clients on the web site, like this (click to enlarge):</p>
<p>Streaming music (and, uh, copying uncopyrighted songs from others&#8217; shared iTunes libraries) is only one example of what can be done with your virtual home network. Browse shared Windows folders, remote control your PC, access an FTP or web server (over Hamachi&#8217;s encrypted connection). Anything you can do locally you can do over the &#8216;net with Hamachi.</p>
<p>Are you a die-hard VPN/Hamachi user? Got questions or tips? Drop me an email or comment.</p>
<p>West 4 Communications can set up a secure Virtual Private Network for your force of global road warriors.</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2009/12/03/how-to-use-coffee-shop-wireless-securely-part-3-your-own-virtual-private-network-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use free coffee shop wireless securely &#8211; part 2 &#8211; Create a secure tunnel using SSH</title>
		<link>http://west4.ca/index.php/2009/12/03/how-to-use-free-public-wifi-in-a-coffe-shop-securely/</link>
		<comments>http://west4.ca/index.php/2009/12/03/how-to-use-free-public-wifi-in-a-coffe-shop-securely/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:13:34 +0000</pubDate>
		<dc:creator>johndvan</dc:creator>
				<category><![CDATA[Mobile Computing]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[Coffee Shop]]></category>
		<category><![CDATA[Secure Tunnel]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://west4.ca/?p=173</guid>
		<description><![CDATA[Create a secure tunnel using SSH by John Davidson In part 1, we learned that using Wi-fi in public hotspots can be dangerous because of packet sniffers which can view and log all unencrypted network data. You need to protect &#8230; <a href="http://west4.ca/index.php/2009/12/03/how-to-use-free-public-wifi-in-a-coffe-shop-securely/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Create a secure tunnel using SSH</p>
<p>by John Davidson</p>
<p>In part 1, we learned that using Wi-fi in public hotspots can be dangerous because of packet sniffers which can view and log all unencrypted network data. You need to protect yourself by encoding both what you are sending and receiving over by using https://  (note the &#8220;s&#8221; for secure) connections whenever possible to connect securely to sites.</p>
<p>But some site don&#8217;t offer any kind of secure login. i&#8217;ll show you how to roll your own using SSH to create a secure tunnel connection from you remote laptop to a trusted home or office computer running an SSH server. All your network traffic will be sagely protected using encryption.</p>
<p>Laptop &#8211; Client Side Software: SSH Client<br />
    * Windows   &#8211;  PuTTY (I&#8217;m currently using Release 0.60)<br />
    * Linux/OSX &#8211;  SSH from the command line</p>
<p>Server &#8211;  Either at home or trusted remote web host with SSH access<br />
    * Windows    &#8211; SSH server<br />
    * Linux/OSX  &#8211; SSH server daemon</p>
<p>If you have trouble connecting to port 22 on your web host, double-check the port address. Some web hosts use oddball ports for SSH. My current web host uses port 2222 instead of 22.</p>
<p>I&#8217;ll use PuTTY on the client site for this walk-through. We will set up port 7000 as the secure channel.</p>
<p>1. Open PuTTY and click on the + sign beside SSH to see the tunneling options. Use the following tunnel settings:</p>
<p>PuTTY SSH Tunnel Configuration</p>
<p>    * Source Port: 7000<br />
    * Destination: localhost<br />
    * Select Dynamic and Auto</p>
<p>2. Click Add. D7000 should show up in the forwarded port box.<br />
3. Select Open and log in using your username and password.</p>
<p>You&#8217;re done setting up the secure channel.</p>
<p>4. In Firefox<br />
       a. Click Tools-&gt;Options-&gt;Advanced-&gt;Network-&gt;Settings<br />
       b. Click the &#8220;No Proxy&#8221; radio button<br />
       c. Click OK twice to close the configuration panes<br />
       d. Go to URL http://whatismyip.com<br />
       e. The ip address displayed is the ip address for the coffee shop</p>
<p>5. Configure Firefox to use the secure channel<br />
      a. Click Tools-&gt;Options-&gt;Advanced-&gt;Network-&gt;Settings<br />
      b. Click the &#8220;Manual proxy configuration&#8221; radio button.<br />
      c.  Set  SOCKS Host<br />
      d.  Set SOCKS Port: 7000<br />
      e.  Click the SOCKSv5 radio button<br />
      f.  Close the configuration pane<br />
      g. Go to URL http://whatismyip.com<br />
      h. The ip address displayed should be the ip address for remote trusted computer.</p>
<p>You can also encrypt your BitTorrent traffic or your MSN connection by changing connection/proxy settings in the application connection options to point to localhost port 7000 and SOCKS v4 or v5.</p>
<p>You can use the applicatin proxifier to forward all your connections at once to the remote ip address.</p>
<p>An easy way to switch proxy settings in Firefox is to install the Switchproxy add-on — change proxy settings with just a click.</p>
<p>Enjoy your secure browser session!</p>
]]></content:encoded>
			<wfw:commentRss>http://west4.ca/index.php/2009/12/03/how-to-use-free-public-wifi-in-a-coffe-shop-securely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

