<?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>SplatDot.com &#187; Ubuntu</title>
	<atom:link href="http://splatdot.com/category/linux/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://splatdot.com</link>
	<description>software. systems. solutions.</description>
	<lastBuildDate>Mon, 04 Apr 2011 01:12:54 +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>Ubuntu Lucid Lynx 10.04 LTS Upgrade Woes: Microsoft VPN Failure, Rhythmbox Segfault and Serendipity Saves the Day</title>
		<link>http://splatdot.com/ubuntu-lucid-lynx-10-04-lts-upgrade-woes-microsoft-vpn-failure-rhythmbox-segfault-and-serendipity-saves-the-day/</link>
		<comments>http://splatdot.com/ubuntu-lucid-lynx-10-04-lts-upgrade-woes-microsoft-vpn-failure-rhythmbox-segfault-and-serendipity-saves-the-day/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 22:25:31 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Microsoft VPN]]></category>
		<category><![CDATA[NetworkManager]]></category>
		<category><![CDATA[Rhythmbox]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://splatdot.com/?p=319</guid>
		<description><![CDATA[A couple weeks ago I needed a newer version of pidgin-sipe so that I could use Pidgin to connect to Microsoft Office Communications Server. I was running Ubuntu Karmic Koala 9.10 which includes version 1.5.0 of pidgin-sipe and I needed version 1.8.0. When I saw that Ubuntu Lucid Lynx 10.04 LTS includes version 1.8.0 of [...]]]></description>
			<content:encoded><![CDATA[<p>A couple weeks ago I needed a newer version of <a href="http://sipe.sourceforge.net/">pidgin-sipe</a> so that I could use <a href="http://www.pidgin.im/">Pidgin</a> to connect to <a href="http://www.microsoft.com/communicationsserver/en/us/default.aspx">Microsoft Office Communications Server</a><a href="http://www.microsoft.com/communicationsserver/en/us/default.aspx"></a>. I was running <a href="http://releases.ubuntu.com/9.10/">Ubuntu Karmic Koala 9.10</a> which includes version 1.5.0 of pidgin-sipe and I needed version 1.8.0. When I saw that <a href="http://releases.ubuntu.com/10.04/">Ubuntu Lucid Lynx 10.04 LTS</a> includes version 1.8.0 of pidgin-sipe, instead of doing the prudent thing and building pidgin-sipe 1.8.0 from source on Ubuntu 9.10, I decided to upgrade to Ubuntu 10.04.</p>
<p>Except for being greeted by the <a href="http://www.uluga.ubuntuforums.org/showthread.php?t=1474148">&#8220;Partial Upgrade&#8221;</a> dialog in <a href="https://wiki.ubuntu.com/UpdateManager">Update Manager</a> the upgrade went as smoothly as can be expected for an in-place upgrade. I had Pidgin talking to Microsoft Office Communications Server within a few minutes of completing the upgrade. Mission accomplished. Then I needed to connect to Microsoft PPTP VPN at a clients&#8217; site and I started to experience Ubuntu upgrade woes. The VPN connection was failing with the following error:
</p>
<p><img src="http://splatdot.com/wp-content/uploads/VPNConnectionFailed.png" alt="VPNConnectionFailed.png" border="0" width="339" height="130" /></p>
<p>I spent quite a bit of time trying to fix that problem with no success. I couldn&#8217;t find any helpful errors in the system logs. The PPTP client was logging the following when I tried to connect:</p>
<blockquote><pre>
pppd[18079]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
pppd[18079]: pppd 2.4.5 started by root, uid 0
pppd[18079]: Using interface ppp0
pppd[18079]: Connect: ppp0 < --> /dev/pts/2
pppd[18079]: CHAP authentication succeeded
pppd[18079]: MPPE 40-bit stateless compression enabled
pppd[18079]: local  IP address 172.30.8.180
pppd[18079]: remote IP address 172.30.8.61
pppd[18079]: primary   DNS address 172.30.3.22
pppd[18079]: secondary DNS address 172.30.3.23
pppd[18079]: Terminating on signal 15
pppd[18079]: Connect time 0.7 minutes.
pppd[18079]: Sent 0 bytes, received 0 bytes.
pppd[18079]: Child process /usr/sbin/pptp vpn.********.com --nolaunchpppd --logstring nm-pptp-service-18077 (pid 18081) terminated with signal 15
pppd[18079]: Connection terminated.
pppd[18079]: Exit.
</pre>
</blockquote>
<p>Not much info there. The <a href="http://projects.gnome.org/NetworkManager/">NetworkManager</a> log offered a little bit more info:</p>
<blockquote><pre>
NetworkManager: &lt;info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
NetworkManager: &lt;info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 15184
NetworkManager: &lt;info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
NetworkManager: &lt;info>  VPN plugin state changed: 1
NetworkManager: &lt;info>  VPN plugin state changed: 3
NetworkManager: &lt;info>  VPN connection 'Corporate VPN' (Connect) reply received.
NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
<strong>NetworkManager: &lt;info>  VPN connection 'Corporate VPN' (IP Config Get) timeout exceeded.</strong>
NetworkManager: &lt;info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
NetworkManager: &lt;debug> [1283289056.002038] ensure_killed(): waiting for vpn service pid 15184 to exit
NetworkManager: &lt;debug> [1283289056.002152] ensure_killed(): vpn service pid 15184 cleaned up</pre>
</blockquote>
<p>The VPN connection was timing out. A <a href="http://www.google.com/search?client=safari&#038;rls=en-us&#038;q=VPN+connection+'Corporate+VPN'+(IP+Config+Get)+timeout+exceeded.&#038;ie=UTF-8&#038;oe=UTF-8#hl=en&#038;client=safari&#038;rls=en-us&#038;q=%22VPN+connection%22+%22(IP+Config+Get)+timeout+exceeded%22&#038;aq=&#038;aqi=&#038;aql=&#038;oq=&#038;gs_rfai=&#038;pbx=1&#038;fp=728ef3750cf3a29c">Google search</a> for that timeout message turned up lots of problems, but few solutions and none that worked for me.
</p>
<p>While I searched for a working solution to my problem I launched <a href="http://projects.gnome.org/rhythmbox/">Rhythmbox</a> to play some &#8220;thinking music&#8221;. Rhythmbox loaded and then died. I started it again and it died again. More upgrade woes. I looked in the system log and found this message:</p>
<blockquote><pre>rhythmbox[29735]: segfault at 0 ip  013e97e2 sp b43fead8 error 6 in libnss_wins.so.2[13a8000+253000]</pre>
</blockquote>
<p>Rhythmbox was getting a <a href="http://en.wikipedia.org/wiki/SIGSEGV">SIGSEGV</a> and dying shortly after launching every time. A <a href="http://www.google.com/search?client=safari&#038;rls=en&#038;q=rhythmbox%5B29735%5D:+segfault+at+0+ip++013e97e2+sp+b43fead8+error+6+in+libnss_wins.so.2%5B13a8000%2B253000%5D&#038;ie=UTF-8&#038;oe=UTF-8#hl=en&#038;client=safari&#038;rls=en&#038;q=rhythmbox+segfault+at+0+ip+sp+error+6+in+libnss_wins.so.2&#038;aq=f&#038;aqi=&#038;aql=&#038;oq=&#038;gs_rfai=&#038;pbx=1&#038;fp=728ef3750cf3a29c">Google search</a> for that message turned up lots of other users experiencing the same problem. A few commenters reported that the issue was related to <a href="http://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html">winbind</a>. Several suggested the problem was the order of the hosts in <a href="http://linux.die.net/man/5/nsswitch.conf">/etc/nsswitch.conf</a> and that moving the wins entry to the end of the hosts line would fix the problem. I edited /etc/nsswitch.conf and changed this line:</p>
<blockquote><pre>hosts:          files <strong>wins</strong> mdns4_minimal [NOTFOUND=return] dns mdns4</pre>
</blockquote>
<p>To this:</p>
<blockquote><pre>hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4 <strong>wins</strong></pre>
</blockquote>
<p>Then I launched Rhythmbox and it did not segfault. Problem solved.<sup>1</sup></p>
<p>Now that I had music again I returned to working on the VPN problem. I tried connecting the VPN again and &#8230; it worked! Sonofa! The change I made to /etc/nsswitch.conf to fix Rhythmbox also fixed my Microsoft VPN problems too. Another win for serendipity!</p>
<hr />
<p><sup>1</sup><em>Moving wins after dns on the hosts line in /etc/nsswitch.conf effectively disables winbind and this may cause problems with Samba. It didn&#8217;t cause any problems for me, but your mileage may vary.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-lucid-lynx-10-04-lts-upgrade-woes-microsoft-vpn-failure-rhythmbox-segfault-and-serendipity-saves-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Snow Leopard 10.6.3 Samba Write Access</title>
		<link>http://splatdot.com/fixing-snow-leopard-10-6-3-samba-write-access/</link>
		<comments>http://splatdot.com/fixing-snow-leopard-10-6-3-samba-write-access/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 09:19:58 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[SMB]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://splatdot.com/?p=299</guid>
		<description><![CDATA[June 21, 2010 Update: Apple appears to have solved the problem for many of us with the release of Snow Leopard 10.6.4. To save you time I&#8217;ll give you the solution first then describe how I found it: Turn off Unix extensions in your Samba server by adding the following line to smb.conf in the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>June 21, 2010 Update:</strong> Apple appears to have solved the problem for many of us with the release of Snow Leopard 10.6.4.</p>
<p></p>
<hr />
<p><em>To save you time I&#8217;ll give you the solution first then describe how I found it:</em> Turn off Unix extensions in your Samba server by adding the following line to <code>smb.conf</code> in the global settings block and then restart Samba:</p>
<blockquote><p><code><strong>unix extensions = no</strong></code><br />&nbsp;</p></blockquote>
<p>You might also need to unmount and re-mount your Samba volumes from OS X after you make this change.<br />&nbsp;</p>
<hr />
<p>After installing the <a href="http://support.apple.com/kb/HT4014">OS X Snow Leopard 10.6.3</a> update I found that I could no longer write to <a href="http://www.samba.org/">Samba</a> (SMB) volumes shared from my Linux server (running <a href="https://wiki.ubuntu.com/KarmicKoala">Ubuntu 9.10 Karmic Koala</a>) that I had mounted on OS X. Whenever I tried to copy a file from OS X to the mounted Samba drive I got the error message:</p>
<blockquote><p><em>The operation can&#8217;t be completed because you don&#8217;t have permission to access some of the items.</em><br />&nbsp;</p></blockquote>
<p><img src="http://splatdot.com/wp-content/uploads/SMBWriteAccessDenied.png" alt="The operation can't be completed because you don't have permission to access some of the items." border="0" width="479" height="187" /></p>
<p>Apparently a lot of other people are having the problem as well:</p>
<ul>
<li><a href="http://www.cultofmac.com/10-6-3-update-breaking-smb-mounted-volume-write-access-for-many/36401">10.6.3 Update Breaking SMB Mounted Volume Write Access for Many</a>
</li>
<li><a href="http://discussions.apple.com/thread.jspa?messageID=11304132">Topic : After update to 10.6.3 copy to a Samba share fails</a>
</li>
<li><a href="http://discussions.apple.com/thread.jspa?threadID=2382501&#038;start=0&#038;tstart=0">Topic : No rights to write on SMB mounted volume after updating on 10.6.3</a>
</li>
</ul>
<p>I couldn&#8217;t find the solution anywhere on Google, and I spent hours today searching. I finally found the solution serendipitously while trying to fix another Samba issue. While scouring the system and Samba logs on my Linux server to try to find a clue to the first problem I found a bunch of warnings like the following repeated over and over in the Samba log:</p>
<blockquote><p><code>[2010/04/05 00:08:37,  0] param/loadparm.c:9783(widelinks_warning)<br />
  Share 'documents' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.</code><br />&nbsp;</p></blockquote>
<p>This warning started logging on March 24th, the same day that Ubuntu announced and patched a vulnerability related to the Samba wide links option: <a href="http://www.ubuntu.com/usn/USN-918-1">Ubuntu Security Notice USN-918-1</a>. According to <a href="http://my.safaribooksonline.com/1-56592-449-5">Using Samba</a> by Robert Eckstein, David Collier-Brown and Peter Kelly you should not turn off the wide links option for performance reasons. (See <a href="http://oreilly.com/catalog/samba/chapter/book/appb.pdf">Appendix B: Samba Performance Tuning</a>.) Since I use Samba for just about everything I decided that performance was more important than Unix extensions so I added the following to my <code>smb.conf</code> in the global settings block and restarted Samba:</p>
<blockquote><p><code><strong>unix extensions = no</strong></code><br />&nbsp;</p></blockquote>
<p>To my amazement and delight, this had the welcome side effect of solving the Samba write access issue I was having with OS X. To verify that this is really what solved the problem I re-enabled Unix extensions and restarted Samba and the write access problem returned. Then I turned Unix extensions off again and restarted Samba and I could write to all of the Samba mounts again from OS X. So if you are having problems writing to Samba mounts from OS X ask your system administrator to turn off Unix extensions in the server&#8217;s Samba configuration.<br />&nbsp;</p>
<hr />
<p>I&#8217;ve had emails and comments that point out that there are advantages to having Unix extensions on. That&#8217;s true and this should be considered a workaround rather than a fix. When (if?) Apple fixes the underlying problem you should turn Unix extensions back on in your Samba server.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/fixing-snow-leopard-10-6-3-samba-write-access/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic Koala</title>
		<link>http://splatdot.com/ubuntu-9-10-karmic-koala/</link>
		<comments>http://splatdot.com/ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 08:00:56 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.splatdot.com/?p=268</guid>
		<description><![CDATA[Against my better judgement I performed an in-place upgrade from Jaunty Jackalope to Karmic Koala. The upgrade went smoothly and the process was fast and painless. It was probably uneventful because I had made and verified two full backups before starting. Just in case.]]></description>
			<content:encoded><![CDATA[<p>Against my better judgement I performed an in-place upgrade from <a href="http://www.ubuntu.com/getubuntu/releasenotes/904">Jaunty Jackalope</a> to <a href="http://www.ubuntu.com/getubuntu/releasenotes/910">Karmic Koala</a>. The upgrade went smoothly and the process was fast and painless. It was probably uneventful because I had made and verified two full backups before starting. Just in case.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 (Jaunty Jackalope) Problems Fixed</title>
		<link>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-problems-fixed/</link>
		<comments>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-problems-fixed/#comments</comments>
		<pubDate>Sun, 03 May 2009 03:33:17 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[No Terminal I put a band-aid over this problem by adding /dev/pty to /etc/fstab. After revisiting this bug report I found that the source of the problem was that I was missing a symlink in /etc/rcS.d. If you are having the same problem first check that /etc/init.d/mountdevsubfs.sh exists and then run the following commands: cd [...]]]></description>
			<content:encoded><![CDATA[<h3>No Terminal</h3>
<p>I put a band-aid over this problem by adding <code>/dev/pty</code> to <code>/etc/fstab</code>. After revisiting <a href="https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/338071">this bug report</a> I found that the source of the problem was that I was missing a symlink in <code>/etc/rcS.d</code>. If you are having the same problem first check that<br />
<code>/etc/init.d/mountdevsubfs.sh</code> exists and then run the following commands:</p>
<blockquote><p><code>cd /etc/rcS.d/</p>
<p>sudo ln -s ../init.d/mountdevsubfs.sh S11mountdevsubfs.sh</code></p>
</blockquote>
<p>However, there is no explanation for why this symlink was missing in the first place.</p>
<h3>No RAID</h3>
<p>This turned out to be an extremely easy problem to fix. While fixing the symlink problem above I noticed that init scripts weren&#039;t ordered correctly. The init scripts for disk mounting were happening too early, before the <code>mdadm</code> module and services had fully loaded. That&#039;s why my RAID volume wasn&#039;t mounting on startup but I could mount it manually after logging in. I corrected the order of the init scripts and now the RAID volume auto-mounts when booting.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-problems-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 (Jaunty Jackalope) Sound Problem Fixed</title>
		<link>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-sound-problem-fixed/</link>
		<comments>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-sound-problem-fixed/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 22:27:11 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I found someone else reporting the same problem here. The problem turned out to be that the PCM volume in the ALSA mixer had gotten muted. I&#039;m not sure if the upgrade to 9.04 caused that or something else did. Whatever the case, the sound is working great and there&#039;s no more crackling.]]></description>
			<content:encoded><![CDATA[<p>I found someone else reporting the same problem <a href="http://ubuntuforums.org/showthread.php?t=987252">here</a>. The problem turned out to be that the PCM volume in the ALSA mixer had gotten muted. I&#039;m not sure if the upgrade to 9.04 caused that or something else did. Whatever the case, the sound is working great and there&#039;s no more crackling.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-sound-problem-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 (Jaunty Jackalope) Upgrade Notes</title>
		<link>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-upgrade-notes/</link>
		<comments>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-upgrade-notes/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 21:41:31 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I upgraded from Ubuntu 8.10 (Intrepid Ibix) to Ubuntu 9.04 (Jaunty Jackalope). It went fairly well but after the upgrade I found three major problems. No Terminal When I tried to launch GNOME Terminal from the menu I got this message: There was an error creating the child process for this terminal Not good. The [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded from Ubuntu 8.10 (Intrepid Ibix) to Ubuntu 9.04 (Jaunty Jackalope). It went fairly well but after the upgrade I found three major problems.</p>
<h3>No Terminal</h3>
<p>When I tried to launch GNOME Terminal from the menu I got this message:</p>
<blockquote><p><code>There was an error creating the child process for this terminal</code></p>
</blockquote>
<p>Not good. The first thing I tried was to start Update Manager and apply any patches. Update Manager showed me a list of patches but when I tried to install the updates it failed with the message:</p>
<blockquote><p><code>Error failed to fork pty</code></p>
</blockquote>
<p>At this point I wasn&#039;t getting warm, fuzzy feelings. Googling for the error messages turned up several Ubuntu bug reports for both problems. Many commenters reported that adding <code>devpts</code> to the <code>fstab</code> resolved the problem for them. So I tried their suggestion and it solved the problem for me as well. To apply this fix you need to add the following line to <code>/etc/fstab</code>:</p>
<blockquote><p><code>devpts      /dev/pts    devpts  rw,noexec,nosuid,gid=5,mode=620   0   0</code></p>
</blockquote>
<p>To edit <code>/etc/fstab</code> press <code>ALT+F2</code> to bring up the Run Application dialog. Then type in either&#8221;</p>
<blockquote><p><code>gksudo gedit /etc/fstab</code></p>
</blockquote>
<p>or:</p>
<blockquote><p><code>gksudo gedit /etc/fstab</code></p>
</blockquote>
<p>After adding the entry for <code>devpts</code> you need to mount it. You can either reboot or you press <code>CTRL+ALT+F1</code> to temporarily switch to console mode. Once in console mode, login as root and run:</p>
<blockquote><p><code>mount -a</p>
<p>exit</code></p>
</blockquote>
<p>After exiting console mode you should now be able to successfully launch GNOME Terminal from the menu. It worked for me anyway.</p>
<p><em><strong>NOTE:</strong> After rebooting, GNOME Terminal would not work again. After running <code>mount -a</code> from console mode it started working. So the problem is only partially solved if I have to manually mount the device after each boot.</em></p>
<h3>No RAID</h3>
<p>After the upgrade my RAID volume would not mount. When I tried to mount it I got this error message:</p>
<blockquote><p><code>mount: special device /dev/md0 does not exist</code></p>
</blockquote>
<p>I ran <code>sudo mdadm --detail --scan</code> and it showed the RAID array, but it didn&#039;t match the entries in either <code>/etc/mdadm/mdadm.conf</code> or <code>/etc/fstab</code>. It turned out that the RAID device had changed from <code>/dev/md0</code> to <code>/dev/md/d0</code> in the upgrade. Fixing the problem required two steps:</p>
<ul>
<li>Replace the ARRAY entry in <code>/etc/mdadm/mdadm.conf</code> with the output from <code>sudo mdadm --detail --scan</code>.
<p><strong>NOTE:</strong> If the output contains the phrase <code>metadata=00.90</code>, then delete that phrase. <code>mdadm</code> doesn&#039;t like metadata format 00.90 and gave me an error message:</p>
<blockquote><p><code>mdadm: metadata format 00.90 unknown, ignored.</code></p>
</blockquote>
</li>
<li>Change the entry in <code>/etc/fstab</code> to the new device, i.e. from <code>/dev/md0</code> to <code>/dev/md/d0</code>.</li>
</ul>
<p><em><strong>NOTE:</strong> The RAID volume does not auto-mount after rebooting. So this problem is also only partially solved.</em></p>
<h3>No Sound</h3>
<p>When anything tries to play sound I just get a crackling sound from the speakers. I&#039;m still working on this problem&#8230;</p>
<hr />
<p><strong>Update:</strong> Sound problem <a href="http://www.splatdot.com/2009/04/24/ubuntu-904-jaunty-jackalope-sound-problem-fixed">fixed</a>.</p>
<hr />
<p><strong>Final Update:</strong> All problems <a href="http://www.splatdot.com/2009/05/02/ubuntu-904-jaunty-jackalope-problems-fixed">fixed</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-9-04-jaunty-jackalope-upgrade-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running vsftpd Behind a NAT Firewall</title>
		<link>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/</link>
		<comments>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 01:50:09 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[vsftp]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I needed to set up a vsftpd server recently but I needed it running behind a NAT firewall. I set up port 21 in the port forwarding table. And it didn&#8217;t work. That&#8217;s because on Ubuntu 8.10 Intrepid Ibix the vsftpd config defaults to passive mode. I tried changing it to active mode but could [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to set up a <a href="http://vsftpd.beasts.org/">vsftpd</a> server recently but I needed it running behind a <a href="http://en.wikipedia.org/wiki/Network_address_translation">NAT firewall</a>. I set up port 21 in the port forwarding table. And it didn&#8217;t work. That&#8217;s because on <a href="http://www.ubuntu.com/">Ubuntu 8.10 Intrepid Ibix</a> the vsftpd config defaults to passive mode. I tried changing it to active mode but could not get that to work either. Since passive mode is recommended for vsftpd I went back to trying to make passive mode work. I needed to change <code>vsftpd.conf</code> to set the value of <code>pasv_address</code> to my public static IP address. Then in addition to forwarding port 21 I also needed to forward all of the ports in the range between <code>pasv_min_port</code> and <code>pasv_max_port</code> (inclusive) as defined in <code>vsftpd.conf</code>. In my case that was ports 32000-32127.</p>
<div style="text-align:center;"><img src="http://www.splatdot.com/wp-content/uploads/vsftpd_passive_ports.png" alt="vsftpd_passive_ports" title="vsftpd_passive_ports" width="541" height="181" class="aligncenter size-full wp-image-36" /></div>
<p>After adding that range to the port forwarding table in the NAT firewall it works great. You can increase or decrease the range of the passive ports and you can move it around in the port numbering space to suit your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.10: How To Connect To a Microsoft VPN</title>
		<link>http://splatdot.com/ubuntu-810-how-connect-microsoft-vpn/</link>
		<comments>http://splatdot.com/ubuntu-810-how-connect-microsoft-vpn/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 12:35:43 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Intrepid Ibix]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[December 3, 2008 Update: Some of these problems have been corrected in the latest updates to Ubuntu 8.10. (See below.) Connection to a Microsoft VPN from Linux is normally a no-brainer but Ubuntu 8.10 Intrepid Ibix has some &#8220;out of the box&#8221; issues with connecting to a Microsoft VPN. Before fixing those issues we need [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#Update2008-12-03"><strong>December 3, 2008 Update:</strong> Some of these problems have been corrected in the latest updates to Ubuntu 8.10. (See below.)</a></p>
<hr />
<p>Connection to a <a href="http://technet.microsoft.com/en-us/network/bb545442.aspx">Microsoft VPN</a> from <a href="http://www.linux.org/">Linux</a> is normally a no-brainer but <a href="http://www.ubuntu.com/">Ubuntu 8.10 Intrepid Ibix</a> has some &#8220;out of the box&#8221; issues with connecting to a Microsoft VPN. Before fixing those issues we need to go through the motions and cover all the basics. First, you will need to install <a href="http://projects.gnome.org/NetworkManager/">NetworkManager</a> for <a href="http://www.gnome.org/">Gnome</a> and the <a href="http://en.wikipedia.org/wiki/PPTP">PPTP</a> plugin.</p>
<p><code>&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install network-manager-gnome network-manager-pptp</code></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;sudo NetworkManager restart</p>
<h4><u>NetworkManager Configuration</u></h4>
<p>You can launch NetworkManager from either the Gnome menu under <code>System | Preferences | Network Configuration</code> or by clicking on the network icon on the Gnome panel and selecting <code>VPN Connections | Configure VPN</code>. Select the <code>VPN</code> tab and click the <code>Add</code> button. When asked to choose a VPN connection type select PPTP and click the <code>Create</code> button. PPTP will be the default unless you have other NetworkManager plugins installed.</p>
<p>Now you should have a dialog to enter the VPN information. There are only a couple of pieces of information that you need to enter on this form.</p>
<ul>
<li>Connection name: Name you VPN connection or keep the default name. Your choice.</li>
<li>Connect automatically: Leave unchecked for now. You can change this later if you want.</li>
<li>System setting: Leave unchecked.</li>
<li>Gateway: Enter the host name or IP address of the VPN gateway.</li>
<li>User name: Enter the NT domain, a backslash and the user name, e.g. <code>EXAMPLE\bill</code>. This is the first of the 8.10 issues &#8211; you must enter the NT domain with the user name here or it won&#039;t work.</li>
<li>Password: Leave this blank. This is another 8.10 issue &#8211; either accessing or storing the password from NetworkManager is broken and if you enter the password here it won&#039;t work. Don&#039;t worry, there is a workaround.</li>
<li>Show password: Don&#039;t check it, check it, it matters not.</li>
<li>NT Domain: Leave this blank. And another 8.10 issue &#8211; the NT domain should be entered with the user name instead of here and if you do put the NT domain here it won&#039;t work.</li>
</ul>
<p>The form should look something like this when you are done:</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-Editing-Example-Corporate-VPN.png" alt="Screenshot-Editing Example Corporate VPN" title="Screenshot-Editing Example Corporate VPN" width="414" height="571" /></p>
<p>Click the <code>Advanced</code> button and when the dialog appears check <code>Use Point-to-Point encryption (MPPE)</code>. Don&#039;t change any of the other setting on this form.</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-nm-connection-editor.png" alt="Screenshot-nm-connection-editor" title="Screenshot-nm-connection-editor" width="346" height="469" class="alignnone size-full wp-image-43" /></p>
<p>Click the <code>OK</code> button on the advanced settings form and then click the <code>OK</code> button on the VPN information form to save the settings for your new VPN. You can close the NetworkManager window now.</p>
<h4><u>Fixing the NetworkManager Configuration</u></h4>
<p>If you try to connect to the VPN now it will fail. By default it is trying to negotiate <a href="http://en.wikipedia.org/wiki/Extensible_Authentication_Protocol">EAP</a> authentication. There is no was to disable EAP from NetworkManager so you will need to disable it with <a href="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gconf-editor.html">gconf-editor</a>. Launch gconf-editor from the command line.</p>
<p><code>&nbsp;&nbsp;&nbsp;&nbsp;gconf-editor</code></p>
<p>When the editor starts browse to <code>System | Networking | Connections</code>. Under Connections you should see one or more numbered connection folders. You will need to find the one that has your VPN configuration in it &#8211; open each one and look for another folder named <code>vpn</code>. Click on the <code>vpn</code> folder to see the settings to verify that it is the one you need to change. On my system this was connection number 3. Right-click on the configuration list and select <code>New key</code>.</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-Configuration-Editor.png" alt="Screenshot-Configuration Editor" title="Screenshot-Configuration Editor" width="739" height="477" class="alignnone size-full wp-image-45" /></p>
<p>Name the new key <code>refuse-</code><code>eap</code>, set its type to <code>String</code> and its value to <code>yes</code>. Then click the OK button.</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-New-Key.png" alt="Screenshot-New Key" title="Screenshot-New Key" width="354" height="212" class="alignnone size-full wp-image-47" /></p>
<h4><u>Connecting to the VPN</u></h4>
<p>You are finally ready to connect to the VPN. Clink the network icon on the panel and select <code>VPN Connections | &lt;connection name&gt;</code>. Enter your password in the authentication dialog. If you want your password stored in the keyring you can check that option here &#8211; that is the workaround for not being able to enter the password in NetworkManager. Click the OK button and if all goes well you will connect to your VPN.</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-Editing-Example-Corporate-VPN1.png" alt="Screenshot-Editing Example Corporate VPN" title="Screenshot-Editing Example Corporate VPN" width="414" height="571" class="alignnone size-full wp-image-49" /></p>
<h4><u>The Bad News</u></h4>
<p>Now that you&#039;ve got your VPN working there&#039;s some really bad news you need to know about. Anytime you launch NetworkManager it is probably going to hork the VPN settings and your VPN will stop working once again. So don&#039;t start NetworkManager. But if you do the two things you will most likely need to fix are:</p>
<ol>
<li>Edit the VPN and delete the password from the configuration form. You can re-enter it and save it again the next time you need to connect.</li>
<li>Check the <code>refuse-eap</code> setting on your VPN and re-add it with <code>gconf-editor</code> if it is missing.
</li>
</ol>
<p>Good luck!</p>
<hr />
<p><a name="Update2008-12-03"><strong>December 3, 2008 Update:</strong></a></p>
<p>In the comments <a href="http://candrews.integralblue.com/">Craig</a> points out that the NT Domain issue has been fixed. I fired up <a href="http://people.ubuntu.com/~mako/docteam/quickguide/ch05.html#qg-ubuntu-update-manager">Update Manager</a> and installed all the latest updates which included an update to NetworkManager. After installing I verified that with the latest version of NetworkManager the NT Domain can be configured normally again. There was also an update to the <a href="http://live.gnome.org/GnomeKeyring">Gnome Keyring</a> which spurred me to try configuring the VPN password in NetworkManager too and that works now also. (However I do not know if the password storing problem was in NetworkManager or Gnome Keyring.) With these updates you can set up your VPN configuration in NetworkManager as follows:</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/Screenshot-Editing-Example-Corporate-VPN-Update.png" alt="Screenshot-Editing Example Corporate VPN Update" title="Screenshot-Editing Example Corporate VPN Update" width="414" height="571" class="alignnone size-full wp-image-51" /></p>
<p>These latest updates resolve half of the issues I described in the original post. You will still need to enable <code>MPPE</code> and add the <code>refuse-eap key</code> to successfully connect to a Microsoft VPN.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/ubuntu-810-how-connect-microsoft-vpn/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

