<?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>NULL.in &#187; Ubuntu</title>
	<atom:link href="http://www.nullin.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nullin.com</link>
	<description>Nalin's Labyrinth</description>
	<lastBuildDate>Mon, 04 Jul 2011 16:45:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Running 32bit applications on 64bit Ubuntu</title>
		<link>http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/</link>
		<comments>http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/#comments</comments>
		<pubDate>Tue, 17 May 2011 04:10:09 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=785</guid>
		<description><![CDATA[After upgrading to 64bit Ubuntu 11.04, I wasn&#8217;t able to get some applications to work and was getting a very cryptic error nullin@null-in:/work$ p4 bash: /build/bin/p4: No such file or directory Even though /build/bin/p4 exists, on running the command, the system was complaining that the file doesn&#8217;t exist. I soon realized these were 32 bit [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to 64bit Ubuntu 11.04, I wasn&#8217;t able to get some applications to work and was getting a very cryptic error</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">nullin@null-in:/work$ p4
bash: /build/bin/p4: No such file or directory</pre></div></div>

<p>Even though /build/bin/p4 exists, on running the command, the system was complaining that the file doesn&#8217;t exist. I soon realized these were 32 bit applications and to fix this, one just needs to install ia32-libs:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">sudo apt-get install ia32-libs</pre></div></div>

<p>After doing this, things starting working properly again:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">nullin@null-in:/work$ p4
Perforce -- the Fast Software Configuration Management System.
p4 is Perforce's client tool for the command line.  Try:
...
...</pre></div></div>

<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/" title="VMware Workstation 7.1.4, Ubuntu 11.04 and Unity">VMware Workstation 7.1.4, Ubuntu 11.04 and Unity</a></li><li><a href="http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/" title="VMware Player and Ubuntu 8.10 keyboard mapping issues">VMware Player and Ubuntu 8.10 keyboard mapping issues</a></li><li><a href="http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/" title="Static IP address on Ubuntu 8.10">Static IP address on Ubuntu 8.10</a></li><li><a href="http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/" title="VMware player on Ubuntu 8.04 (Hardy Heron)">VMware player on Ubuntu 8.04 (Hardy Heron)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Workstation 7.1.4, Ubuntu 11.04 and Unity</title>
		<link>http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/</link>
		<comments>http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 14:42:12 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[workstation]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=780</guid>
		<description><![CDATA[Three days back I installed Ubuntu 11.04 Beta onto my work machine. I tried getting Workstation to work but it kept crashing. In Unity session, it would start up and even start the VMs but would keep crashing on trying to switch to the VM console. In gnome session workstation would startup, switch to console [...]]]></description>
			<content:encoded><![CDATA[<p>Three days back I installed Ubuntu 11.04 Beta onto my work machine. I tried getting Workstation to work but it kept crashing. In Unity session, it would start up and even start the VMs but would keep crashing on trying to switch to the VM console. In gnome session workstation would startup, switch to console session but crash while trying to move files in and out of the VM.</p>
<p>Version 7.1.3 has known issue with running in the new Unity session and v7.1.4 was supposed to fix this. Going by some comments online, it has seemed to fix it in many cases to. For me it just wasnt working. After looking around for a while I found a workaround on VMware community forums. For making VMware Workstation 7.1.4 with work with Ubuntu 11.04 in Unity Session, just start it from cli as follows:</p>
<blockquote><p>$ export LD_PRELOAD=/usr/lib/vmware/lib/libglib-2.0.so.0/libglib-2.0.so.0<br />
$ vmware</p></blockquote>
<p>This fixes the glib related errors that were crashing the software and you can start using your VMs. See <a href="http://communities.vmware.com/message/1725395#1725395">this forum thread</a> for more information.</p>
<p>&nbsp;</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/" title="VMware Player and Ubuntu 8.10 keyboard mapping issues">VMware Player and Ubuntu 8.10 keyboard mapping issues</a></li><li><a href="http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/" title="VMware player on Ubuntu 8.04 (Hardy Heron)">VMware player on Ubuntu 8.04 (Hardy Heron)</a></li><li><a href="http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/" title="Running 32bit applications on 64bit Ubuntu">Running 32bit applications on 64bit Ubuntu</a></li><li><a href="http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/" title="Static IP address on Ubuntu 8.10">Static IP address on Ubuntu 8.10</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VMware Player and Ubuntu 8.10 keyboard mapping issues</title>
		<link>http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/</link>
		<comments>http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 06:58:15 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=526</guid>
		<description><![CDATA[Yesterday I installed VMware Workstation 6.5 on my fresh install of Ubuntu 8.10. After powering on a Windows XP vm, I realized that I could not use the arrow keys properly. On hitting the left arrow key, start menu was being displayed and other arrow keys had similar issues. Also, using VMware player was completely [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I installed VMware Workstation 6.5 on my fresh install of Ubuntu 8.10. After powering on a Windows XP vm, I realized that I could not use the arrow keys properly. On hitting the left arrow key, start menu was being displayed and other arrow keys had similar issues. Also, using VMware player was completely impossible as ctrl-alt-del wasn&#8217;t working.</p>
<p>After searching around a bit I found that many others had faced similar issue. Apparently it is not a bug with VMware Workstation. Due to some updates to Ubuntu 8.10, the keyboard mappings were screwed up. I found good amount of information in the <a href="http://communities.vmware.com/message/1091425">VMware communities forum</a>.</p>
<p>To fix this issue, you simply need to run the following command,</p>
<p><code>echo 'xkeymap.nokeycodeMap = true' &gt; ~/.vmware/config</code></p>
<p>and if VMware Player/Server/Workstation was running, just restart it.</p>
<p>You should then be good to go&#8230;</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/" title="VMware player on Ubuntu 8.04 (Hardy Heron)">VMware player on Ubuntu 8.04 (Hardy Heron)</a></li><li><a href="http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/" title="VMware Workstation 7.1.4, Ubuntu 11.04 and Unity">VMware Workstation 7.1.4, Ubuntu 11.04 and Unity</a></li><li><a href="http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/" title="Running 32bit applications on 64bit Ubuntu">Running 32bit applications on 64bit Ubuntu</a></li><li><a href="http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/" title="Static IP address on Ubuntu 8.10">Static IP address on Ubuntu 8.10</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>Static IP address on Ubuntu 8.10</title>
		<link>http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/</link>
		<comments>http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 22:11:36 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[static]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=519</guid>
		<description><![CDATA[Last Friday I upgraded my install from Ubuntu 7.04 to 8.10 Intrepid Ibex on my office workstation and I noticed that I was unable to assign static IP to the machine. After reboot the netmask was getting messed up and reset to 22. Look at this bug for more info. So, I ditched the native [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday I upgraded my install from Ubuntu 7.04 to 8.10 Intrepid Ibex on my office workstation and I noticed that I was unable to assign static IP to the machine. After reboot the netmask was getting messed up and reset to 22. Look at <a href="https://bugs.launchpad.net/ubuntu/+source/knetworkmanager/+bug/280762">this bug</a> for more info.</p>
<p>So, I ditched the native ubuntu Network Manager and installed <a href="http://wicd.sourceforge.net/">wicd</a> which is another open source network manager that works with  Ubuntu. But after configuring wicd with the static IP, I had another problem. Everytime I restarted the machine, I had to manually start the wicd network manager. Instead of trying anything more with wicd, I decided to ditch a network manager altogether and just configure the files myself.</p>
<p>So, to get the network working with static IP, first remove the network manager (Many people have said that it is not necessary, but I <em>prefer</em> to remove it as I wont be using it anyway):</p>
<p><code>sudo apt-get remove --purge network-manager</code></p>
<p>Then modify the <code>/etc/resolv.conf</code> with the dns servers and domain names:</p>
<p><code>search foo.bar.com bar.com<br />
nameserver 192.168.0.1<br />
nameserver 192.168.0.2</code></p>
<p>Now, modify <code>/etc/network/interfaces</code> and add</p>
<p><code>auto eth0<br />
iface eth0 inet static<br />
address 192.168.0.10<br />
netmask 255.255.252.0<br />
gateway 192.168.0.253</code></p>
<p>Now, just restart the networking:</p>
<p><code>sudo /etc/init.d/networking restart</code></p>
<p>Obviously, you should figure out the netmask, gateway and name servers before you start these steps.</p>
<p>This is all that you need to do to configure the machine with a static IP.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/" title="Running 32bit applications on 64bit Ubuntu">Running 32bit applications on 64bit Ubuntu</a></li><li><a href="http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/" title="VMware Workstation 7.1.4, Ubuntu 11.04 and Unity">VMware Workstation 7.1.4, Ubuntu 11.04 and Unity</a></li><li><a href="http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/" title="VMware Player and Ubuntu 8.10 keyboard mapping issues">VMware Player and Ubuntu 8.10 keyboard mapping issues</a></li><li><a href="http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/" title="VMware player on Ubuntu 8.04 (Hardy Heron)">VMware player on Ubuntu 8.04 (Hardy Heron)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>VMware player on Ubuntu 8.04 (Hardy Heron)</title>
		<link>http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/</link>
		<comments>http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Tue, 06 May 2008 03:13:44 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=504</guid>
		<description><![CDATA[I recently upgraded my office computer from Gusty to Hardy and VMware player stopped working for me. I looked around a bit and found a nice step-by-step guide to get it up and running. Here are the steps: cd /usr/lib/vmware/modules/source cp vmmon.tar vmmon.tar.orig sudo tar xvf vmmon.tar cd vmmon-only/include/ sudo vi vcpuset.h change line 74 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my office computer from Gusty to Hardy and <a href="http://www.vmware.com/products/player/">VMware player</a> stopped working for me. I looked around a bit and found a <a href="http://communities.vmware.com/message/897137#897137">nice step-by-step guide</a> to get it up and running. Here are the steps:</p>
<ol>
<li>cd /usr/lib/vmware/modules/source</li>
<li>cp vmmon.tar vmmon.tar.orig</li>
<li>sudo tar xvf vmmon.tar</li>
<li>cd vmmon-only/include/</li>
<li>sudo vi vcpuset.h</li>
<li>change line 74 from: #include ‚Äúasm/bitops.h‚Äù to: #include ‚Äúlinux/bitops.h‚Äù</li>
<li>rm vmmon.tar (return to the folder where you decompressed the tar file)</li>
<li>sudo tar cvf vmmon.tar vmmon-only/</li>
<li>sudo rm -rf vmmon-only/</li>
<li>sudo vmware-config.pl</li>
</ol>
<p>To save you some time, I have uploaded the fixed <a href="http://www.nullin.com/blog/download-manager.php?id=6">vmmon.tar</a>, that you can use to replace the original with. Just untar the vmplayer package, download <a href="http://www.nullin.com/blog/download-manager.php?id=6">vmmon.tar</a> and cp it to <code>&lt;vmplayer_installer_dir&gt;/lib/modules/source/</code> and then start the installation process.</p>
<p>This same process should work for VMware Server and Workstation as well.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/" title="VMware Player and Ubuntu 8.10 keyboard mapping issues">VMware Player and Ubuntu 8.10 keyboard mapping issues</a></li><li><a href="http://www.nullin.com/2011/04/27/vmware-workstation-7-1-4-ubuntu-11-04-and-unity/" title="VMware Workstation 7.1.4, Ubuntu 11.04 and Unity">VMware Workstation 7.1.4, Ubuntu 11.04 and Unity</a></li><li><a href="http://www.nullin.com/2011/05/16/running-32bit-applications-on-64bit-ubuntu/" title="Running 32bit applications on 64bit Ubuntu">Running 32bit applications on 64bit Ubuntu</a></li><li><a href="http://www.nullin.com/2008/11/08/static-ip-address-on-ubuntu-810/" title="Static IP address on Ubuntu 8.10">Static IP address on Ubuntu 8.10</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2008/05/05/vmware-player-on-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

