<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on technocracy</title><link>https://www.ericsimmerman.com/tags/ubuntu/</link><description>Recent content in Ubuntu on technocracy</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 14 Aug 2009 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ericsimmerman.com/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Improving VirtualBox performance</title><link>https://www.ericsimmerman.com/blog/2009/08/14/improving-virtualbox-performance/</link><pubDate>Fri, 14 Aug 2009 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2009/08/14/improving-virtualbox-performance/</guid><description>&lt;div class='post'&gt;
I run VirtualBox on an Ubuntu 64-bit Host with a 32-bit Windows XP guest. I was searching for a way to boost performance and came across &lt;a href="http://matt.bottrell.com.au/archives/265-Improving-VirtualBox-performance.html"&gt;this post related to configuring a SATA controller&lt;/a&gt; for drive access. Matt includes some great info there, but the step-by-step left something to be desired IMHO. Here are my revised instructions for configuring SATA support on your Win XP guest:&lt;ol&gt;&lt;li&gt;Start VirtualBox, but do not boot your guest.&lt;/li&gt;&lt;li&gt;Open Settings for your Win XP guest and select "Hard Disks"&lt;/li&gt;&lt;li&gt;Check "Enable Additional Controller" and choose "SATA (AHCI)"&lt;/li&gt;&lt;li&gt;Save your Settings changes and boot your guest&lt;/li&gt;&lt;li&gt;Inside your guest, download the &lt;a href="http://downloadcenter.intel.com/Product_Filter.aspx?ProductID=2101"&gt;appropriate SATA controller software from Intel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Install the Intel software&lt;/li&gt;&lt;li&gt;Shutdown your guest&lt;/li&gt;&lt;li&gt;Go back into VirtualBox Settings for your guest. Select Harddrives again.&lt;/li&gt;&lt;li&gt;Now change the slot associated with your Windows XP attachments/harddisk(s) from IDE to "SATA Port 0"&lt;/li&gt;&lt;li&gt;Save your settings&lt;/li&gt;&lt;li&gt;Start your guest and enjoy the performance boost!&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;</description></item><item><title>Malfunctioning mouse after upgrade to Ubuntu 8.10</title><link>https://www.ericsimmerman.com/blog/2009/07/18/malfunctioning-mouse-after-upgrade-to-ubuntu-8.10/</link><pubDate>Sat, 18 Jul 2009 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2009/07/18/malfunctioning-mouse-after-upgrade-to-ubuntu-8.10/</guid><description>&lt;div class='post'&gt;
&lt;p&gt;I experienced some intermittent and infuriating mouse malfunctions after my upgrade to Ubuntu 8.10. Single-clicks were interpreted as double-clicks, hilighted selections would lose focus, etc...&lt;/p&gt;</description></item><item><title>Connecting to Netscreen Series (NetScreen-5) VPN with Ubuntu 9.04 (Jaunty - AMD64)</title><link>https://www.ericsimmerman.com/blog/2009/05/13/connecting-to-netscreen-series-netscreen-5-vpn-with-ubuntu-9.04-jaunty-amd64/</link><pubDate>Wed, 13 May 2009 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2009/05/13/connecting-to-netscreen-series-netscreen-5-vpn-with-ubuntu-9.04-jaunty-amd64/</guid><description>&lt;div class='post'&gt;
&lt;p&gt;I recently struggled through the details of establishing a VPN connection from my Ubuntu 64 desktop to a Juniper Networks Netscreen-5. There are a number of ways to skin the VPN cat in linux and I'm not going to detail them all here. I'll just tell you how I solved it.&lt;/p&gt;</description></item><item><title>Resolving Synergy mouse issues with Firefox after upgrade to Ubuntu 8.04</title><link>https://www.ericsimmerman.com/blog/2009/04/03/resolving-synergy-mouse-issues-with-firefox-after-upgrade-to-ubuntu-8.04/</link><pubDate>Fri, 03 Apr 2009 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2009/04/03/resolving-synergy-mouse-issues-with-firefox-after-upgrade-to-ubuntu-8.04/</guid><description>&lt;div class='post'&gt;
My desktop runs Ubuntu (64-bit) and I use Synergy to drive its keyboard and mouse over to various clients like my MacBook Pro.After my upgrade to Ubuntu 8.04 my Synergy-driven mouse exhibited truly bizarre behavior while interacting with Firefox on my Mac. DHTML didn't function normally, dropdown menus were inaccessible, flash interactions were also hit-or-miss...&lt;p /&gt;At first I blamed Firefox since Safari exhibited no such issues, but after a bit of trial and error I decided to compile Synergy server from source on my Ubuntu box. I killed the Ubuntu packaged Synergy server and launched my self-compiled binary. The new server resolved all the issues.&lt;p /&gt;Another win for open source software...&lt;/div&gt;</description></item><item><title>Removing duplicate music files with different names from a large directory free</title><link>https://www.ericsimmerman.com/blog/2008/10/28/removing-duplicate-music-files-with-different-names-from-a-large-directory-free/</link><pubDate>Tue, 28 Oct 2008 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2008/10/28/removing-duplicate-music-files-with-different-names-from-a-large-directory-free/</guid><description>&lt;div class='post'&gt;
During a recent Mac migration, I hosed my iTunes library and unintentionally generated hundreds of duplicate songs (the actual media files). The problem was exacerbated by the fact that a numeric was generally appended to the duplicate filenames so that I had directories full of files like the following:&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;/artist/album/song.mp3/artist/album/song 1.mp3/artist/album/song 2.mp3&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;Apple wasn't doing me any favors by injecting a space in the new names either....what a mess!&lt;p&gt;I stole a few ideas from &lt;a href="http://ubuntuforums.org/archive/index.php/t-97701.html"&gt;this excellent forum thread&lt;/a&gt; and cobbled together a script to remove files based on exact byte counts and md5sum signatures. Here's the good stuff:&lt;/p&gt;</description></item><item><title>avahi-daemon blocks nfsd on Ubuntu</title><link>https://www.ericsimmerman.com/blog/2008/06/06/avahi-daemon-blocks-nfsd-on-ubuntu/</link><pubDate>Fri, 06 Jun 2008 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2008/06/06/avahi-daemon-blocks-nfsd-on-ubuntu/</guid><description>&lt;div class='post'&gt;
I just spent a morning attempting to fix a &lt;a href="http://www.jroller.com/agileanswers/entry/mounting_an_ubuntu_nfs_share"&gt;NFS mounting configuration&lt;/a&gt; that had been working flawlessly for over 6 months. My daemon log was showing this:&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;nfssvc: writing fds to kernel failed: errno 98 (Address already in use)&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;After much angst, I finally stumbled upon &lt;a href="http://lists.debian.org/debian-user/2007/01/msg00343.html"&gt;this posting&lt;/a&gt; that mentioned a conflict between avahi-daemon and NFSd. After a quick "apt-get remove avahi-daemon", all is well with the world.&lt;/div&gt;</description></item><item><title>Java webbrowser plugin for AMD64 Ubuntu</title><link>https://www.ericsimmerman.com/blog/2007/10/29/java-webbrowser-plugin-for-amd64-ubuntu/</link><pubDate>Mon, 29 Oct 2007 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2007/10/29/java-webbrowser-plugin-for-amd64-ubuntu/</guid><description>&lt;div class='post'&gt;
There is now (finally) a fix for Java applet support on AMD64 Ubuntu. Try the following:&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;sudo apt-get build-dep icedtea-java7-pluginsudo apt-get -b source icedtea-java7-plugin icedtea-java7-bin icedtea-java7-jre icedtea-java7-jdksudo dpkg -i icedtea-java7-*deb&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;Thanks to Fabien Lusseau for the tip in his comment &lt;a href="https://bugs.launchpad.net/ubuntu/+source/icedtea-java7/+bug/152362"&gt;here&lt;/a&gt;&lt;/div&gt;</description></item><item><title>Mounting an Ubuntu NFS share on RedHat Enterprise with firewalls on both</title><link>https://www.ericsimmerman.com/blog/2007/10/20/mounting-an-ubuntu-nfs-share-on-redhat-enterprise-with-firewalls-on-both/</link><pubDate>Sat, 20 Oct 2007 00:00:00 +0000</pubDate><guid>https://www.ericsimmerman.com/blog/2007/10/20/mounting-an-ubuntu-nfs-share-on-redhat-enterprise-with-firewalls-on-both/</guid><description>&lt;div class='post'&gt;
It can be tough making NFS play nice amongst different distros and firewalls. I'm sharing my Eclipse workspace on my Ubuntu (Debian) desktop with my CentOS (Redhat Enterprise) server. (That's not a mistake, my server is actually my NFS client in this scenario. You could easily swap these roles if you wish)&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;DEBIAN:I used port numbers and config instructions at http://wiki.debian.org/?SecuringNFSFollow those instructions exactly and you'll have a NFS server configuration that uses static ports (instead of random assignements)REDHAT:1. Create the file &amp;quot;/etc/sysconfig/nfs&amp;quot; and add the following contents:STATD_PORT=32765STATD_OUTGOING_PORT=32766LOCKD_TCPPORT=32768LOCKD_UDPPORT=32768MOUNTD_PORT=327672. (Probably not necessary for most, but here for completeness) Append the following to the file &amp;quot;/etc/services&amp;quot;:rquotad 32769/tcp # rpc.rquotad tcp portrquotad 32769/udp # rpc.rquotad udp port3. Restart the nfslock service:/etc/init.d/nfslock restart4. Run /usr/sbin/rpcinfo -p and make sure all the ports above have changed and match their ubuntu numbers. (/usr/bin/rpcinfo on ubuntu)5. I run firestarter on Ubuntu which is exporting my NFS share. I added the following policy rules for inbound traffic:Allow 32767 (from my client machine's IP)Allow 2049 (from my client machine's IP)Allow 111 (from my client machine's IP)&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;Assuming you allow all outbound traffic on your client (I recommend this excellent iptables config file &lt;a href="http://www.linuxguruz.com/iptables/scripts/rc.firewall_023.txt"&gt;rc.firewall_023.txt&lt;/a&gt;), you should now be able to mount the NFS share on the Redhat box.&lt;/div&gt;</description></item></channel></rss>