<?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>Craig Mayhew's Blog &#187; Linux/Ubuntu</title>
	<atom:link href="http://www.craigmayhew.com/blog/category/linux-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.craigmayhew.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 21:51:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu screen brightness on EliteBook 8530w</title>
		<link>http://www.craigmayhew.com/blog/2011/09/ubuntu-screen-brightness-on-elitebook-8530w/</link>
		<comments>http://www.craigmayhew.com/blog/2011/09/ubuntu-screen-brightness-on-elitebook-8530w/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 19:51:06 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Guides/Fixes]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[HP EliteBook 8530w]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.10]]></category>
		<category><![CDATA[Ubuntu 11.04]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1545</guid>
		<description><![CDATA[Ubuntu versions 10.04 and 10.10 had various issues with the screen brightness on my HP EliteBook 8530w. It wasn&#8217;t possible to adjust the brightness which was a real problem if the screen dimmed while power saving.
The only fix I&#8217;ve found was to update to Ubuntu version 11.04.
]]></description>
			<content:encoded><![CDATA[<p>Ubuntu versions 10.04 and 10.10 had various issues with the screen brightness on my HP EliteBook 8530w. It wasn&#8217;t possible to adjust the brightness which was a real problem if the screen dimmed while power saving.</p>
<p>The only fix I&#8217;ve found was to update to Ubuntu version 11.04.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2011/09/ubuntu-screen-brightness-on-elitebook-8530w/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Ubuntu to 10.10 &#8211; blacklisted blcr-dkms_0.8.2-13 Error</title>
		<link>http://www.craigmayhew.com/blog/2011/08/upgrading-ubuntu-to-10-10-blacklisted-blcr-dkms_0-8-2-13-error/</link>
		<comments>http://www.craigmayhew.com/blog/2011/08/upgrading-ubuntu-to-10-10-blacklisted-blcr-dkms_0-8-2-13-error/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 11:28:19 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1542</guid>
		<description><![CDATA[If you get the following error when your upgrading:
An unresolvable problem occurred while calculating the upgrade:
Trying to install blacklisted version &#8216;blcr-dkms_0.8.2-13&#8242;
To fix, simply search for the package &#8216;blcr-dkms_0.8.2-13&#8242; in package manager and mark for upgrade. Click apply and then try the system upgrade once again.
]]></description>
			<content:encoded><![CDATA[<p>If you get the following error when your upgrading:</p>
<p>An unresolvable problem occurred while calculating the upgrade:<br />
Trying to install blacklisted version &#8216;blcr-dkms_0.8.2-13&#8242;</p>
<p>To fix, simply search for the package &#8216;blcr-dkms_0.8.2-13&#8242; in package manager and mark for upgrade. Click apply and then try the system upgrade once again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2011/08/upgrading-ubuntu-to-10-10-blacklisted-blcr-dkms_0-8-2-13-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a windows share on linux</title>
		<link>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/</link>
		<comments>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 07:00:05 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1293</guid>
		<description><![CDATA[This command will mount a windows share on Ubuntu 10.10 (and obviously other versions):

sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o username=yourUserName,password=yourPassword,allow_other

&#8220;1.2.3.4&#8243; &#8211; The name of the server with the share
&#8220;ShareName&#8221; &#8211; The name of the shared folder
&#8220;/media/share&#8221; &#8211; The local folder the share will be mounted to
&#8220;yourUserName&#8221; &#8211; The username for the share
&#8220;yourPassword&#8221; &#8211; The [...]]]></description>
			<content:encoded><![CDATA[<p>This command will mount a windows share on Ubuntu 10.10 (and obviously other versions):</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o username=yourUserName,password=yourPassword,allow_other
</pre>
<p>&#8220;1.2.3.4&#8243; &#8211; The name of the server with the share<br />
&#8220;ShareName&#8221; &#8211; The name of the shared folder<br />
&#8220;/media/share&#8221; &#8211; The local folder the share will be mounted to<br />
&#8220;yourUserName&#8221; &#8211; The username for the share<br />
&#8220;yourPassword&#8221; &#8211; The password for the share</p>
<p>If you don&#8217;t have a password, you really should have one for security but here is the command anyway:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o allow_other
</pre>
<p>If you get the error:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
mount: //1.2.3.4/ShareName/ is not a valid block device
</pre>
<p>Then you may need to install samba file sharing:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo apt-get install smbfs
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus Aspire One network manager applet disappeared!</title>
		<link>http://www.craigmayhew.com/blog/2010/04/asus-aspire-one-network-manager-applet-disappeared/</link>
		<comments>http://www.craigmayhew.com/blog/2010/04/asus-aspire-one-network-manager-applet-disappeared/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 20:00:33 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Acer Aspire One]]></category>
		<category><![CDATA[Linpus]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1083</guid>
		<description><![CDATA[It appears one of the updates to the linpus linux operating system used on Asus Aspire One netbooks messes up the networking. In short the permissions get set wrongly on the network settings files. Symptons include, not being able to see the network icon on the menu, clicking &#8220;Network Settings&#8221; icon on the settings page [...]]]></description>
			<content:encoded><![CDATA[<p>It appears one of the updates to the linpus linux operating system used on Asus Aspire One netbooks messes up the networking. In short the permissions get set wrongly on the network settings files. Symptons include, not being able to see the network icon on the menu, clicking &#8220;Network Settings&#8221; icon on the settings page and having nothing happen etc..</p>
<p>Before you run this fix, please understand that you will lose all your saved network connections and you will need to add in your network keys again.</p>
<p>To fix:</p>
<p>Press Alt+F2 and a run box should appear.<br />
Then write &#8220;terminal&#8221; and click &#8220;Run&#8221;.<br />
In the new terminal windows that has appeared type &#8220;sudo gconftool-2 &#8211;recursive-unset /system/networking&#8221; to clear all the root network connections.<br />
Then type &#8220;gconftool-2 &#8211;recursive-unset /system/networking&#8221; to clear all the user network connections.<br />
Reboot the netbook and the network icon appears again after about 20 seconds but you need to reconfigure the network connections again by adding passwords etc&#8230;</p>
<p>If this hasn&#8217;t fixed your problem then this forum has loads more info on the subject <a href="http://www.aspireoneuser.com/forum/viewtopic.php?f=34&#038;t=2620&#038;sid=7ee9a1caf5a8ccaf10dd281ac6caf861">http://www.aspireoneuser.com/forum/viewtopic.php?f=34&#038;t=2620&#038;sid=7ee9a1caf5a8ccaf10dd281ac6caf861</a>. I recommend reading the whole forum thread before trying the solutions, as you may want to try easier ones first!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/04/asus-aspire-one-network-manager-applet-disappeared/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>noatime</title>
		<link>http://www.craigmayhew.com/blog/2010/04/noatime/</link>
		<comments>http://www.craigmayhew.com/blog/2010/04/noatime/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 07:00:06 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Ext]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[noatime]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1054</guid>
		<description><![CDATA[The noatime option tells an ext filesystem to not update the &#8220;last accessed&#8221; timestamp every time a file is opened. This enables you to save disk i/o and have you disk caches perform much better.
You need to edit the fstab file to use the noatime option.
sudo vim /etc/fstab
Your fstab file will look different to this. [...]]]></description>
			<content:encoded><![CDATA[<p>The noatime option tells an ext filesystem to not update the &#8220;last accessed&#8221; timestamp every time a file is opened. This enables you to save disk i/o and have you disk caches perform much better.</p>
<p>You need to edit the fstab file to use the noatime option.</p>
<p>sudo vim /etc/fstab</p>
<p>Your fstab file will look different to this. At this point I should warn you that if you mistype this, delete something you shouldn&#8217;t or otherwise break this file, you Linux system MAY NOT BOOT. You can see below where I have added noatime which is visible in bold.</p>
<p>/dev/hda1 / ext3 defaults,errors=remount-ro,<b>noatime</b>,auto 0 1</p>
<p>Reboot and if all is well then you should have a faster filesystem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/04/noatime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chroot in Ubuntu</title>
		<link>http://www.craigmayhew.com/blog/2010/03/chroot-in-ubuntu/</link>
		<comments>http://www.craigmayhew.com/blog/2010/03/chroot-in-ubuntu/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 06:43:17 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Chroot]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1046</guid>
		<description><![CDATA[If you ever manage to damage your ubuntu install so badly that it won&#8217;t boot (as I recently did when trying to remove the gnome GUI) then boot from a LiveCD and then open up a terminal.
Type the following commands:
change to the media directory (where our drives should be)
# cd /media
Create a new directory called [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever manage to damage your ubuntu install so badly that it won&#8217;t boot (as I recently did when trying to remove the gnome GUI) then boot from a LiveCD and then open up a terminal.</p>
<p>Type the following commands:</p>
<p>change to the media directory (where our drives should be)<br />
# cd /media</p>
<p>Create a new directory called Ubuntu (We will use this to mount our boot drive too)<br />
# mkdir ubuntu</p>
<p>Mount the boot drive, you will need to replace X with the correct letter<br />
# mount /dev/sdaX /media/ubuntu</p>
<p>Mount some other required locations<br />
# mount &#8211;bind /proc /media/ubuntu/proc<br />
# mount &#8211;bind /dev /media/ubuntu/dev<br />
# mount &#8211;bind /dev/pts /media/ubuntu/dev/pts</p>
<p>Run chroot, using this command and we are now root as if we had booted from the boot drive and not the liveCD:<br />
# chroot /media/ubuntu</p>
<p>Your now in your Ubuntu system as root. If your unsure precisely why your system won&#8217;t boot then running an update is usually a good place to start. Good luck!<br />
# aptitude update</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/03/chroot-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The package vmware-server needs to be reinstalled, but I can&#8217;t find an archive for it</title>
		<link>http://www.craigmayhew.com/blog/2010/03/the-package-vmware-server-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it/</link>
		<comments>http://www.craigmayhew.com/blog/2010/03/the-package-vmware-server-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 07:00:14 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[Synaptic Package Manger]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1042</guid>
		<description><![CDATA[I recently tried installing a .deb packagae I had made by converting an rpm. Synaptic package manager however errored and since then won&#8217;t open. Every time I started synaptic I was getting this error:
The package vmware-server needs to be reinstalled, but I can&#8217;t find an archive for it
This command solved it and will force the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried installing a .deb packagae I had made by converting an rpm. Synaptic package manager however errored and since then won&#8217;t open. Every time I started synaptic I was getting this error:</p>
<p>The package vmware-server needs to be reinstalled, but I can&#8217;t find an archive for it</p>
<p>This command solved it and will force the removal of my incosistent package:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
dpkg --remove --force-remove-reinstreq vmware-server
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/03/the-package-vmware-server-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying fstab to prevent password requests before mounting a hard drive</title>
		<link>http://www.craigmayhew.com/blog/2010/03/modifying-fstab-to-prevent-password-requests-before-mounting-a-hard-drive/</link>
		<comments>http://www.craigmayhew.com/blog/2010/03/modifying-fstab-to-prevent-password-requests-before-mounting-a-hard-drive/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 07:00:29 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[pysdm]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1031</guid>
		<description><![CDATA[After a fresh install of Ubuntu Karmic I found that the additional hard drives kept asking for a password each time I logged in and accessed them for the first time.

To fix the problem, simply install pysdm:
sudo apt-get install pysdm
Then run it as root:
sudo pysdm
Choose your device and then mount your partitions accordingly.
]]></description>
			<content:encoded><![CDATA[<p>After a fresh install of Ubuntu Karmic I found that the additional hard drives kept asking for a password each time I logged in and accessed them for the first time.</p>
<p><a href="http://www.craigmayhew.com/blog/wp-content/uploads/2010/03/mount-drive-password.jpg"><img class="alignnone size-full wp-image-1034" title="mount-drive-password" src="http://www.craigmayhew.com/blog/wp-content/uploads/2010/03/mount-drive-password.jpg" alt="mount-drive-password" width="488" height="340" /></a></p>
<p>To fix the problem, simply install pysdm:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">sudo apt-get install pysdm</pre>
<p>Then run it as root:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">sudo pysdm</pre>
<p>Choose your device and then mount your partitions accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/03/modifying-fstab-to-prevent-password-requests-before-mounting-a-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve Drive UUIDs in Ubuntu</title>
		<link>http://www.craigmayhew.com/blog/2010/03/retrieve-drive-uuids-in-ubuntu/</link>
		<comments>http://www.craigmayhew.com/blog/2010/03/retrieve-drive-uuids-in-ubuntu/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 14:20:48 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[UUID]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1027</guid>
		<description><![CDATA[One easy command to retrieve all drive UUIDs.

ls -lF /dev/disk/by-uuid

]]></description>
			<content:encoded><![CDATA[<p>One easy command to retrieve all drive UUIDs.</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
ls -lF /dev/disk/by-uuid
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/03/retrieve-drive-uuids-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greasemonkey scripts won&#8217;t update on Ubuntu</title>
		<link>http://www.craigmayhew.com/blog/2010/02/greasemonkey-scripts-wont-update-on-ubuntu/</link>
		<comments>http://www.craigmayhew.com/blog/2010/02/greasemonkey-scripts-wont-update-on-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 20:11:00 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Guides/Fixes]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Linux Permissions]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=920</guid>
		<description><![CDATA[The usual reason for not being able to update the scripts is that your permissions are wrong in your Firefox folder. Your Grease Monkey scripts will be in your firefox folder. The default place for this is (please substitute {username} for your actual Ubuntu user name):

cd /home/{username}/.mozilla/firefox/gm_scripts/

You need to make sure you are the owner [...]]]></description>
			<content:encoded><![CDATA[<p>The usual reason for not being able to update the scripts is that your permissions are wrong in your Firefox folder. Your Grease Monkey scripts will be in your firefox folder. The default place for this is (please substitute {username} for your actual Ubuntu user name):</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
cd /home/{username}/.mozilla/firefox/gm_scripts/
</pre>
<p>You need to make sure you are the owner of this folder. This command will make sure you are. Again please substitute whats inside the {} brackets.</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
chown -R {username}:{usergroup} /home/{username}/.mozilla/firefox/gm_scripts
</pre>
<p>If that still fails to fix the problem, then you also need to make sure you have write permissions on your firefox settings folder.</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
chmod -R 755 /home/{username}/.mozilla/firefox/gm_scripts
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/02/greasemonkey-scripts-wont-update-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

