<?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>Another blog bites the dust &#187; Tips n&#8217; Tricks</title>
	<atom:link href="http://eran.sandler.co.il/category/tips-n-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://eran.sandler.co.il</link>
	<description>Not biting dust since 2005</description>
	<lastBuildDate>Mon, 30 Aug 2010 13:51:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PPTP VPN on Ubuntu 10.04 for your iPhone / iPad</title>
		<link>http://eran.sandler.co.il/2010/08/30/pptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad/</link>
		<comments>http://eran.sandler.co.il/2010/08/30/pptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 13:51:24 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PPTP]]></category>
		<category><![CDATA[Tunneling]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=278</guid>
		<description><![CDATA[Below are the steps necessary to connect your iPhone / iPad or any other computer via a PPTP VPN. Why would I want to do this? For various reasons such as allow you to access information and servers that are behind a firewall, or maybe you just need to route traffic through different servers. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Below are the steps necessary to connect your iPhone / iPad or any other computer via a PPTP VPN.</p>
<p>Why would I want to do this? For various reasons such as allow you to access information and servers that are behind a firewall, or maybe you just need to route traffic through different servers.</p>
<p>I&#8217;ve tested this on a 256mb <a href="http://www.rackspacecloud.com/1431.html">Rackspace Cloud</a> instance running Ubuntu 10.04 and with an iPhone and an iPad. Thanks to <a href="http://yaniv.golan.name/blog/">Yaniv</a> for debugging the instructions.</p>
<p><strong>Disclaimer</strong>: This is for educational uses only and I take no responsibility as to what you may do with it. The PPTP VPN setup via the instructions below has no encryption and uses the simplest and lowest form of password authentication. If you require stricter encryption and authentication methods you&#8217;ll need to read more about pptpd configuration.</p>
<p><strong><span style="text-decoration: underline;">Assumptions:</span></strong></p>
<ul>
<li>The instance you are using is blank, specifically from firewall rules in iptables, otherwise, you&#8217;ll need to patch things up.</li>
<li>All commands assume you are current a root user. If you logged in as root, that&#8217;s great. If not, run:
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">su</span></div>
</div>
</li>
<li>Instead of messing a lot with iptables commands, I&#8217;m using <a href="https://help.ubuntu.com/community/UFW">ufw</a> (Uncomplicated FireWall). In general, to most people, it will be easier to manage and work with.</li>
</ul>
<h1>Setting up the PPTP Server</h1>
<p>In general we are going to create a PPTP VPN that is very basic without encryption and with basic authentication security (not fancy authentication protocols). Since Rackspace Cloud instance has an external interface (eth0) that has the instance public IP and an internal interface (eth1) with an internal IP used to communicate with your other Rackspace Cloud server (if you have them), we&#8217;ll create an alias network interface card that will have some other set of internal ips, which will be given to the devices connected via the VPN.</p>
<ol>
<li>Install the necessary software (pptpd, pptp-linux, ppp and ufw &#8211; for firewall):
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">apt-get</span> <span class="kw2">install</span> pptpd pptp-linux ppp ufw</div>
</div>
</li>
<li>Enable port 22 (ssh) in the firewall, so we don&#8217;t get locked out of our instance:
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">ufw allow <span class="nu0">22</span></div>
</div>
</li>
<li> Enable port 1723 (pptpd) in the firewall to enable access to the pptpd dameon:
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">ufw allow <span class="nu0">1723</span></div>
</div>
</li>
<li>Enable ufw:
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">ufw <span class="kw3">enable</span></div>
</div>
</li>
<li>Add an aliased network interface card (eth0:0): (We use the address space of 192.168.88.0/24 since its usually free for most networks for most users. You can feel free to change this address if it is already taken)<br />
Edit /etc/network/interfaces:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>network<span class="sy0">/</span>interfaces</div>
</div>
<p>Enter the following text at the end of the file:</p>
<div class="codesnip-container" >
<div class="dos codesnip" style="font-family:monospace;">auto eth0:0<br />
iface eth0:0 inet static<br />
address 192.168.88.1<br />
netmask 255.255.255.0<br />
gateway <span class="br0">&#40;</span>same value as listed <a href="http://www.ss64.com/nt/for.html"><span class="kw1">for</span></a> eth0<span class="br0">&#41;</span><br />
dns-nameservers <span class="br0">&#40;</span>same value as listed <a href="http://www.ss64.com/nt/for.html"><span class="kw1">for</span></a> eth0<span class="br0">&#41;</span></div>
</div>
<p>Replace the value of &#8220;gateway&#8221; with the same value you will see in this file for &#8220;eth0&#8243;, the real public network interface.<br />
Replace the value of &#8220;dns-nameservers&#8221; with the same value you will see in this file for &#8220;eth0&#8243;</li>
<li>Configure the pptpd daemon:<br />
Edit /etc/ppp/pptpd-options:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ppp<span class="sy0">/</span>pptpd-options</div>
</div>
<p>Comment out (add a &#8220;#&#8221; char at the start of the line) the following lines:<br />
&#8220;refuse-pap&#8221;<br />
&#8220;refuse-chap&#8221;<br />
&#8220;refuse-mschap&#8221;<br />
&#8220;refuse-mschap-v2&#8243;<br />
&#8220;require-mppe-128&#8243;</p>
<p>replace &#8220;#ms-dns 10.0.0.1&#8243; with &#8220;ms-dns 8.8.8.8&#8243;<br />
replace &#8220;#ms-dns 10.0.0.2&#8243; with &#8220;ms-dns 4.4.4.4&#8243;</p>
<p>The last 2 lines above sets the DNS server the devices connecting to your PPTP VPN will use. The addresses above are for the <a href="http://code.google.com/speed/public-dns/">Google Public DNS</a> server, but can be any other DNS server (including the same DNS servers as Rackspace or your hosting provider use)</p>
<p>Edit /etc/pptpd.confÂ :</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>pptpd.conf</div>
</div>
<p>Add at the bottom of the file:</p>
<div class="codesnip-container" >localip 192.168.88.1<br />
remoteip 192.168.88.2-20</div>
<p>The value of &#8220;remoteip&#8221; will be the set of IP addresses the devices connecting to the VPN will get upon successful connection. Currently, we have here 18 addresses, which is enough for 18 concurrent devices. You can make this range bigger if needed.</li>
<li>Configure the username and password that will be used to authenticate client accessing the VPN:<br />
Edit /etc/ppp/chap-secrets:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ppp<span class="sy0">/</span>chap-secrets</div>
</div>
<div class="codesnip-container" ># client        server  secret                  IP addresses<br />
<strong>[UserName]</strong> pptpd   <strong>[Password]</strong> *</div>
<p>Replace [UserName] with the username you wish to use.<br />
Replace [Password] with the password you wish to use (I suggest a long random password. Try <a href="http://www.random.org/passwords/">this</a> generator)</li>
<li>Enable IP forwarding in the kernel:<br />
Edit /etc/sysctl.confÂ :</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>sysctl.conf</div>
</div>
<p>Uncomment the line &#8220;net.ipv4.ip_forward=1&#8243;<br />
For IPv6, uncomment &#8220;net.ipv6.conf.all.forwarding=1&#8243;</li>
<li>Enable IP forwarding in ufw:<br />
Edit /etc/default/ufw:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>default<span class="sy0">/</span>ufw</div>
</div>
<p>Change the value of &#8220;DEFAULT_FORWARD_POLICY&#8221; from &#8220;DROP&#8221; to &#8220;ACCEPT&#8221;</li>
<li>Add IP masquerading rule in ufw, so that NAT will work and devices connecting to the VPN will be seen as if the traffic goes out of the VPN server:<br />
Edit /etc/ufw/before.rules:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ufw<span class="sy0">/</span>before.rules</div>
</div>
<p>Paste the text below after the header and before the &#8220;*filter&#8221; rules:</p>
<div class="codesnip-container" ># nat Table rules<br />
*nat<br />
:POSTROUTING ACCEPT [0:0]</p>
<p># Allow forward traffic from eth0:0 to eth0<br />
-A POSTROUTING -s 192.168.88.0/24 -o eth0 -j MASQUERADE</p>
<p># don&#8217;t delete the &#8216;COMMIT&#8217; line or these nat table rules won&#8217;t be processed<br />
COMMIT</p></div>
</li>
<li>Reboot the machine, cross your fingers and hope for the best :-)</li>
</ol>
<h1>Configuring your iPhone / iPad</h1>
<ol>
<li>In your iPhone / iPad go to &#8220;Settings&#8221; -&gt; &#8220;General&#8221; -&gt; &#8220;Network&#8221; -&gt; &#8220;VPN&#8221;<br />
<img class="alignright" style="border: 2px solid black;" title="PPTP VPN Configuration" src="http://eran.sandler.co.il/wp-content/uploads/2010/08/photo-200x300.png" alt="PPTP VPN Configuration" width="160" height="240" /></li>
<li>Select &#8220;Add VPN Configuration&#8221;</li>
<li>Select &#8220;PPTP&#8221;</li>
<li>In &#8220;Description&#8221; enter the name of the VPN connection</li>
<li>In &#8220;Server&#8221; enter the IP address of the server (or a server name, if you mapped the server&#8217;s IP address to a domain name)</li>
<li>In &#8220;Account&#8221; enter the username you have entered into the &#8220;/etc/ppp/chap-secrets&#8221; file</li>
<li>In &#8220;Password&#8221; enter the password you entered for the above username in &#8220;/etc/ppp/chap-secrets&#8221;</li>
<li>Make sure &#8220;Send All Traffic&#8221; is turned to &#8220;ON&#8221;</li>
<li>Set &#8220;Encryption Level&#8221; to &#8220;None&#8221; (this is how we configured the PPTP server in this post, if you setup an encryption try to keep it in &#8220;Auto&#8221;</li>
<li>Select save</li>
</ol>
<p><a href="http://eran.sandler.co.il/wp-content/uploads/2010/08/photo.png"></a></p>
<div><span style="color: #0000ee; -webkit-text-decorations-in-effect: underline;"><br />
</span></div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F&amp;title=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad&amp;notes=Below%20are%20the%20steps%20necessary%20to%20connect%20your%20iPhone%20%2F%20iPad%20or%20any%20other%20computer%20via%20a%20PPTP%20VPN.%0D%0A%0D%0AWhy%20would%20I%20want%20to%20do%20this%3F%20For%20various%20reasons%20such%20as%20allow%20you%20to%20access%20information%20and%20servers%20that%20are%20behind%20a%20firewall%2C%20or%20maybe%20you%20just%20ne" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F&amp;title=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F&amp;t=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F&amp;t=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad%20-%20http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2010%2F08%2F30%2Fpptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad%2F&amp;title=PPTP%20VPN%20on%20Ubuntu%2010.04%20for%20your%20iPhone%20%2F%20iPad&amp;selection=Below%20are%20the%20steps%20necessary%20to%20connect%20your%20iPhone%20%2F%20iPad%20or%20any%20other%20computer%20via%20a%20PPTP%20VPN.%0D%0A%0D%0AWhy%20would%20I%20want%20to%20do%20this%3F%20For%20various%20reasons%20such%20as%20allow%20you%20to%20access%20information%20and%20servers%20that%20are%20behind%20a%20firewall%2C%20or%20maybe%20you%20just%20ne" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2010/08/30/pptp-vpn-on-ubuntu-10-04-for-your-iphone-ipad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Varnish High, Ever increasing CPU usage workaround</title>
		<link>http://eran.sandler.co.il/2010/05/26/varnish-high-ever-increasing-cpu-usage-workaround/</link>
		<comments>http://eran.sandler.co.il/2010/05/26/varnish-high-ever-increasing-cpu-usage-workaround/#comments</comments>
		<pubDate>Wed, 26 May 2010 08:40:47 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Caching]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[high cpu]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[Varnish]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=241</guid>
		<description><![CDATA[If you are using Varnish version &#62;= 2.1 and experiencing an ever increasing CPU usage up to a point where you need to restart the service to force CPU usage to drop you may want to add the &#8220;-h classic&#8221; argument to the command line. This will revert to use the older hashing method instead [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using <a href="http://varnish-cache.org">Varnish</a> version &gt;= 2.1 and experiencing an ever increasing CPU usage up to a point where you need to restart the service to force CPU usage to drop you may want to add the &#8220;-h classic&#8221; argument to the command line.</p>
<p>This will revert to use the older hashing method instead of the newer &#8220;critbit&#8221; that was first introduced in version 2.1.</p>
<p>You can read a little bit more about it on the <a href="http://devblog.yedda.com/index.php/2010/05/26/varnish-2-1-ever-increasing-high-cpu-over-time-workaround/">Yedda Dev Blog</a>.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F&amp;title=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround&amp;notes=If%20you%20are%20using%20Varnish%20version%20%26gt%3B%3D%202.1%20and%20experiencing%20an%20ever%20increasing%20CPU%20usage%20up%20to%20a%20point%20where%20you%20need%20to%20restart%20the%20service%20to%20force%20CPU%20usage%20to%20drop%20you%20may%20want%20to%20add%20the%20%22-h%20classic%22%20argument%20to%20the%20command%20line.%0D%0A%0D%0AThis%20will%20re" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F&amp;title=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F&amp;t=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F&amp;t=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround%20-%20http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2010%2F05%2F26%2Fvarnish-high-ever-increasing-cpu-usage-workaround%2F&amp;title=Varnish%20High%2C%20Ever%20increasing%20CPU%20usage%20workaround&amp;selection=If%20you%20are%20using%20Varnish%20version%20%26gt%3B%3D%202.1%20and%20experiencing%20an%20ever%20increasing%20CPU%20usage%20up%20to%20a%20point%20where%20you%20need%20to%20restart%20the%20service%20to%20force%20CPU%20usage%20to%20drop%20you%20may%20want%20to%20add%20the%20%22-h%20classic%22%20argument%20to%20the%20command%20line.%0D%0A%0D%0AThis%20will%20re" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2010/05/26/varnish-high-ever-increasing-cpu-usage-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disco Tip &#8211; Crunching web server logs</title>
		<link>http://eran.sandler.co.il/2010/03/21/disco-tip-crunching-web-server-logs/</link>
		<comments>http://eran.sandler.co.il/2010/03/21/disco-tip-crunching-web-server-logs/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 13:22:57 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Disco]]></category>
		<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Erlang]]></category>
		<category><![CDATA[MapReduce]]></category>
		<category><![CDATA[Processing Log Files]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=224</guid>
		<description><![CDATA[At myÂ day job we useÂ Disco, a Python + Erlang based Map-Reduce framework, to crunch our web servers and application logs to generate useful data. Each web server log file per day is a couple of GB of data which can amount to a lot of log data that needs to be processed on a daily. [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>At myÂ <a href="http://yedda.com">day job</a> we useÂ <a href="http://discoproject.org">Disco</a>, a Python + Erlang based Map-Reduce framework, to crunch our web servers and application logs to generate useful data.<img class="alignright" title="discoball" src="http://eran.sandler.co.il/wp-content/uploads/2010/03/discoball.png" alt="" width="90" height="120" /></p>
<p>Each web server log file per day is a couple of GB of data which can amount to a lot of log data that needs to be processed on a daily.</p>
<p>Since the files are big it was easier for us to perform all the necessary filtering of find the rows of interest in the &#8220;map&#8221; function. The problem is, that it requires us to return some generic null value for rows that are not interesting for us. This causes the intermediate files to contains a lot of unnecessary data that has the mapping of our uninteresting rows.</p>
<p>To significantly reduce this number, we have started to use the &#8220;combiner&#8221; function so that our intermediate results contains an already summed up result of the file the node is currently processing that is composed only from the rows we found interesting using the filtering in the &#8220;map&#8221; phase.</p>
<p>For example, if we have 1,000 rows and only 200 answer a certain filtering criteria for aÂ particularÂ report, instead of getting 1,000 rows in the intermediate file out of which 800 have the same null value, we now get only 200 rows.</p>
<p>In some cases we saw an increase of up to 50% in run time (the increase in speed is the result of reducing less rows from the intermediate files), not to mention a reduction in disk space use during execution due to the smaller intermediate files.</p>
<p>That way, we can keep the filtering logic in the &#8220;map&#8221; function while making sure we don&#8217;t end up reducing unnecessary data.</p>
</div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F&amp;title=Disco%20Tip%20-%20Crunching%20web%20server%20logs&amp;notes=%0D%0A%0D%0AAt%20my%C2%A0day%20job%20we%20use%C2%A0Disco%2C%20a%20Python%20%2B%20Erlang%20based%20Map-Reduce%20framework%2C%20to%20crunch%20our%20web%20servers%20and%20application%20logs%20to%20generate%20useful%20data.%0D%0A%0D%0AEach%20web%20server%20log%20file%20per%20day%20is%20a%20couple%20of%20GB%20of%20data%20which%20can%20amount%20to%20a%20lot%20of%20log%20dat" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F&amp;title=Disco%20Tip%20-%20Crunching%20web%20server%20logs" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F&amp;t=Disco%20Tip%20-%20Crunching%20web%20server%20logs" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Disco%20Tip%20-%20Crunching%20web%20server%20logs&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F&amp;t=Disco%20Tip%20-%20Crunching%20web%20server%20logs" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Disco%20Tip%20-%20Crunching%20web%20server%20logs%20-%20http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2010%2F03%2F21%2Fdisco-tip-crunching-web-server-logs%2F&amp;title=Disco%20Tip%20-%20Crunching%20web%20server%20logs&amp;selection=%0D%0A%0D%0AAt%20my%C2%A0day%20job%20we%20use%C2%A0Disco%2C%20a%20Python%20%2B%20Erlang%20based%20Map-Reduce%20framework%2C%20to%20crunch%20our%20web%20servers%20and%20application%20logs%20to%20generate%20useful%20data.%0D%0A%0D%0AEach%20web%20server%20log%20file%20per%20day%20is%20a%20couple%20of%20GB%20of%20data%20which%20can%20amount%20to%20a%20lot%20of%20log%20dat" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2010/03/21/disco-tip-crunching-web-server-logs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic Koala and ies4linux &#8211; Installation</title>
		<link>http://eran.sandler.co.il/2009/12/30/ubuntu-9-10-karmic-koala-and-ies4linux-installation/</link>
		<comments>http://eran.sandler.co.il/2009/12/30/ubuntu-9-10-karmic-koala-and-ies4linux-installation/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 09:01:44 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[IE 4 Linux]]></category>
		<category><![CDATA[IE for Linux]]></category>
		<category><![CDATA[ie4linux]]></category>
		<category><![CDATA[ies4linux]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=219</guid>
		<description><![CDATA[Installing ies4linux on Ubuntu 9.10 Karmic Koala by just running &#8220;./ies4linux&#8221; might show some warnings such as: IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. Itâ€™s recommended that you update your wine to the latest version (Go to: winehq.com). In my case [...]]]></description>
			<content:encoded><![CDATA[<p>Installing <a href="http://www.tatanka.com.br/ies4linux/page/Main_Page">ies4linux</a> on Ubuntu 9.10 Karmic Koala by just running &#8220;./ies4linux&#8221; might show some warnings such as:</p>
<blockquote><p>IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. Itâ€™s recommended that you update your wine to the latest version (Go to: winehq.com).</p></blockquote>
<p>In my case it showed the above text, which seems to be a warning, and run the UI but then got stuck and didn&#8217;t complete anything.</p>
<p>To overcome this issue simply run the installation without the GTK based UI in a terminal window:</p>
<blockquote><p>./ies4linux &#8211;no-gui</p></blockquote>
<p>That&#8217;s it. Works like a charm.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F&amp;title=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation&amp;notes=Installing%20ies4linux%20on%20Ubuntu%209.10%20Karmic%20Koala%20by%20just%20running%20%22.%2Fies4linux%22%20might%20show%20some%20warnings%20such%20as%3A%0D%0AIEs4Linux%202%20is%20developed%20to%20be%20used%20with%20recent%20Wine%20versions%20%280.9.x%29.%20It%20seems%20that%20you%20are%20using%20an%20old%20version.%20It%E2%80%99s%20recommended%20th" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F&amp;title=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F&amp;t=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F&amp;t=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation%20-%20http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2009%2F12%2F30%2Fubuntu-9-10-karmic-koala-and-ies4linux-installation%2F&amp;title=Ubuntu%209.10%20Karmic%20Koala%20and%20ies4linux%20-%20Installation&amp;selection=Installing%20ies4linux%20on%20Ubuntu%209.10%20Karmic%20Koala%20by%20just%20running%20%22.%2Fies4linux%22%20might%20show%20some%20warnings%20such%20as%3A%0D%0AIEs4Linux%202%20is%20developed%20to%20be%20used%20with%20recent%20Wine%20versions%20%280.9.x%29.%20It%20seems%20that%20you%20are%20using%20an%20old%20version.%20It%E2%80%99s%20recommended%20th" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2009/12/30/ubuntu-9-10-karmic-koala-and-ies4linux-installation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Google AppEngine &#8211; Python &#8211; issubclass() arg 1 must be a class</title>
		<link>http://eran.sandler.co.il/2009/09/14/google-appengine-python-issubclass-arg-1-must-be-a-class/</link>
		<comments>http://eran.sandler.co.il/2009/09/14/google-appengine-python-issubclass-arg-1-must-be-a-class/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 11:56:22 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google AppEngine]]></category>
		<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python 2.6]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/2009/09/14/google-appengine-python-issubclass-arg-1-must-be-a-class/</guid>
		<description><![CDATA[If you are getting the error &#8220;&#8221;issubclass() arg 1 must be a class&#8221;" with Google App Engine SDK for Python on Linux its probably because you are running Python 2.6 (and will probably happen to you when you run Ubuntu 9.04 &#8211; 2.6 is the default there). Just run the dev server under python 2.5 [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting the error &#8220;&#8221;issubclass() arg 1 must be a class&#8221;" with Google App Engine SDK for Python on Linux its probably because you are running Python 2.6 (and will probably happen to you when you run Ubuntu 9.04 &#8211; 2.6 is the default there).</p>
<p>Just run the dev server under python 2.5 (i.e. python2.5 dev_appserver.py)</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F&amp;title=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class&amp;notes=If%20you%20are%20getting%20the%20error%20%22%22issubclass%28%29%20arg%201%20must%20be%20a%20class%22%22%20with%20Google%20App%20Engine%20SDK%20for%20Python%20on%20Linux%20its%20probably%20because%20you%20are%20running%20Python%202.6%20%28and%20will%20probably%20happen%20to%20you%20when%20you%20run%20Ubuntu%209.04%20-%202.6%20is%20the%20default%20there%29.%0D" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F&amp;title=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F&amp;t=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F&amp;t=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class%20-%20http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2009%2F09%2F14%2Fgoogle-appengine-python-issubclass-arg-1-must-be-a-class%2F&amp;title=Google%20AppEngine%20-%20Python%20-%20issubclass%28%29%20arg%201%20must%20be%20a%20class&amp;selection=If%20you%20are%20getting%20the%20error%20%22%22issubclass%28%29%20arg%201%20must%20be%20a%20class%22%22%20with%20Google%20App%20Engine%20SDK%20for%20Python%20on%20Linux%20its%20probably%20because%20you%20are%20running%20Python%202.6%20%28and%20will%20probably%20happen%20to%20you%20when%20you%20run%20Ubuntu%209.04%20-%202.6%20is%20the%20default%20there%29.%0D" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2009/09/14/google-appengine-python-issubclass-arg-1-must-be-a-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error: &#8220;Operation could not be completed (error 0x000006d1)&#8221; when adding a Samba based network printer to Vista</title>
		<link>http://eran.sandler.co.il/2009/01/20/error-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista/</link>
		<comments>http://eran.sandler.co.il/2009/01/20/error-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 19:19:37 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[0x000006d1]]></category>
		<category><![CDATA[network printer]]></category>
		<category><![CDATA[operation could not be completed]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[samba printer]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=172</guid>
		<description><![CDATA[If you are getting the following error while adding a Samba based network printer to Vista: Windows cannot connect to the printer. Operation could not be completed (error 0x000006d1). And you have a Samba server (version 3.0 and above) consider using the following technique to add the printer: Add a local printer (not a network [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting the following error while adding a Samba based network printer to Vista:</p>
<blockquote><p>Windows cannot connect to the printer. Operation could not be completed (error 0x000006d1).</p></blockquote>
<p>And you have a Samba server (version 3.0 and above) consider using the following technique to add the printer:</p>
<ul>
<li>Add a local printer (not a network one!)</li>
<li>Select &#8220;create a new port&#8221;</li>
<li>Select &#8220;Local port&#8221; as type of port</li>
<li>In the port name enter the printer&#8217;s SMB path, i.e. \\sambaserver\printer_name</li>
<li>Select the right driver</li>
</ul>
<p>That&#8217;s all. Works like a charm!</p>
<p>If you have an older version of Samba (&lt; 3.0) know that Vista uses NTLMv2 by default. Follow <a href="http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746">these instructions</a> to revert back to NTLMv1 by default (also true for regular shares).</p>
<p>Also note that since this is a local printer that prints to a print queue on the Samba server, you might not be able to delete print jobs that were completely sent to the Samba server print queue, since we essentially created a local queue.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F&amp;title=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista&amp;notes=If%20you%20are%20getting%20the%20following%20error%20while%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista%3A%0D%0AWindows%20cannot%20connect%20to%20the%20printer.%20Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29.%0D%0AAnd%20you%20have%20a%20Samba%20server%20%28version%203.0%20and%20above%29%20consider%20usi" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F&amp;title=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F&amp;t=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F&amp;t=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista%20-%20http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F20%2Ferror-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista%2F&amp;title=Error%3A%20%22Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29%22%20when%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista&amp;selection=If%20you%20are%20getting%20the%20following%20error%20while%20adding%20a%20Samba%20based%20network%20printer%20to%20Vista%3A%0D%0AWindows%20cannot%20connect%20to%20the%20printer.%20Operation%20could%20not%20be%20completed%20%28error%200x000006d1%29.%0D%0AAnd%20you%20have%20a%20Samba%20server%20%28version%203.0%20and%20above%29%20consider%20usi" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2009/01/20/error-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Unable to retrieve MSN Address Book&#8221; on Pidgin on Ubuntu / Debian?</title>
		<link>http://eran.sandler.co.il/2009/01/12/unable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian/</link>
		<comments>http://eran.sandler.co.il/2009/01/12/unable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 16:42:28 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Adium]]></category>
		<category><![CDATA[libpurple]]></category>
		<category><![CDATA[MSN]]></category>
		<category><![CDATA[msn-pecan]]></category>
		<category><![CDATA[Unable to retrieve MSN Address Book]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=166</guid>
		<description><![CDATA[Today I got the following error on Pidgin (I&#8217;m running version 2.5.2 on Ubuntu 8.10 Intrepid Ibex) while it tried to connect to MSN: &#8220;Unable to retrieve MSN Address Book&#8221; After searching a bit I found this post by Gijs Nelissen which said to use a different MSN plugin for Pidgin called msn-pecan. I&#8217;ll reiterate [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got the following error on Pidgin (I&#8217;m running version 2.5.2 on Ubuntu 8.10 Intrepid Ibex) while it tried to connect to MSN:</p>
<blockquote><p>&#8220;Unable to retrieve MSN Address Book&#8221;</p></blockquote>
<p>After searching a bit I found <a href="http://www.lifelog.be/2009/01/12/pidgin-unable-to-retrieve-msn-address-list/">this post</a> by Gijs Nelissen which said to use a different MSN plugin for Pidgin called <a href="http://code.google.com/p/msn-pecan/downloads/list">msn-pecan</a>.</p>
<p>I&#8217;ll reiterate the instructions for those with Ubuntu / Debian:</p>
<ol>
<li>Close Pidgin (make sure the process is really down)</li>
<li>Run &#8220;apt-get install msn-pecan&#8221;</li>
<li>Start pidgin</li>
<li>Change your MSN account type from MSN to WLM</li>
<li>Reconnect</li>
</ol>
<p><span style="text-decoration: line-through;">I don&#8217;t know if this error affects other libpurple based multi-headed IMs (such as <a href="http://www.adiumx.com">Adium</a>)</span> (<strong>UPDATE:</strong> It appears this IS a libpurple issue &#8211; so Adium IS affected), however, the msn-pecan project has a Windows binary release as well as source release (if you care/need/want to compile it for Mac OS X or other Linux distributions).</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F&amp;title=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F&amp;notes=Today%20I%20got%20the%20following%20error%20on%20Pidgin%20%28I%27m%20running%20version%202.5.2%20on%20Ubuntu%208.10%20Intrepid%20Ibex%29%20while%20it%20tried%20to%20connect%20to%20MSN%3A%0D%0A%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%0D%0AAfter%20searching%20a%20bit%20I%20found%20this%20post%20by%20Gijs%20Nelissen%20which%20said%20to%20use%20a%20" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F&amp;title=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F&amp;t=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F&amp;t=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F%20-%20http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2009%2F01%2F12%2Funable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian%2F&amp;title=%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%20on%20Pidgin%20on%20Ubuntu%20%2F%20Debian%3F&amp;selection=Today%20I%20got%20the%20following%20error%20on%20Pidgin%20%28I%27m%20running%20version%202.5.2%20on%20Ubuntu%208.10%20Intrepid%20Ibex%29%20while%20it%20tried%20to%20connect%20to%20MSN%3A%0D%0A%22Unable%20to%20retrieve%20MSN%20Address%20Book%22%0D%0AAfter%20searching%20a%20bit%20I%20found%20this%20post%20by%20Gijs%20Nelissen%20which%20said%20to%20use%20a%20" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2009/01/12/unable-to-retrieve-msn-address-book-on-pidgin-on-ubuntu-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed to run /usr/sbin/synaptic Unable to copy the user&#8217;s Xauthorisation file</title>
		<link>http://eran.sandler.co.il/2008/04/27/failed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file/</link>
		<comments>http://eran.sandler.co.il/2008/04/27/failed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 08:46:14 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[synaptic]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/?p=152</guid>
		<description><![CDATA[If you get the following error while running Synaptic: Failed to run /usr/sbin/synaptic Unable to copy the user&#8217;s Xauthorisation file. Make sure to that you have enough space in your /tmp directory. To check if that is indeed the problem run the following command in your terminal: df -h This command will show you each [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the following error while running Synaptic:</p>
<blockquote><p><strong>Failed to run /usr/sbin/synaptic<br />
Unable to copy the user&#8217;s Xauthorisation file.</strong></p></blockquote>
<p>Make sure to that you have enough space in your /tmp directory.</p>
<p>To check if that is indeed the problem run the following command in your terminal:</p>
<blockquote><p>df -h</p></blockquote>
<p>This command will show you each mounted volumes you may have including the one mounted to /tmp.</p>
<p>/tmp usually contains temporary data for applications while they run. It sometimes may reach a point where it 100% full (might have happened to me while I upgraded to Hardy Heron 8.04).</p>
<p>To clear /tmp run the following commands (<span style="text-decoration: underline;"><strong>BE CAREFUL NOT TO RUN rm -rf ON ANYWHERE OTHER THAN /tmp</strong></span>):</p>
<blockquote><p>cd /tmp</p>
<p>pwd   # just to make sure you are really in /tmp</p>
<p>rm -rf *</p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F&amp;title=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file&amp;notes=If%20you%20get%20the%20following%20error%20while%20running%20Synaptic%3A%0D%0AFailed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%0D%0AUnable%20to%20copy%20the%20user%27s%20Xauthorisation%20file.%0D%0AMake%20sure%20to%20that%20you%20have%20enough%20space%20in%20your%20%2Ftmp%20directory.%0D%0A%0D%0ATo%20check%20if%20that%20is%20indeed%20the%20problem%20run%20th" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F&amp;title=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F&amp;t=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F&amp;t=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file%20-%20http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2008%2F04%2F27%2Ffailed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file%2F&amp;title=Failed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%20Unable%20to%20copy%20the%20user%27s%20Xauthorisation%20file&amp;selection=If%20you%20get%20the%20following%20error%20while%20running%20Synaptic%3A%0D%0AFailed%20to%20run%20%2Fusr%2Fsbin%2Fsynaptic%0D%0AUnable%20to%20copy%20the%20user%27s%20Xauthorisation%20file.%0D%0AMake%20sure%20to%20that%20you%20have%20enough%20space%20in%20your%20%2Ftmp%20directory.%0D%0A%0D%0ATo%20check%20if%20that%20is%20indeed%20the%20problem%20run%20th" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2008/04/27/failed-to-run-usrsbinsynaptic-unable-to-copy-the-users-xauthorisation-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VmWare Server 1.0.4 on Ubuntu Server 7.04 (a.k.a Feisty Fawn)</title>
		<link>http://eran.sandler.co.il/2007/09/20/vmware-server-104-on-ubuntu-server-704-aka-feisty-fawn/</link>
		<comments>http://eran.sandler.co.il/2007/09/20/vmware-server-104-on-ubuntu-server-704-aka-feisty-fawn/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 16:57:52 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[Feisty-Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ubuntu-7.04]]></category>
		<category><![CDATA[ubuntu-linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VmWare]]></category>
		<category><![CDATA[VmWare-Server]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/2007/09/20/vmware-server-104-on-ubuntu-server-704-aka-feisty-fawn/</guid>
		<description><![CDATA[2 days after my previous post about installing VmWare Server 1.0.3 from Canonical&#8217;s repository, VmWare released version 1.0.4. I tried using its built-in install script on a vanilla Ubuntu Server 7.04 (a.k.a Feisty Fawn) and it worked flawlessly. Aside from certain libraries which it needs to compile the vmmon and vmnet kernel modules (the installation [...]]]></description>
			<content:encoded><![CDATA[<p>2 days after my <a href="http://eran.sandler.co.il/2007/09/16/ubuntu-feisty-fawn-704-vmware-server-and-authentication-problems/">previous post</a> about installing <a href="http://vmware.com/server/">VmWare Server</a> 1.0.3 from Canonical&#8217;s repository, <a href="http://vmware.com">VmWare</a> released version 1.0.4.</p>
<p>I tried using its built-in install script on a vanilla Ubuntu Server 7.04 (a.k.a Feisty Fawn) and it worked flawlessly.</p>
<p>Aside from certain libraries which it needs to compile the vmmon and vmnet kernel modules (the installation script will tell you which ones are missing and you can get them from the repositories using <em>apt-get</em>), you&#8217;ll also need to install <em>xinetd</em>.</p>
<p>All in all, the installation script did all the job and it works fine without patching the vmmon code.</p>
<p>Keep up the good work VmWare Team!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F&amp;title=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29&amp;notes=2%20days%20after%20my%20previous%20post%20about%20installing%20VmWare%20Server%201.0.3%20from%20Canonical%27s%20repository%2C%20VmWare%20released%20version%201.0.4.%0D%0A%0D%0AI%20tried%20using%20its%20built-in%20install%20script%20on%20a%20vanilla%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29%20and%20it%20worked%20flawlessly.%0D" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F&amp;title=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F&amp;t=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F&amp;t=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29%20-%20http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F20%2Fvmware-server-104-on-ubuntu-server-704-aka-feisty-fawn%2F&amp;title=VmWare%20Server%201.0.4%20on%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29&amp;selection=2%20days%20after%20my%20previous%20post%20about%20installing%20VmWare%20Server%201.0.3%20from%20Canonical%27s%20repository%2C%20VmWare%20released%20version%201.0.4.%0D%0A%0D%0AI%20tried%20using%20its%20built-in%20install%20script%20on%20a%20vanilla%20Ubuntu%20Server%207.04%20%28a.k.a%20Feisty%20Fawn%29%20and%20it%20worked%20flawlessly.%0D" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2007/09/20/vmware-server-104-on-ubuntu-server-704-aka-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Feisty Fawn (7.04), VmWare Server and Authentication problems</title>
		<link>http://eran.sandler.co.il/2007/09/16/ubuntu-feisty-fawn-704-vmware-server-and-authentication-problems/</link>
		<comments>http://eran.sandler.co.il/2007/09/16/ubuntu-feisty-fawn-704-vmware-server-and-authentication-problems/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 08:58:23 +0000</pubDate>
		<dc:creator>Eran Sandler</dc:creator>
				<category><![CDATA[Tips n' Tricks]]></category>
		<category><![CDATA[7.04]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Feisty-Fawn]]></category>
		<category><![CDATA[PAM]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tips-and-tricks]]></category>
		<category><![CDATA[ubuntu-feisty-fawn]]></category>
		<category><![CDATA[VmWare]]></category>
		<category><![CDATA[VmWare-Server]]></category>

		<guid isPermaLink="false">http://eran.sandler.co.il/2007/09/16/ubuntu-feisty-fawn-704-vmware-server-and-authentication-problems/</guid>
		<description><![CDATA[If you are going to install VmWare server (a great and free server virtualization product from VmWare) on Ubuntu Feisty Fawn (7.04) and you&#8217;ve followed this post showing how to do it using Canonical&#8217;s commercial repository, make sure to read this post at the Ubuntu Community Docs. Basically, if you encounter authentication problems at the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are going to install <a href="http://vmware.com/products/server/">VmWare server</a> (a great and free server virtualization product from <a href="http://www.vmware.com">VmWare</a>) on Ubuntu Feisty Fawn (7.04) and you&#8217;ve followed <a href="http://www.ubuntugeek.com/how-to-install-vmware-server-from-canonical-commercial-repository-in-ubuntu-feisty.html">this post</a> showing how to do it using Canonical&#8217;s commercial repository, make sure to read <a href="https://help.ubuntu.com/community/VMware/Server">this post</a> at the Ubuntu Community Docs.</p>
<p>Basically, if you encounter authentication problems at the Server&#8217;s Console after installing the VmWare server and until <a href="https://bugs.launchpad.net/ubuntu/+source/app-install-data-commercial/+bug/115295">this bug</a> is fixed, you need to edit /etc/pam.d/vmware-authd to contain:</p>
<blockquote>
<pre>
#%PAM-1.0
auth required pam_unix_auth.so shadow nullok
account required pam_unix_acct.so</pre>
</blockquote>
<p>Afterwards, restart the VmWare service and try to authenticate using the server&#8217;s console again.</p>
<p>I&#8217;m just being the Good SEO Samaritan and bumping this article&#8217;s SEO so everyone will see it first (instead of it being buried down somewhere and the search results) :-) .</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F&amp;title=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems&amp;notes=If%20you%20are%20going%20to%20install%20VmWare%20server%20%28a%20great%20and%20free%20server%20virtualization%20product%20from%20VmWare%29%20on%20Ubuntu%20Feisty%20Fawn%20%287.04%29%20and%20you%27ve%20followed%20this%20post%20showing%20how%20to%20do%20it%20using%20Canonical%27s%20commercial%20repository%2C%20make%20sure%20to%20read%20this%20pos" title="del.icio.us"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F&amp;title=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems" title="Reddit"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F&amp;t=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems" title="Facebook"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems&amp;link=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F" title="FriendFeed"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F&amp;t=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems" title="HackerNews"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems%20-%20http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F" title="Twitter"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://posterous.com/share?linkto=http%3A%2F%2Feran.sandler.co.il%2F2007%2F09%2F16%2Fubuntu-feisty-fawn-704-vmware-server-and-authentication-problems%2F&amp;title=Ubuntu%20Feisty%20Fawn%20%287.04%29%2C%20VmWare%20Server%20and%20Authentication%20problems&amp;selection=If%20you%20are%20going%20to%20install%20VmWare%20server%20%28a%20great%20and%20free%20server%20virtualization%20product%20from%20VmWare%29%20on%20Ubuntu%20Feisty%20Fawn%20%287.04%29%20and%20you%27ve%20followed%20this%20post%20showing%20how%20to%20do%20it%20using%20Canonical%27s%20commercial%20repository%2C%20make%20sure%20to%20read%20this%20pos" title="Posterous"><img src="http://eran.sandler.co.il/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eran.sandler.co.il/2007/09/16/ubuntu-feisty-fawn-704-vmware-server-and-authentication-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: eran.sandler.co.il @ 2010-09-10 05:55:50 -->