<?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/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://splatdot.com</link>
	<description>software. systems. solutions.</description>
	<lastBuildDate>Tue, 31 Aug 2010 22:25:33 +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>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>
