<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>World Gone WebComputing &#187; World Gone Web</title>
	<atom:link href="http://www.worldgoneweb.com/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.worldgoneweb.com</link>
	<description></description>
	<lastBuildDate>Sun, 09 Oct 2011 20:57:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mac OS X Lion &#8211; iCal default event length</title>
		<link>http://www.worldgoneweb.com/2011/mac-os-x-lion-ical-default-event-length/</link>
		<comments>http://www.worldgoneweb.com/2011/mac-os-x-lion-ical-default-event-length/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 20:57:29 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=839</guid>
		<description><![CDATA[ I upgraded to OS X Lion on release day (I&#8217;m more of a geek all the time) and I was very confused with iCal. It immediatly appeared that all the events I created were now set to &#8220;all day&#8221; by default and I found this very annoying (they used to be set for the default [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/10/features_ical_screen.jpg"><img class="alignleft size-full wp-image-840" title="features_ical_screen" src="http://www.worldgoneweb.com/wp-content/uploads/2011/10/features_ical_screen.jpg" alt="" width="323" height="199" /></a> I upgraded to OS X Lion on release day (I&#8217;m more of a geek all the time) and I was very confused with iCal. It immediatly appeared that all the events I created were now set to &#8220;all day&#8221; by default and I found this very annoying (they used to be set for the default 10am to 12pm slot by default). Researching a way to <a href="http://hints.macworld.com/article.php?story=20090608153944210">customize the default length</a> for new events <a href="http://newmacuser.com/ical-please-stop-setting-my-appointments-to-all-day/">I found out that</a>, new events will be created with start and end dates based on their labels.</p>
<p>Simply create an event titled Sprint 3 meeting from 2 to 4 pm and it will create the event Sprint 3 meeting and assign it the right information. I thought this was awesome and wondered how Apple came up with this feature and why they took the time to focus on this. Then, I saw the iOS 5 keynote and met Siri. Now it all makes sense and I am eager to hire my virtual personal assistant.</p>
<p>Steve Jobs was a visionary. The respect he got from the tech industry is well deserved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/mac-os-x-lion-ical-default-event-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/10/features_ical_screen.jpg" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/10/features_ical_screen.jpg" medium="image">
			<media:title type="html">features_ical_screen</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac OS X: mount a network drive at startup</title>
		<link>http://www.worldgoneweb.com/2011/mac-os-x-mount-a-network-drive-at-startup/</link>
		<comments>http://www.worldgoneweb.com/2011/mac-os-x-mount-a-network-drive-at-startup/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 21:11:20 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[boot up]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Preferences]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=807</guid>
		<description><![CDATA[In case you are sharing a disk over network and you want it to be available on your Mac automatically at boot up, you can have it auto mount at login. Go to System Preferences &#62; Users &#38; Groups. Make sure your user is selected on the left and go to the Login Items tab [...]]]></description>
			<content:encoded><![CDATA[<p>In case you are <a title="Create a NAS with a DD-WRT router" href="http://www.worldgoneweb.com/2011/create-a-nas-with-a-dd-wrt-router/">sharing a disk over network</a> and you want it to be available on your Mac automatically at boot up, you can have it auto mount at login.</p>
<ol>
<li>Go to <em>System Preferences</em> &gt; <em>Users &amp; Groups</em>.</li>
<li>Make sure your user is selected on the left and go to the <em>Login Items</em> tab</li>
<li>Go to the Finder and press Cmd+K and connect to your network drive. Make sure to save the password to your keychain.<br />
<a href="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-10.59.55-PM.png"><img class="aligncenter size-full wp-image-810" title="Screen Shot 2011-08-03 at 10.59.55 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-10.59.55-PM.png" alt="" width="420" height="241" /></a></li>
<li>A Finder window opens showing the content of your network drive. Press Cmd + up arrow key to go up a level</li>
<li>Drag and Drop your network volume in the <em>Login Items</em> window<br />
<a href="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-11.08.27-PM.png"><img class="aligncenter size-full wp-image-811" title="Screen Shot 2011-08-03 at 11.08.27 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-11.08.27-PM.png" alt="" width="453" height="374" /></a></li>
<li>Check the box Hide left to your Volume in the list so the window won&#8217;t open at every boot up</li>
<li>Close the System Preferences, you&#8217;re all set</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/mac-os-x-mount-a-network-drive-at-startup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-10.59.55-PM.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-10.59.55-PM.png" medium="image">
			<media:title type="html">Screen Shot 2011-08-03 at 10.59.55 PM</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-03-at-11.08.27-PM.png" medium="image">
			<media:title type="html">Screen Shot 2011-08-03 at 11.08.27 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Create a NAS with a DD-WRT router</title>
		<link>http://www.worldgoneweb.com/2011/create-a-nas-with-a-dd-wrt-router/</link>
		<comments>http://www.worldgoneweb.com/2011/create-a-nas-with-a-dd-wrt-router/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 20:57:24 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=804</guid>
		<description><![CDATA[A quick note on how to share a USB drive over your private network (Network Attached Storage) using a router running on the DD-WRT firmware. Needless to say, your router needs to have a USB port for this feature to be enabled in the firmware. Plug the drive in your router USB port and turn [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/08/cloud.jpg"><img class="aligncenter size-full wp-image-805" title="cloud" src="http://www.worldgoneweb.com/wp-content/uploads/2011/08/cloud.jpg" alt="" width="640" height="444" /></a></p>
<p>A quick note on how to share a USB drive over your private network (Network Attached Storage) using a router running on the DD-WRT firmware. Needless to say, your router needs to have a USB port for this feature to be enabled in the firmware.</p>
<ol>
<li>Plug the drive in your router USB port and turn it on</li>
<li>Simply login to your router administration console (default credentials are root:admin)</li>
<li>Go to the Services tab.</li>
<li>Go to the USB sub tab and enable the core USB support and the USB storage support. Also, I recommend enabling the auto drive mount.</li>
<li>Select your disk mount point i.e. /mnt and apply settings</li>
<li>The router will mount the drive and give you information about your device</li>
<li>Go to the NAS sub tab and enable the Samba sharing (or FTP if you so desire). Enter your workgroup information and create a share. It should look as follow :<br />
Path /mnt<br />
Name nDrive (enter what you want there)<br />
Public unchecked (you can check this box if you don&#8217;t wish any user management for your data)<br />
Access Read/Write (you can change this to Read Only)</li>
<li>Below, create users and give them access to your device.</li>
</ol>
<div>That&#8217;s all. The DD-WRT makes administration straightforward and, for those who have several routers, it also can make it constant across different devices.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/create-a-nas-with-a-dd-wrt-router/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/08/cloud.jpg" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/08/cloud.jpg" medium="image">
			<media:title type="html">cloud</media:title>
		</media:content>
	</item>
		<item>
		<title>Router, VPN and American IP</title>
		<link>http://www.worldgoneweb.com/2011/router-vpn-and-american-ip/</link>
		<comments>http://www.worldgoneweb.com/2011/router-vpn-and-american-ip/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 18:14:23 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[appletv]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[france]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[hulu]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[strongvpn]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=792</guid>
		<description><![CDATA[I happen to know an American in Paris. Expats have a wide range of specific problems that most people don&#8217;t really ever worry over, for example : how do you teach a child two languages (hoping the child won&#8217;t mix them up) do you have to declare/pay taxes in your country of origin ? which [...]]]></description>
			<content:encoded><![CDATA[<p>I happen to know an American in Paris. Expats have a wide range of specific problems that most people don&#8217;t really ever worry over, for example :</p>
<ul>
<li>how do you teach a child two languages (hoping the child won&#8217;t mix them up)</li>
<li>do you have to declare/pay taxes in your country of origin ?</li>
<li>which address do you give your bank counselor when opening your account ?</li>
<li>how do you transfer money from your bank in country A to your bank in country B ?</li>
</ul>
<p>Anyway, one of the problems expats might have is accessing websites who have an IP-based location check (ie bank account management site, checkout, etc).</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/internet_world_small.jpg"><img class="aligncenter size-full wp-image-802" title="image description" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/internet_world_small.jpg" alt="" width="650" height="460" /></a></p>
<p>Eventually, if the problem is recurrent, you can solve it permanently using a router and a VPN which will give you an IP based in the country of your choice. I tested this setup myself and hre&#8217;s what I learnt.</p>
<h3>What you will need</h3>
<ol>
<li>Get an account with a VPN provider such as <a href="http://www.strongvpn.com">strongVPN</a>. I tested the <a href="http://strongvpn.com/packages.shtml">Lite Open</a> package (monthly fee).<br />
<strong>If you only have one computer, the strongVPN account is all you need. Download the software they provide and you can have a foreign IP at will. If you have more than one machine or various devices you want to use with a foreign IP, read on&#8230;</strong></li>
<li>Buy a DD-WRT <a href="http://www.dd-wrt.com/wiki/index.php/Supported_Devices">compatible router</a>. Since strongVPN offers detailed tutorials for the Linksys ones, I tested one of them, the E3000.</li>
<li>Download the <a href="https://intranet.reliablehosting.com/services/intranet/vpn_accounts/">quick config</a> from your strongVPN customer area (it is a zip file)</li>
</ol>
<h3>Setup your network</h3>
<p>If you already have a router (you probably do as most Internet boxes do create one for you), you will now have two. Basically, you will have two subnets. Depending on which network you use, you will or not have a foreign IP.</p>
<p>Here&#8217;s how it looks :</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/router_mockup.png"><img class="alignleft size-full wp-image-793" title="router_mockup" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/router_mockup.png" alt="" width="644" height="472" /></a></p>
<p>To achieve this, plug a network cable between your new router and your computer. Access your router configuration page, usually at http://192.168.1.1. Login using admin as a login and admin as a password. In the main section, change your router IP to something like 192.168.2.1 / 255.255.255.0 and enter 192.168.1.254 (or whatever your other router IP is) as the gateway. Setup the DHCP to assign addresses like 192.168.2.2 to 192.168.2.50 for example.</p>
<p>If you so desire, enable the wifi of your new router.</p>
<p>Restart your new router. Connect your old router to the new one using a LAN port (not the WAN port) on both ends. Now, if you connect your computer to the old router, your IP will be like 192.168.1.X and you must be able to access the Internet. If you connect your computer to the new router, your IP will be like 192.168.2.X and you should still be able to access the Internet.</p>
<p>If you got this step right, you can go ahead and flash your router firmware.</p>
<h3>Configure your router to use the VPN</h3>
<p>First, we must modify the router&#8217;s firmware to run <a href="http://dd-wrt.com/site/index">DD-WRT</a>. This is an open source firmware that aims to make router administration easy (and consistent) while enabling as many features as possible for each device.</p>
<p>If you did get a <a href="http://strongvpn.com/easy_setup_routers.shtml">router listed for easy setup on strong VPN</a> website, I advise you to download your firmware file from there.</p>
<p>If your device is not listed there, get your firmware file from <a href="http://dd-wrt.com/site/support/router-database">DD-WRT database</a>.</p>
<p>If you did get the Linksys E3000, here are the two files you will need :</p>
<ol>
<li><a href="http://samanthahalfon.net/resources/dd-wrt.v24-16785_NEWD-2_K2.6_std_usb_nas-e3000.bin">dd-wrt.v24-16785_NEWD-2_K2.6_std_usb_nas-e3000.bin</a></li>
<li><a href="http://samanthahalfon.net/resources/dd-wrt.v24-17201_NEWD-2_K2.6_big-nv60k.bin">dd-wrt.v24-17201_NEWD-2_K2.6_big-nv60k.bin</a></li>
</ol>
<p>Now, it&#8217;s time to flash the firmware. Login to your router administration page. Go to <em>administration</em> &gt; <em>upgrade firmware</em>. Select the first file (the upgrade file) and click on <em>start upgrade</em>. Your router will reboot. Return to the same page, select the second file and click on <em>start upgrade</em> again. This time, after reboot, your administration page will look different as you are now running DD-WRT.</p>
<p>Login to your router administration using <em>root</em> as login and <em>admin</em> as password. In the <em>Setup</em> &gt; <em>Basic Setup</em> section, enter the following for DNS servers :</p>
<ol>
<li>216.131.95.20</li>
<li>216.131.94.5</li>
</ol>
<p>Reboot your router and make sure that you can still connect to the Internet using this new router.</p>
<p>Now, it&#8217;s time to <a href="http://strongvpn.com/open_ddwrt.shtml">setup the router to use the VPN access</a>. Go to <em>Commands</em> and enter the content of the quick config file (downloaded earlier) in the textarea. Click on <em>Save Custom Script</em>. The page reloads, type <em>sh /tmp/custom.sh</em> in the textarea and click on <em>run commands</em>. The page reloads again. Clear the textarea and click on <em>Save Custom Script</em> again. Reboot the router. Now, your router should use the VPN access. If you are using this router, whatsmyip.org should tell you that your IP appears to be in the country you selected when opening your VPN account. <a href="http://strongvpn.com/open_ddwrt.shtml">Instructions with screenshots</a> can be found on strongVPN website.</p>
<p><em><strong>Note:</strong></em> If your IP is still the same (your usual IP), you need to contact strongVPN support and ask them to make sure your VPN account is able to work with this setup. If it isn&#8217;t, they will adjust it in a matter of seconds.</p>
<h3>Test</h3>
<p>Connect, either using a network cable or Wifi, your computer to the new router. Go to a website to get to know your IP such as <strong>whatsmyip.org</strong> and you should now see that your external IP is the one of your VPN provider (in the country of your choice). Hopefully, now, you can use your online banking site or whatever other site which was blocking you for being abroad.</p>
<h3>Support</h3>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/strongvpn-on-best-vpn-provider.jpg"><img class="alignleft size-full wp-image-796" title="strongvpn-on-best-vpn-provider" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/strongvpn-on-best-vpn-provider.jpg" alt="" width="243" height="93" /></a> If you&#8217;re having a problem, you could leave a comment on this blog but actually, your best bet is to check the <a href="http://www.dd-wrt.com/phpBB2/">DD-WRT forums</a>. If you did go with strongVPN, you&#8217;re in luck, their support is awesome. They have what they call &#8220;Live Help&#8221; which means some of their support staff can anser you via online chat or even using Skype. Simply head over <a href="http://reliablehosting.com/live.html">the Live Help page</a> and find a DD-WRT guru. You will be given his Skype name and be told when he comes on duty. They are super nice and extremely helpful. You can also visit <a href="http://strongvpn.com/forum/">their forums</a> hoping that someone runs the same hardware you bought.</p>
<h3>It works, now what ?</h3>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/netflix-logo.jpg"><img class="alignleft size-full wp-image-794" title="netflix-logo" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/netflix-logo.jpg" alt="" width="189" height="84" /></a> Okay, so, besides using your connection to access your country of origin banking website and such, this is also a workaround to use country based restricted websites or applications such as Netflix, Hulu or Pandora. I have actually had the opportunity to test this setup and Netflix so, if that&#8217;s what you&#8217;re doing&#8230;</p>
<h3>Netflix : two extra tips</h3>
<ol>
<li>If it stops working on an AppleTV 2, hard reboot (unplug / replug from power source) the device</li>
<li>If it doesn&#8217;t work on iPad, edit your network settings and use Google DNS servers (IP 8.8.8.8)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/router-vpn-and-american-ip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/internet_world_small.jpg" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/internet_world_small.jpg" medium="image">
			<media:title type="html">image description</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/router_mockup.png" medium="image">
			<media:title type="html">router_mockup</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/strongvpn-on-best-vpn-provider.jpg" medium="image">
			<media:title type="html">strongvpn-on-best-vpn-provider</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/netflix-logo.jpg" medium="image">
			<media:title type="html">netflix-logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Server Community Edition for Mac OS X – MySQL permissions</title>
		<link>http://www.worldgoneweb.com/2011/zend-server-community-edition-for-mac-os-x-%e2%80%93-mysql-permissions/</link>
		<comments>http://www.worldgoneweb.com/2011/zend-server-community-edition-for-mac-os-x-%e2%80%93-mysql-permissions/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 08:34:42 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[PID]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[Zend Server]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=787</guid>
		<description><![CDATA[I upgraded to Lion and everything went fine. Just a minor &#8211; known &#8211; issue with MySQL server as installed by the Zend Server Community Edition. I already wrote about solving the mysql error which prevents the server from starting. Researching this again, I found more information about it. Whether running on OS X or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/zend_server.gif"><img class="alignleft size-full wp-image-788" title="zend_server" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/zend_server.gif" alt="" width="190" height="190" /></a></p>
<p>I upgraded to Lion and everything went fine. Just a minor &#8211; known &#8211; issue with MySQL server as installed by the Zend Server Community Edition.</p>
<p>I already wrote about <a title="Zend Server Community Edition for Mac OS X – MySQL problem" href="http://www.worldgoneweb.com/2010/zend-server-community-edition-for-mac-os-x-mysql-problem/">solving the mysql error</a> which prevents the server from starting. Researching this again, I found more information about it. Whether running on OS X or any other OS, it appears that these PID errors are permission related.</p>
<p>The two errors I get are :</p>
<ol>
<li>ERROR &#8211; MySQL PID file could not be found</li>
<li>ERROR &#8211; Manager of pid-file quit without updating file</li>
</ol>
<p>First, when upgrading to Lion, it appears that the zend user is deleted. As a result, all the files owner by <em>zend</em> are now owned by <em>nobody</em>. The only way I found to recreate the user was to reinstall Zend Server Community Edition without removing the current installation. All my data remained untouched&#8230; Apache configuration, PHP configuration and mySQL data stayed so that was not a problem. On the other hand, that did not fix the permission issues. The correct ownerships and permissions are not restored by the installation process. Eventually, I got the server to restart with the following permissions in place.</p>
<p>Here are the permissions for the files in <strong>/usr/local/zend/mysql</strong> :</p>
<p>drwxrwxr-x  49 root  wheel  1666 Jul 22 11:19 bin<br />
drwxrwxr-x  62 zend  wheel  2108 Jul 31 10:12 data<br />
drwxr-x&#8212;   6 root  wheel   204 Mar  8 16:28 data.dist<br />
drwxrwxr-x  24 root  wheel   816 Jul 22 11:20 lib<br />
drwxrwxr-x   3 root  wheel   102 Jul 22 11:19 scripts<br />
drwxrwxr-x  13 root  wheel   442 Jul 22 11:19 share<br />
drwxrwxr-x   3 zend  wheel   102 Jul 31 10:12 tmp</p>
<p>Basically, the folders data and tmp must belong to <em>zend</em>, the others, to root.</p>
<p>So, reinstalling the server, following <a title="Zend Server Community Edition for Mac OS X – MySQL problem" href="http://www.worldgoneweb.com/2010/zend-server-community-edition-for-mac-os-x-mysql-problem/">my own instructions</a> regarding permissions, fixed the Zend Server Community MySQL server for Mac OS X Lion. No other upgrade problem to report. Awesome job by the OS X Team.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/zend-server-community-edition-for-mac-os-x-%e2%80%93-mysql-permissions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/zend_server.gif" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/zend_server.gif" medium="image">
			<media:title type="html">zend_server</media:title>
		</media:content>
	</item>
		<item>
		<title>Move your mySQL data on OS X</title>
		<link>http://www.worldgoneweb.com/2011/move-your-mysql-data-on-os-x/</link>
		<comments>http://www.worldgoneweb.com/2011/move-your-mysql-data-on-os-x/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 07:40:59 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[configurationn]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=780</guid>
		<description><![CDATA[I wanted to change the location of my SQL databases in order for them to be in my user&#8217;s home folder (that way, my databases would be portable as I travel with my user&#8217;s home folder). By default, when you install mySQL on OS X, everything is located at /usr/local/mysql and the data folder (the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/07/mylionsql.png"><img class="alignleft size-full wp-image-781" title="mylionsql" src="http://www.worldgoneweb.com/wp-content/uploads/2011/07/mylionsql.png" alt="" width="280" height="177" /></a>I wanted to change the location of my SQL databases in order for them to be in my user&#8217;s home folder (that way, my databases would be portable as <a title="A Single User Across Multiple Computers" href="http://www.worldgoneweb.com/2011/a-single-user-across-multiple-computers/">I travel with my user&#8217;s home folder</a>). By default, when you install mySQL on OS X, everything is located at /usr/local/mysql and the data folder (the one containing the databases) goes to /usr/local/mysql/data.</p>
<p>The location of the data can be set in the my.cnf file BUT, don&#8217;t be alarmed, this file doesn&#8217;t exist on OS X by default. The server works without it and the file is for you to create if you need to change the server&#8217;s default behavior&#8230;</p>
<p>Steps :</p>
<ol>
<li><a href="http://dev.mysql.com/downloads/mysql/">Download</a> and install mysql for OS X</li>
<li>Install the preference pane. Start your server to make sure it works. Stop it again as we need to alter the configuration.</li>
<li>Move your data folder where you wish to have it i.e.
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>data <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/&lt;</span>user<span style="color: #000000; font-weight: bold;">&gt;/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>data</div></td></tr></tbody></table></div>
</li>
<li>Copy the file my-small.cnf in /etc and name it my.cnf
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>support-files<span style="color: #000000; font-weight: bold;">/</span>my-small.cnf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf</div></td></tr></tbody></table></div>
</li>
<li>Edit this configuration file
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf</div></td></tr></tbody></table></div>
</li>
<li>Change the data path : <em>datadir=/home/&lt;user&gt;/&#8230;./data</em><br />
Note: if you use innodb, change the innodb data location directive as well</li>
<li>Launch your mysql server again, it should start normally, if not, review the steps above as something must have gone wrong</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/move-your-mysql-data-on-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/mylionsql.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/07/mylionsql.png" medium="image">
			<media:title type="html">mylionsql</media:title>
		</media:content>
	</item>
		<item>
		<title>Watching movies on the iPad</title>
		<link>http://www.worldgoneweb.com/2011/watching-movies-on-the-ipad/</link>
		<comments>http://www.worldgoneweb.com/2011/watching-movies-on-the-ipad/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 21:19:59 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[blu-ray]]></category>
		<category><![CDATA[cinema]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Handrabke]]></category>
		<category><![CDATA[hd]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[mkv]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=768</guid>
		<description><![CDATA[One of the thing I wanted to do with the iPad was to watch movies on the go (remember the last time you flew transatlantic and you had to watch The Karate Kid ?&#8230;) At this point, I had no Movies, nor TV Shows in my iTunes so I am really starting from scratch here. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the thing I wanted to do with the iPad was to watch movies on the go (remember the last time you flew transatlantic and you had to watch The Karate Kid ?&#8230;) At this point, I had no Movies, nor TV Shows in my iTunes so I am really starting from scratch here.</p>
<p>Some of the movies I wanted to have on the iPad came from DVD (no Blu-Ray player for me at this point) and one video was a mkv file. So the first step was to import these files in a format that would suit iTunes.</p>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.58.26-PM.png"><img class="aligncenter size-large wp-image-771" title="Screen shot 2011-06-12 at 10.58.26 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.58.26-PM-1024x648.png" alt="" width="614" height="389" /></a></p>
<h2>For the DVDs, I used <a href="http://handbrake.fr/">Handbrake</a>.</h2>
<p>Here is the procedure :</p>
<ul>
<li>Download and install <a href="http://handbrake.fr/downloads.php">Handbrake</a>.</li>
<li>Launch Handbrake</li>
<li>Insert your DVD</li>
<li>Click on Source (top left button) and select your DVD &gt; VIDEO_TS folder.
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-11.23.37-PM.png"><img class="aligncenter size-full wp-image-777" title="Screen shot 2011-06-12 at 11.23.37 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-11.23.37-PM.png" alt="" width="667" height="570" /></a></li>
<li>Handbrake will read the DVD and determine the chapters to rip in order to import only the movie (no special feeatures, no menus, etc)</li>
<li>If you don&#8217;t see the presets drawer on the right, click on &#8220;Toggle presets&#8221; in order to see them</li>
<li>I selected and used the Apple TV2 preset myself for my rips though I read the iPhone 4 preset would have worked, too</li>
<li>I then adjusted these settings somewhat following the recommendations at the end of this <a href="http://forums.macrumors.com/showthread.php?t=886894">forum post</a><br />
- In the <strong>main window</strong>, adjust the <strong>framerate (FPS)</strong> to 25 (if your DVD is PAL/region2)<br />
- click on <strong>Picture Settings</strong> (top toolbar) and change the <strong>anamorphic</strong> to strict&nbsp;</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.32-PM.png"><img class="aligncenter size-full wp-image-769" title="Screen shot 2011-06-12 at 10.54.32 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.32-PM.png" alt="" width="549" height="225" /></a><br />
- click on <strong>Filters</strong> (the tab at the top) and adjust<br />
- <strong>detelecine</strong> to default<br />
- <strong>decomb</strong> to deinterlace (push the cursor to the right)<br />
- <strong>deinterlace</strong> to slow<br />
- <strong>denoise</strong> to medium</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.05-PM.png"><img class="aligncenter size-full wp-image-770" title="Screen shot 2011-06-12 at 10.54.05 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.05-PM.png" alt="" width="329" height="329" /></a></li>
<li>You can then click on Preview to see what your movie will look like</li>
<li>Finally, in the main window, you can modify the destination file path</li>
<li>When everything is set, click on <strong>Start</strong></li>
</ul>
<p>The encoding process takes about 1.5 times the movie length for me here&#8230;</p>
<p>Of course, if you know better presets for Handbrake to work specifically for a given device (especially the iPad2) feel free to share them in the comments. Your help is welcome.</p>
<h2>For the MKV file conversion to MP4 I used the trial version of <a href="http://www.iskysoft.com/video-converter-mac.html">Video Converter for Mac</a></h2>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/VideoConverterMac.jpg"><img class="aligncenter size-full wp-image-772" title="VideoConverterMac" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/VideoConverterMac.jpg" alt="" width="520" height="302" /></a></p>
<ul>
<li><a href="http://www.iskysoft.com/video-converter-mac.html">Download</a> and install the product</li>
<li>Drag and drop the video(s) you need to convert</li>
<li>Once again, select the preset that suits you best (it can be iPad or Apple TV)</li>
<li>Adjust the framesize (if your source is HD and you have an iPad2, you might want to increase the output framesize)</li>
<li>Click on <strong>Convert</strong></li>
</ul>
<p>You can find more information on how to use Video Converter in the editor&#8217;s website <a href="http://www.iskysoft.com/user-guide/video-converter-mac.html">documentation</a>.</p>
<p>That process was very time consuming on my computer&#8230; much more than the rips from my original DVD though I must add that the resulting video, on the iPad2, is wonderful. The HD source made all the difference in the world compared to the DVD sourced material. NO, I WILL NOT BUY ALL MY DVDs AGAIN AS BLU-RAY DISCS but I&#8217;m sure some of them would benefit from the upgrade&#8230;</p>
<h2>MP4 to iTunes to iPad</h2>
<p>Both Handrake and Video Converter for Mac created for us some mp4 files. These files must be added to the iTunes Library.</p>
<p>I also feel the need to tag them. I need the director name, the release date and the cover &#8211; at least&#8230; I found the artwork in very high res at <a href="http://getvideoartwork.com/">getvideoartwork</a>. As for the tagging, a very detailed article at iLounge.com covers the subject of <a href="http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-managing-itunes-videos/">video management within iTunes</a>.</p>
<p>Once your movies are ready, simply sync all your movies (or a selection on them) with your device (which could be an iPad or iPhone)</p>
<p>That&#8217;s it, book a long flight for your next holidays and enjoy your movies <img src='http://www.worldgoneweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/watching-movies-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.58.26-PM-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.58.26-PM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 10.58.26 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.58.26-PM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-11.23.37-PM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 11.23.37 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-11.23.37-PM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.32-PM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 10.54.32 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.32-PM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.05-PM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 10.54.05 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-10.54.05-PM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/VideoConverterMac.jpg" medium="image">
			<media:title type="html">VideoConverterMac</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/VideoConverterMac-150x150.jpg" />
		</media:content>
	</item>
		<item>
		<title>Picasa: how to download a full album?</title>
		<link>http://www.worldgoneweb.com/2011/picasa-how-to-download-a-full-album/</link>
		<comments>http://www.worldgoneweb.com/2011/picasa-how-to-download-a-full-album/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 22:19:58 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Addon]]></category>
		<category><![CDATA[Album]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[DownThemAll]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Picasa]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=761</guid>
		<description><![CDATA[From what I understand, the Picasa application on Windows enables the download of all the photos contained in a given album but that isn&#8217;t the case on Mac. In addition, some prefer not to install the Picasa Desktop application for Mac and it shouldn&#8217;t be necessary to do so just to download pictures. There is [...]]]></description>
			<content:encoded><![CDATA[<p>From what I understand, the Picasa application on Windows enables the download of all the photos contained in a given album but that isn&#8217;t the case on Mac. In addition, some prefer not to install the Picasa Desktop application for Mac and it shouldn&#8217;t be necessary to do so just to download pictures. There is the possibility, using the web interface, to download photos in an album (if the person who shared them thought of checking an option during the upload which often isn&#8217;t the case).</p>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.09.42-AM.png"><img class="aligncenter size-large wp-image-762" title="PicasaWeb" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.09.42-AM-1024x412.png" alt="" width="614" height="247" /></a></p>
<p>In any case, one way to <strong>always be able to download all the photos in a Picasa web album to your computer</strong> is to user the RSS feed of the album and the Firefox &#8220;Down Them All&#8221; extension.</p>
<p>Here&#8217;s how :</p>
<ul>
<li>Install the <a href="https://addons.mozilla.org/en-US/firefox/addon/downthemall/">Down Them All</a> addon for Firefox (and restart the browser if necessary)</li>
<li>Browse to the Picasa album you wish to download the photos from</li>
<li>Click on the RSS link at the bottom right of the page<br />
<a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.12.20-AM.png"><img class="aligncenter size-full wp-image-763" title="Screen shot 2011-06-12 at 12.12.20 AM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.12.20-AM.png" alt="" width="486" height="641" /></a></li>
<li>Launch Down Them All by going to Tools &gt; Down Them All! Tools &gt; Down Them All!&#8230;</li>
<li>By default, all the images are selected for download<br />
<a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.13.04-AM.png"><img class="aligncenter size-full wp-image-764" title="Screen shot 2011-06-12 at 12.13.04 AM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.13.04-AM.png" alt="" width="544" height="472" /></a></li>
<li>Validate the destination for the download</li>
<li>Click Start</li>
</ul>
<p>Nice and easy, enjoy your photos and keep in mind the flip side to this &#8220;trick&#8221;. Whatever settings you use when you upload your photos to the Internet, they are easily downloaded by whoever stumbles on them&#8230; As far as I know, there is no real privacy for your photos once uploaded on Picasa (or Flickr) which they both make clear in their terms of use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/picasa-how-to-download-a-full-album/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.09.42-AM-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.09.42-AM.png" medium="image">
			<media:title type="html">PicasaWeb</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.09.42-AM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.12.20-AM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 12.12.20 AM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.12.20-AM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.13.04-AM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-12 at 12.13.04 AM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-12-at-12.13.04-AM-150x150.png" />
		</media:content>
	</item>
		<item>
		<title>MPD: Music Player Daemon</title>
		<link>http://www.worldgoneweb.com/2011/mpd-music-player-daemon/</link>
		<comments>http://www.worldgoneweb.com/2011/mpd-music-player-daemon/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 08:17:14 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[AirPlay]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[MPaD]]></category>
		<category><![CDATA[MPD]]></category>
		<category><![CDATA[MPoD]]></category>
		<category><![CDATA[Music Player Daemon]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[Theremin]]></category>
		<category><![CDATA[ubiquity]]></category>
		<category><![CDATA[VoD]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=94</guid>
		<description><![CDATA[About a year and a half ago, the price of Hard Drives (and their size) suddenly made it possible for us to imagine having most of our content (music, DVDs) archived on Hard Drives and easily accessible across devices. As it turns out, we are still in the process of importing some of our CDs [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/logo_music.jpg"><img class="alignleft size-thumbnail wp-image-752" title="logo_music" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/logo_music-150x150.jpg" alt="" width="150" height="150" /></a> About a year and a half ago, the price of Hard Drives (and their size) suddenly made it possible for us to imagine having most of our content (music, DVDs) archived on Hard Drives and easily accessible across devices. As it turns out, we are still in the process of importing some of our CDs and DVDs on digital media and tagging all of that information. What a job that is&#8230;</p>
<p>At the same time, we are constantly on the lookout for solutions to enjoy our music collection (and movies collection) across devices, wherever we are.</p>
<p>A lot of recent events indicate that we are not alone in this quest and that it will only get better and better in time.</p>
<p>Recently, of course, Apple introduced the <a href="http://www.apple.com/fr/itunes/remote/" target="_blank">Remote App</a> for iPhone/iPad, <a href="http://www.apple.com/fr/itunes/airplay/" target="_blank">AirPlay</a> followed by <a href="http://www.apple.com/icloud/features/" target="_blank">iTunes Match</a>&#8230; In the Unix World, a lot of things already exist as well : Pulse to stream audio across devices and projects like Music Player Daemon (which is nothing but new). Media Center are also making the news frequently (Windows Media Center, <a href="http://www.boxee.com" target="_blank">Boxee</a>, <a href="http://www.plexapp.com/about.php" target="_blank">Plex</a>) and commercial solutions (Music streamingm VoD) like <a href="http://www.spotify.com" target="_blank">Spotify</a>, <a href="https://www.netflix.com/" target="_blank">Netflix</a> and <a href="http://www.hulu.com/" target="_blank">Hulu</a> are slowly forcing DVD and Blu-Ray Discs pricing down.</p>
<p style="text-align: center;"><a href="../wp-content/uploads/2011/06/b-666128-music_everywhere.jpg"><img class="aligncenter" title="b-666128-music_everywhere" src="../wp-content/uploads/2011/06/b-666128-music_everywhere.jpg" alt="" width="500" height="375" /></a></p>
<p>Dematerialized solutions are the way of the future but several problem remain :</p>
<ul>
<li>how to organize one&#8217;s library (how to merge dematerialized bought content and ripped content from CDs and in our case even vinyls that we already had)</li>
<li>how to make this content accessible across devices (especially in a multi-platform environment)</li>
<li>how to stream this content on various speakers in the same house</li>
<li>how to remotely control what we play in each room</li>
<li>finally, can we somehow enjoy our content even on the move</li>
<li>(I don&#8217;t even mention syncing across devices, the size of our collection makes that totally impossible, the content has to stay in one place)</li>
<li>(other issues include the ever needed backup management)</li>
</ul>
<p>We are currently waiting to test some of these solutions (we do not have an AirPlay receiver for example though that will soon arrive).</p>
<p>For now, I&#8217;ll focus on one part of our solution : <a href="http://sourceforge.net/projects/musicpd/" target="_blank">Music Player Daemon</a>.</p>
<p><a href="http://mpd.wikia.com/wiki/What_MPD_Is_and_Is_Not">Music Player Daemon (definition)</a> is a server side music player. It allows to queue and play music files (in various formats) accessible to it via the file system. MPD can be controlled remotely using a wide range of clients (desktop, mobile or web based).</p>
<p>An example ? We have several computers in the house. One of them is the &#8220;Media Center&#8221;. It has the Music Hard Drive hooked to it and is (mostly) always on. Because it is the &#8220;Media Center&#8221; it is the computer that has the good sound system attached (whether that means a 5.1 speaker set or a connection to a Home Amplifier System, whatever). Basically, this is the computer that should play music. Why would you listen to a song using your laptop speakers when you can play the same song on your great expensive speaker set ?</p>
<p>So what you do, if you are in your house and connected to your home network, is remotely control what song your &#8220;Media Center&#8221; computer should play. Using a MPD client, you can browse your Music Library (and your playlists) and just play any of them on your great sound system. The good news is that you can do this using Windows, Mac, Linux, iPhone, iPad and even AppleTV.</p>
<p>Of course, this only answers some of the problems mentioned above (there will more than likely be several more articles on related subjects in this blog in the future). MPD does not offer a solution to the online streaming (at least not directly) not does it solve the problem of playing music acrosse the house on various speaker sets (it only plays on the machine it is installed on). But that&#8217;s already a first step to our goal : <strong>an ubiquitous access to our Music and Movies Collections</strong>.</p>
<h1>Some Technical Notes</h1>
<h2>Setting up the server</h2>
<p><strong>Debian</strong></p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mpd<br />
<span style="color: #666666; font-style: italic;">#what else were you expecting?</span></div></td></tr></tbody></table></div>
<p><strong>Mac OS X</strong></p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> mpd<br />
<span style="color: #666666; font-style: italic;">#also works with fink and homebrew</span></div></td></tr></tbody></table></div>
<p>Configure mpd by editing /etc/mpd.conf or /opt/local/etc/mpd.conf and set the path to your logs, music library, etc.</p>
<p>Start the server (either manually with mpd) or automatically with an /etc/init.d type script</p>
<p><strong>More information </strong></p>
<p>The <a href="http://mpd.wikia.com/" target="_blank">MPD Community Wiki</a> (new to me) reveals that the project has been pretty active lately which is excellent news.</p>
<ul>
<li><a href="http://mpd.wikia.com/wiki/Install#Mac_OS_X_10.3.2C_10.4_Install_Procedure" target="_blank">MPD Install procedures</a></li>
<li><a href="http://mpd.wikia.com/wiki/Osx" target="_blank">MPD on OS X</a></li>
<li><a href="http://mpd.wikia.com/wiki/Configuration" target="_blank">Configuring MPD</a></li>
<li><a href="http://code.google.com/p/atvmpdcontrol/wiki/InstallMPDonappleTV" target="_blank">Installing and using MPD on AppleTV</a></li>
</ul>
<h2>MPD Clients</h2>
<p>Now that I&#8217;ve described how to setup your MPD server, you will need a client to play your music from anywhere.  I switched to Mac OS X about a year ago and this is now my primary system. We also run some Windows machine. I use Debian as well but most of the time, that&#8217;s only as a server (ie no graphical interface there)</p>
<p><strong>Windows:</strong></p>
<p><a title="QMPDClient" href="http://havtknut.tihlde.org/qmpdclient/" target="_blank">QMPDClient</a>: our favorite client on Windows is QMPDClient. The client suit us best because it didn&#8217;t choke on the size of our collection and it handles both file system and tag views.</p>
<p>QMPDClient has been extended with another project QMPDClient-ne which should also run on Windows though I haven&#8217;t tested it on this platform.</p>
<p style="text-align: center;"><a href="../wp-content/uploads/2011/06/qmpd-client.jpg"><img class="aligncenter" title="qmpd client" src="../wp-content/uploads/2011/06/qmpd-client-1024x544.jpg" alt="" width="516" height="274" /></a></p>
<p><strong>Linux:</strong></p>
<p>MPD being a project that came from the Linux world, most clients are aiming for this platform.</p>
<p>Currently, I have tested:</p>
<p><a title="QMPDClient" href="http://havtknut.tihlde.org/qmpdclient/" target="_blank">QMPDclient</a> (so that Derrick and I can run the same software on both systems)<br />
QMPDClient also has a package available via apt/aptitude for Debian.</p>
<p><a title="QMPDClient-ne" href="http://github.com/Voker57/qmpdclient-ne/tree/master" target="_blank">QMPDclient-ne</a> in order to see what enhancements have been added like the possibility to pull up lyrics.</p>
<p><a title="QtMPC" href="http://qtmpc.lowblog.nl/" target="_blank">QtMPC</a>, another Qt4 based client.</p>
<p><strong>Mac OS X:</strong></p>
<p><a title="Theremin" href="https://theremin.sigterm.eu/" target="_blank">Theremin</a> is the most famous Mac OS MPD client as it is written in Cocoa and therefore has the Mac aqua style. Another plus, it has a growl connector.</p>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/qmpd-client.jpg"></a><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Picture-1.png"><img class="aligncenter size-large wp-image-750" title="Picture 1" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Picture-1-1024x640.png" alt="" width="491" height="307" /></a></p>
<p>About a year ago, I had tested <a title="Kea2" href="http://redmine.sitharus.com/wiki/kea2" target="_blank">Kea2</a> which was in an alpha stage. It seems to have disappeared.</p>
<p><strong>iPhone / iPad</strong></p>
<p>I&#8217;ve tested <a href="http://itunes.apple.com/fr/app/mpod/id285063020?mt=8" target="_blank">MPoD</a> for iPhone and will probably try <a href="http://itunes.apple.com/fr/app/mpad/id423097706?mt=8" target="_blank">MPaD</a> for iPad soon.</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/MPaD.jpg"><img class="aligncenter size-full wp-image-748" title="MPaD" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/MPaD.jpg" alt="" width="480" height="360" /></a></p>
<h1>Where to go from there ?</h1>
<p>There is a lot more to do on this Music system of ours. We are still looking for a great Music Client (iTunes doesn&#8217;t cut it for us at all, our collection is too big for the sorting and management offered) but we want to enjoy solutions like AirPlay. We also hope to see more AirPlay (or similar) received come out in order, one day, to have speakers in every room and a way to play music where we want. Stay tuned&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/mpd-music-player-daemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/logo_music-150x150.jpg" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/logo_music.jpg" medium="image">
			<media:title type="html">logo_music</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/logo_music-150x150.jpg" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com../wp-content/uploads/2011/06/b-666128-music_everywhere.jpg" medium="image">
			<media:title type="html">b-666128-music_everywhere</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com../wp-content/uploads/2011/06/qmpd-client-1024x544.jpg" medium="image">
			<media:title type="html">qmpd client</media:title>
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Picture-1.png" medium="image">
			<media:title type="html">Picture 1</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Picture-1-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/MPaD.jpg" medium="image">
			<media:title type="html">MPaD</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/MPaD-150x150.jpg" />
		</media:content>
	</item>
		<item>
		<title>Installing OpenSSH on Windows 7</title>
		<link>http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/</link>
		<comments>http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 09:55:15 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=736</guid>
		<description><![CDATA[Today, I was tempted to take control of a Windows machine remotely in console mode as I&#8217;m trying to script the launch and use of VLC. A quick Google search reveleaed the existence of the sshwindows project which is a more lightweight solution than a full cygwin installation. Here are the installation steps : Download [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I was tempted to take control of a Windows machine remotely in console mode as I&#8217;m trying to script the launch and use of VLC. A quick Google search reveleaed the existence of the <a title="SSH Windows: OpenSSH for Windows" href="http://sshwindows.sourceforge.net/">sshwindows</a> project which is a more lightweight solution than a full <a title="Cygwin" href="http://www.cygwin.com/">cygwin</a> installation.</p>
<h2>Here are the installation steps :</h2>
<p>Download and run the <a href="http://sourceforge.net/projects/sshwindows/files/OpenSSH%20for%20Windows%20-%20Release/3.8p1-1%2020040709%20Build/setupssh381-20040709.zip/download">sshwindows installer</a>.</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.29.31-AM.png"><img class="aligncenter size-full wp-image-737" title="Setup" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.29.31-AM.png" alt="" width="543" height="427" /></a></p>
<p>As the setup will tell you, some simple commands will be needed to complete the installation. Launch the windows command line tool (windows key -&gt; type cmd -&gt; press enter) and head to the directory in which you installed open ssh.</p>
<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.30.07-AM.png"><img class="aligncenter size-full wp-image-738" title="Screen shot 2011-06-07 at 5.30.07 AM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.30.07-AM.png" alt="" width="524" height="242" /></a></p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> \<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;Program Files (x86)&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> OpenSSH</div></td></tr></tbody></table></div>
<p>The steps needed to complete the installation are detailed in the docs folder in two files : <strong>quickstart.txt</strong> will quickly sum up the steps while the <strong>readme.txt</strong> is a more detailed setup and troubleshooting guide.</p>
<p>Below is a step by step process on what I had to do to get the server running :</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># go to the bin directory of the OpenSSH folder</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> bin<br />
<span style="color: #666666; font-style: italic;"># create the default groups</span><br />
mkgroup <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ..\etc\group<br />
<span style="color: #666666; font-style: italic;">#create the default users</span><br />
mkpasswd <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ..\etc\<span style="color: #c20cb9; font-weight: bold;">passwd</span><br />
<span style="color: #666666; font-style: italic;"># Note: for neither of the above commands did I bother with the domain version documented in the quickstart</span><br />
<span style="color: #666666; font-style: italic;"># Now, if you look in ..\etc\passwd, you will see entries (one per line) for all your Windows users.</span><br />
<br />
<span style="color: #666666; font-style: italic;"># Start the server in debug mode</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ..\usr\sbin<br />
sshd <span style="color: #660033;">-d</span> <span style="color: #660033;">-d</span> <span style="color: #660033;">-d</span></div></td></tr></tbody></table></div>
<p>According to the quickstart guide, everything should work at this point but that was not the case for me.<br />
I had permission errors with the rsa and das key files</p>
<p>Below is the message I saw :</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">debug1: sshd version OpenSSH_3.8.1p1<br />
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span><br />
<span style="color: #000000; font-weight: bold;">@</span>         WARNING: UNPROTECTED PRIVATE KEY FILE<span style="color: #000000; font-weight: bold;">!</span>          <span style="color: #000000; font-weight: bold;">@</span><br />
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span><br />
Permissions 0644 <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #ff0000;">'/etc/ssh_host_rsa_key'</span> are too open.<br />
It is recommended that your private key files are NOT accessible by others.<br />
This private key will be ignored.<br />
bad permissions: ignore key: <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh_host_rsa_key<br />
Could not load host key: <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh_host_rsa_key<br />
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span><br />
<span style="color: #000000; font-weight: bold;">@</span>         WARNING: UNPROTECTED PRIVATE KEY FILE<span style="color: #000000; font-weight: bold;">!</span>          <span style="color: #000000; font-weight: bold;">@</span><br />
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span><br />
Permissions 0644 <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #ff0000;">'/etc/ssh_host_dsa_key'</span> are too open.<br />
It is recommended that your private key files are NOT accessible by others.<br />
This private key will be ignored.<br />
bad permissions: ignore key: <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh_host_dsa_key<br />
Could not load host key: <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh_host_dsa_key<br />
Disabling protocol version <span style="color: #000000;">2</span>. Could not load host key<br />
sshd: no hostkeys available <span style="color: #660033;">--</span> exiting.</div></td></tr></tbody></table></div>
<p>I solved that problem by using chown and chmod available in the bin folder to change the persmission on these files. As I found out trying to run chown, I needed a cygintl-2.dll file which I didn&#8217;t have on that computer. I ended up copying it from another computer running an up to date install of cygwin. In this up to date version, cygintl-2 was called cygintl-8, I renamed it. If you need to, download <a href="http://samanthahalfon.net/resources/cygwin_includes.zip">cygintl-2.dll</a> and <a href="http://samanthahalfon.net/resources/cygwin_includes.zip">cygwin1.dll</a> and place them in your OpenSSH\bin directory. Note that you will need to replace the existing cygwin1.dll.</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> ..\..\etc<br />
..\bin\<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">*</span><br />
..\bin\<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> <span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #666666; font-style: italic;"># ls -lsa to confirm that the permissions were changed</span><br />
<span style="color: #666666; font-style: italic;"># run the server in debug mode again...</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<br />
usr\sbin\sshd <span style="color: #660033;">-d</span> <span style="color: #660033;">-d</span> <span style="color: #660033;">-d</span><br />
<span style="color: #666666; font-style: italic;"># If prompted, allow the service to accept incoming connections...</span></div></td></tr></tbody></table></div>
<p>That&#8217;s it, at this point, the server starts. You can kill it (CTRL+C) and start it as a Windows service by running</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">net start opensshd</div></td></tr></tbody></table></div>
<p>Time to test our SSH server with a client. On a different computer, run a SSH client (if the other computer is running Windows, you can use <a title="Putty SSH client" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">putty</a>).</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;@&lt;</span>ip_windows_machine<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<span style="color: #666666; font-style: italic;"># You will be prompted to accept the authenticity of host, type yes</span><br />
<span style="color: #666666; font-style: italic;"># You will be prompted for a password</span><br />
<span style="color: #666666; font-style: italic;"># Enter your windows password</span></div></td></tr></tbody></table></div>
<p>At this point, it worked for me ! Now I can connect to a Windows 7 using SSH and that makes Windows a lot cooler ! Thanks to the developer, <a href="http://www.amazon.com/gp/registry/3JW7TJ7WN20PC?ie=UTF8&amp;%2AVersion%2A=1&amp;%2Aentries%2A=0">Michael Johnson</a>.</p>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-6.45.33-AM.png"><img class="aligncenter size-full wp-image-739" title="OpenSSH Windows" src="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-6.45.33-AM.png" alt="" width="626" height="430" /></a></p>
<h2>Going further, the public key authentication</h2>
<p>Since my goal, with all this, was to script the use of VLC from a  Unix machine on the Windows one, I could use the public key  authentication to bypass the interactive authentication.</p>
<p>The SSH public key authentication system is based on the private and public keys which are expected in the user&#8217;s home folder (in a folder called .ssh). So the first step will be to define the user&#8217;s home folder on windows.</p>
<p>Since I&#8217;m not using cygwin but open ssh for windows, it&#8217;s only the declaration of the home folder in openssh that I care for. I edited the file in c:\Program Files (x86)\OpenSSH\etc\passwd and changed the value before last (each value is separated by a <img src='http://www.worldgoneweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . I changed the home folder for my user to /cygdrive/c/Users/&lt;username&gt;. Now I can go in my c:\Users\&lt;username&gt; folder and create a folder called .ssh. I recommend creating this folder using the command window as I don&#8217;t think it is possible with the graphical interface.</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> c:\Users\<span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> .ssh</div></td></tr></tbody></table></div>
<p>At this point, you need a public key which you should generate with the command</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa</div></td></tr></tbody></table></div>
<p>Now, the idea is to place my user&#8217;s public key in this folder in a file called authorized_keys. Since I&#8217;ve already <a title="Debian Etch: setting up the basics" href="http://www.worldgoneweb.com/2011/debian-etch-setting-up-the-basics/">setup my public key</a>, I simply add to place it in that folder and do :</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> c:\Users\<span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> id_dsa.pub authorized_keys<br />
remove id_dsa.pub<br />
<span style="color: #666666; font-style: italic;"># The public key authentication will not work if the permissions are not set right on this file so</span><br />
<span style="color: #ff0000;">&quot;c:\Program Files (x86)\OpenSSH\bin\chown.exe&quot;</span> <span style="color: #660033;">-R</span> <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span> .<br />
<span style="color: #ff0000;">&quot;c:\Program Files (x86)\OpenSSH\bin\chmod.exe&quot;</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">700</span> .ssh<br />
<span style="color: #ff0000;">&quot;c:\Program Files (x86)\OpenSSH\bin\chmod.exe&quot;</span> <span style="color: #000000;">600</span> authorized_keys</div></td></tr></tbody></table></div>
<p>Edit your ssh server configuration file and make sure the Public Key authorization is not commented (it was okay for me by default)</p>
<p>From your client computer, connect again using ssh &lt;username&gt;@&lt;windows_ip&gt; and you shouldn&#8217;t be prompted for a password anymore.</p>
<p>Now, I can simply launch commands on the windows machine by doing</p>
<div class="codecolorer-container bash dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;@&lt;</span>ip_windows<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>cmd<span style="color: #000000; font-weight: bold;">&gt;</span></div></td></tr></tbody></table></div>
<p>Finally, moving on with my project which I&#8217;ll describe in this blog upon completion. &#8217;till then, hope this tip helps</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.29.31-AM-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.29.31-AM.png" medium="image">
			<media:title type="html">Setup</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.29.31-AM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.30.07-AM.png" medium="image">
			<media:title type="html">Screen shot 2011-06-07 at 5.30.07 AM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-5.30.07-AM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-6.45.33-AM.png" medium="image">
			<media:title type="html">OpenSSH Windows</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/06/Screen-shot-2011-06-07-at-6.45.33-AM-150x150.png" />
		</media:content>
	</item>
	</channel>
</rss>

