<?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>The Linux Daily &#187; Tutorials and Guides</title>
	<atom:link href="http://www.thelinuxdaily.com/category/tutorials-and-guides/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelinuxdaily.com</link>
	<description>Tutorials, Guides, Tips, and Tricks from Everyday Experiences</description>
	<lastBuildDate>Thu, 02 Sep 2010 21:38:08 +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>How To: Install shell-fm to Play last.fm Radio via Terminal</title>
		<link>http://www.thelinuxdaily.com/2010/08/how-to-install-shell-fm-to-play-last-fm-radio-via-terminal/</link>
		<comments>http://www.thelinuxdaily.com/2010/08/how-to-install-shell-fm-to-play-last-fm-radio-via-terminal/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 14:00:30 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shell-fm]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=2064</guid>
		<description><![CDATA[Here&#8217;s how to install shell-fm as tested on Fedora 13. shell-fm is a great little command line tool that will play last.fm radio and even has some features that last.fm doesn&#8217;t have (artist autoban, no advertisements, and more). You can read more about it here. Alright, let&#8217;s get to the install instructions! Open a terminal [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to install <code>shell-fm</code> as tested on Fedora 13.  <code>shell-fm</code> is a great little command line tool that will play last.fm radio and even has some features that last.fm doesn&#8217;t have (artist autoban, no advertisements, and more).  You can read more about it <a href="http://nex.scrapping.cc/shell-fm/">here</a>.  Alright, let&#8217;s get to the install instructions!<br />
<span id="more-2064"></span><br />
Open a terminal and issue the following commands in order:</p>
<pre class="brush: bash;">
mkdir ~/src
cd ~/src
git clone git://github.com/jkramer/shell-fm.git
cd ~/shell-fm/
make
su -c 'make install'
</pre>
<p>At this point, you should now have a fully functional <code>shell-fm</code> program.  However, I would recommend creating a configuration file first by using the following commands in order (you could probably copy/paste these, remembering to replace <em>username</em> and <em>password</em> with your own):</p>
<pre class="brush: bash;">
mkdir ~/.shell-fm
cat &gt; ~/.shell-fm/shell-fm.rc &lt;&lt; EOF
username=username
password=password (plain text)
default-radio=lastfm://artist/The%20Beatles/similarartists
EOF
</pre>
<p>Then, finally run the program:</p>
<pre class="brush: bash;">
shell-fm
</pre>
<p>As always, be sure to check out the man pages for more information!</p>
<pre class="brush: bash;">
man shell-fm
</pre>
<p>I&#8217;ve had a terrific experience with both this utility and last.fm.  I would rate it much higher than Pandora or Slacker radio.  The music is much more extensive and I don&#8217;t get any repeats during an eight hour day.  My thanks goes out to both last.fm and shell-fm.  Great job guys!  Keep up the good work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/08/how-to-install-shell-fm-to-play-last-fm-radio-via-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Install VirtualBox 3.2 on Fedora 13</title>
		<link>http://www.thelinuxdaily.com/2010/05/how-to-install-virtualbox-3-2-on-fedora-13/</link>
		<comments>http://www.thelinuxdaily.com/2010/05/how-to-install-virtualbox-3-2-on-fedora-13/#comments</comments>
		<pubDate>Tue, 25 May 2010 14:00:24 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[.vdi]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 13]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualbox 3.2]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=1841</guid>
		<description><![CDATA[This is a step by step tutorial on how to get VirtualBox 3.2 up and running on Fedora 13. Specifically, this guide was written using the VirtualBox 3.2.0 (32-bit) version. It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and [...]]]></description>
			<content:encoded><![CDATA[<p>This is a step by step tutorial on how to get VirtualBox 3.2 up and running on Fedora 13. Specifically, this guide was written using the VirtualBox 3.2.0 (32-bit) version. It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and I’m going to show you how in a few easy steps. Right, open a terminal window and let’s get to it…<br />
<span id="more-1841"></span></p>
<h3><span style="color: #800000;">Step 1: Download, Copy, and Edit Repository File</span></h3>
<p>This is a one-liner command that will download, copy, and edit the VirtualBox repository file at once.</p>
<pre class="brush: bash; wrap-lines: true;">
su -c 'wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo; sed -i &quot;s,enabled=0,enabled=1,g&quot; /etc/yum.repos.d/virtualbox.repo'
</pre>
<h3><span style="color: #800000;">Step 2: Update Repository and Install VirtualBox-3.2</span></h3>
<p>This command will update yum repositories to include the new VirtualBox repository file we copied in the last step and then it will attempt to install VirtualBox-3.2 with dependencies.</p>
<pre class="brush: bash; wrap-lines: true;">
su -c 'yum update; yum install -y VirtualBox-3.2 dkms gcc'
</pre>
<h3><span style="color: #800000;">Step 3: Run VirtualBox Setup Script</span></h3>
<p>This command will run the VirtualBox driver setup script.</p>
<pre class="brush: bash; wrap-lines: true;">
su -c '/etc/init.d/vboxdrv setup'
</pre>
<p><span style="font-size: x-small;">If you&#8217;re having issues, try installing &#8220;kernel-PAE-devel&#8221; or &#8220;kernel-devel&#8221;.</span></p>
<h3><span style="color: #800000;">Step 4: Setup Groups for VirtualBox Access</span></h3>
<p>This command will add you to the vboxusers group.  Replace &#8220;username&#8221; with your actual username found by using the <code>whoami</code> command.</p>
<pre class="brush: bash; wrap-lines: true;">
su -c 'usermod -G vboxusers -a username'
</pre>
<p><span style="font-size: x-small;">If you find that you&#8217;re getting SELinux errors or denials, try adding VirtualBox.so as an exception with this command:<br />
 <code>su -c 'chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so'</code></span></p>
<h3><span style="color: #800000;">Step 5: Run VirtualBox</span></h3>
<p>Finally, run VirtualBox and have fun with it!</p>
<pre class="brush: bash; wrap-lines: true;">
VirtualBox
</pre>
<p> &nbsp; </p>
<p><strong>Appendix A:  To Properly Backup the VirtualBox Machine (.vdi):</strong></p>
<p>Please refer to my other page here:</p>
<p><a href="/2007/11/how-to-properly-backup-a-virtualbox-machine-vdi/" target="_blank">How To: Properly Backup a VirtualBox Machine (.VDI)</a></p>
<p><strong>Appendix B:  Setup a Pre-Built VirtualBox Guest Image</strong></p>
<p>Please refer to my other page here:</p>
<p><a href="/2010/02/how-to-setup-a-pre-built-virtualbox-guest-image-tutorialguide/">How To: Setup a Pre-Built VirtualBox Guest Image [Tutorial/Guide]</a></p>
<p><strong>Appendix C:  Shrinking a VirtualBox Guest Image</strong></p>
<p>Please refer to my other page here:</p>
<p><a href="/2010/02/shrinking-a-dynamic-virtualbox-disk-image/">Shrinking a Dynamic VirtualBox Disk Image</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/05/how-to-install-virtualbox-3-2-on-fedora-13/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Beagle Board Quick Start Guide with Setup Scripts</title>
		<link>http://www.thelinuxdaily.com/2010/05/beagle-board-quick-start-guide-with-setup-scripts/</link>
		<comments>http://www.thelinuxdaily.com/2010/05/beagle-board-quick-start-guide-with-setup-scripts/#comments</comments>
		<pubDate>Wed, 05 May 2010 14:00:00 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[beagleboard]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[sd card]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=1768</guid>
		<description><![CDATA[Here are a couple of scripts that will make the SD card setup quick and easy.]]></description>
			<content:encoded><![CDATA[<p>I recently got my hands on a <a href="http://beagleboard.org/">Beagle Board</a> to play around with at work, so I figured I would document and create a set of scripts that anybody can use to quickly setup a Beagle Board to boot from an SD card (2GB+).  I&#8217;m going to assume you know the standard blurb of instructions:  copy/download scripts, give them executable rights, and then run with root privileges while taking caution as to not mess up your Linux box.  Also, please keep in mind that images and file locations change over time.  Let&#8217;s begin!<br />
<span id="more-1768"></span></p>
<p>The first script (<code>setup_sd</code>) will setup your SD card with the proper partitions and geometry.  All you need to do is tell it where your SD card is.  If you don&#8217;t know, use either <code>dmesg</code> or <code>fdisk -l</code> to find out.  Likely, it&#8217;s located at <em>/dev/sdb</em>, so that&#8217;s what I&#8217;ll use here as an example on how to use this first script: <code>setup_sd /dev/sdb</code>.  This script was obtained from <a href="http://www.xora.org.uk/2009/08/14/omap3-sd-booting/">XorA</a>.  All I added was a quick check to make sure the user is calling it properly.</p>
<pre class="brush: bash;">
#!/bin/sh
# As per instructions:
# http://elinux.org/BeagleBoardBeginners

if [ $# -lt 1 ]; then
   echo &quot;example usage: $0 /dev/sdb&quot;
   exit 1
fi

DRIVE=$1

dd if=/dev/zero of=$DRIVE bs=1024 count=1024

SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`

echo DISK SIZE - $SIZE bytes

CYLINDERS=`echo $SIZE/255/63/512 | bc`

echo CYLINDERS - $CYLINDERS

{
echo ,9,0x0C,*
echo ,,,-
} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE

mkfs.vfat -F 32 -n &quot;boot&quot; ${DRIVE}1
mke2fs -j -L &quot;rootfs&quot; ${DRIVE}2
</pre>
<p>The second script (<code>load_sd</code>) will obtain and install the required files to boot the Beagle Board to the SD card.  Usage is very similar to the above script, <code>load_sd /dev/sdb</code>.  I would recommend creating a directory specifically for running this script within, ie. <em>mkdir beagleboard; cd beagleboard</em>, this way, everything is nice and tidy.</p>
<pre class="brush: bash;">
#!/bin/sh
# As per instructions:
# http://elinux.org/BeagleBoardBeginners

if [ $# -lt 1 ]; then
   echo &quot;example usage: $0 /dev/sdb&quot;
   exit 1
fi

DISK=$1

if [ -e Angstrom-Beagleboard* -a -e MLO -a -e u-boot* -a -e uImage* -a -e modules* ]; then
	echo &quot;All files found okay... &quot;

	echo &quot;Mounting ${DISK}1 and ${DISK}2&quot;
	mkdir /mnt/sd1; mount ${DISK}1 /mnt/sd1
	mkdir /mnt/sd2; mount ${DISK}2 /mnt/sd2
	sleep 2

	echo &quot;Copying to ${DISK}1 and ${DISK}2&quot;
	cp MLO u-boot.bin /mnt/sd1
	cp uImage* /mnt/sd1/uImage
	tar -xvf Angstrom-Beagleboard-demo-image*.tar.bz2 -C /mnt/sd2
	tar -xvf modules-2.6.*.tgz -C /mnt/sd2

	echo &quot;Unmounting ${DISK}1 and ${DISK}2&quot;
	umount ${DISK}1; umount ${DISK}2
	rm -rf /mnt/sd1 /mnt/sd2
	echo &quot;Done&quot;

else
	echo &quot;Files missing!&quot;
	echo &quot;Downloading required files... this may take some time.&quot;
   sleep 2

	wget http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-Beagleboard-demo-image-glibc-ipk-2010.3-beagleboard.rootfs.tar.bz2
	wget http://www.angstrom-distribution.org/demo/beagleboard/MLO
	wget http://www.angstrom-distribution.org/demo/beagleboard/u-boot.bin
	wget http://www.angstrom-distribution.org/demo/beagleboard/uImage-2.6.29-r47-beagleboard.bin
	wget http://www.angstrom-distribution.org/demo/beagleboard/modules-2.6.29-r47-beagleboard.tgz

   echo &quot;Finished downloading files.  Simply run \&quot;$0 /dev/sdX\&quot; again to load files to SD card.&quot;
fi
</pre>
<p>After these scripts have ran successfully, all you need to do is interrupt the startup sequence of Uboot (Beagle Board&#8217;s bootloader) and setup the environment variables to boot from the SD card as mentioned <a href="http://elinux.org/BeagleBoardBeginners#Setting_up_the_boot_args">here</a>.  For convenience, I have placed the commands you need to run here:</p>
<pre class="brush: bash;">
setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait'
setenv bootcmd 'mmc init;fatload mmc 0 80300000 uImage;bootm 80300000'
saveenv
</pre>
<p>Then, press the RESET button while holding down the USER button, and you&#8217;ll find yourself booting to the Angstrom distribution.  More information about it can be found <a href="http://code.google.com/p/beagleboard/wiki/HowToGetAngstromRunning">here</a>.</p>
<p><span style="font-size: x-small;"><strong>Sources:</strong><br />
<a href=" http://elinux.org/BeagleBoardBeginners">http://elinux.org/BeagleBoardBeginners</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/05/beagle-board-quick-start-guide-with-setup-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 13 Goddard on MacBook Aluminum 5,1 [Guide]</title>
		<link>http://www.thelinuxdaily.com/2010/04/fedora-13-goddard-on-macbook-aluminum-51-guide/</link>
		<comments>http://www.thelinuxdaily.com/2010/04/fedora-13-goddard-on-macbook-aluminum-51-guide/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 14:00:16 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[aluminum]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[goddard]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=1713</guid>
		<description><![CDATA[Update: May 25, 2010 &#8212; I was able to take some time to verify the following steps to installing Fedora 13 Final on MacBook Aluminum 5,1. Enjoy! This is my guide to getting Fedora 13 Goddard running on a MacBook Aluminium 5,1 (I believe this should work on more recent generations as well because the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: May 25, 2010</strong> &#8212; I was able to take some time to verify the following steps to installing Fedora 13 Final on MacBook Aluminum 5,1.  Enjoy!</p>
<p>This is my guide to getting Fedora 13 Goddard running on a MacBook Aluminium 5,1 (I believe this should work on more recent generations as well because the only difference was the addition of the SD card slot and Firewire port).  As with Fedora 12, there were many things that worked out of the box.  I have created this guide to help others get Fedora 13 installed on their MacBook Aluminum.<br />
<span id="more-1713"></span></p>
<h2>Table of Contents:</h2>
<p><a href="#PreStep">PreStep</a></p>
<p><a href="#Video">Video</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /></span></p>
<p><a href="#Wireless">Wireless</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/warning_small.png" alt="Needs manual install" /></span></p>
<p><a href="#Bluetooth">Bluetooth</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_small.png" alt="Works out of the box (OBO)" /></span></p>
<p><a href="#Touchpad">Touchpad</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /></span></p>
<p><a href="#Sound">Sound</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_small.png" alt="Working out of the box (OBO)" /></span></p>
<p><a href="#Function Keys">Function Keys</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /></span></p>
<p><a href="#Keymapping">Keymapping</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /></span></p>
<p><a href="#Webcam">Webcam</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_small.png" alt="Working out of the box (OBO)" /></span></p>
<p><a href="#Backlight">Backlight</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_small.png" alt="Working out of the box (OBO)" /></span></p>
<p><a href="#KeyboardBacklight">Keyboard Backlight</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /> </span></p>
<p><a href="#Power">Power/Battery</a> <span style="font-size: x-small;"><img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /></span></p>
<p><strong>Legend:</strong><br />
<img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_small.png" alt="Working out of the box (OBO)" /> =  Working out of the box (OBO)<br />
<img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/check_remark_small.png" alt="Working, but with comments" /> =  Working, but with comments<br />
<img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/warning_small.png" alt="Needs manual install" /> =  Needs manual install<br />
<img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/dont_small.png" alt="Won't work" /> =  Won&#8217;t work<br />
<img src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/query_small.png" alt="Not yet documented" /> =  Not yet documented (TBD)</p>
<h2><a name="PreStep">PreStep:</a></h2>
<p>Gain internet access using a hard-wired Ethernet connection then install and enable the RPM Fusion repos for both the free and non-free packages which will get wireless networking up and running (and also the nvidia drivers if you wish):</p>
<pre class="brush: bash; wrap-lines: true;">
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm''
</pre>
<p>Apply all updates to the system:</p>
<pre class="brush: bash; wrap-lines: true;">yum upgrade</pre>
<p>Yes, this step takes a bit of time, but it&#8217;s worth getting all the updated packages (less to fix).</p>
<h2><a name="Video">Video:</a></h2>
<p>The Nouveau drivers actually work out of the box, so nothing really <em>needs</em> to be done here, but if you want a better video experience including desktop effects (compiz), you&#8217;ll either need to get the proprietary Nvidia drivers from the RPM Fusion repository or enable the experimental 3D support from the Nouveau drivers using su -c &#8216;yum install mesa-dri-drivers-experimental&#8217;.  Then, to enable desktop effects, simply go to &#8220;System -> Preferences -> Desktop Effects&#8221; and enable them.</p>
<h2><a name="Wireless">Wireless:</a></h2>
<pre class="brush: bash; wrap-lines: true;">
su -
yum -y install akmod-wl akmods kernel-PAE-devel
akmods --akmod wl
modprobe lib80211
modprobe wl
exit
</pre>
<h2><a name="Bluetooth">Bluetooth:</a></h2>
<p>Bluetooth connections work out of the box.  I was able to test a pair of bluetooth headphones and a bluetooth mouse.</p>
<h2><a name="Touchpad">Touchpad:</a></h2>
<p>The touchpad works out of the box, but if you&#8217;d like to have two finger scrolling and such, navigate to the mouse settings in the main menu and select the &#8220;touchpad&#8221; tab:<br />
&#8220;System -&gt; Preferences -&gt; Mouse&#8221;</p>
<h2><a name="Sound">Sound:</a></h2>
<p>Sound works out of the box.  This includes the headphones and internal speakers.  Internal speakers turn off when headphones are plugged in and are turned back on when headphones are unplugged.</p>
<h2><a name="Function Keys">Function Keys:</a></h2>
<p>These are working out of the box, including the backlight and audio keys, but not including the keyboard backlight.</p>
<h2><a name="Keymapping">Keymapping:</a></h2>
<p>If you&#8217;d like to customize the keys a little more to your liking (for example, swapping the command and control keys), please refer to <a href="http://forums.fedoraforum.org/showthread.php?t=224444">this fedora forums post</a>.</p>
<h2><a name="Webcam">Webcam:</a></h2>
<p>Works out of the box.  Open &#8220;Cheese Webcam Booth&#8221; from &#8220;Applications -&gt; Sound and Video&#8221; to see.</p>
<h2><a name="Backlight">Backlight:</a></h2>
<p>Works out of the box.</p>
<h2><a name="KeyboardBacklight">Keyboard Backlight:</a></h2>
<p>The keyboard backlight works, but you need to manually increase and decrease the brightness (as mentioned in a comment by &#8220;Min&#8221; below).<br />
Max Brightness:</p>
<pre class="brush: bash; wrap-lines: true;">
su -c 'echo 255 &gt; /sys/devices/platform/applesmc.768/leds/smc\:\:kbd_backlight/brightness'
</pre>
<p>Min Brightness:</p>
<pre class="brush: bash; wrap-lines: true;">su -c 'echo 0 &gt; /sys/devices/platform/applesmc.768/leds/smc\:\:kbd_backlight/brightness'</pre>
<h2><a name="Power">Power/Battery:</a></h2>
<p>With a fresh install of Fedora 13, I realized that the battery indicator is way off and I&#8217;m getting notifications that I only have so many minutes of battery left.</p>
<p>I would also like to make a few observations after a few days worth of using the MacBook with Fedora.  In previous releases, it seemed that it tends to run hot and the battery life isn&#8217;t as good as it would be in Mac OSX.  I&#8217;ll report back in a few days after using it.<img src="check_remark_small.png" alt="" /></p>
<h2>Partition Scheme for Dual-Boot Mac OSX and Fedora 12</h2>
<p>By Request:<br />
This is my partition scheme for dual boot environment with Mac OSX and Fedora 13.  I have a totally separate partition for sharing my files between both the OSs (which requires a change in UID in Fedora from 500 to 501):<br />
<img class="aligncenter size-medium wp-image-719" title="MacBook-dualboot-fedora-macosx" src="http://www.derekhildreth.com/blog/wp-content/uploads/2009/11/Screenshot-dev-sda-GParted-300x143.png" alt="MacBook-dualboot-fedora-macosx" width="300" height="143" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/04/fedora-13-goddard-on-macbook-aluminum-51-guide/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Merging or Creating Read-Only Filesystems with Unionfs</title>
		<link>http://www.thelinuxdaily.com/2010/03/merging-or-creating-read-only-filesystems-with-unionfs/</link>
		<comments>http://www.thelinuxdaily.com/2010/03/merging-or-creating-read-only-filesystems-with-unionfs/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 15:00:49 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[read only]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[unionfs]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=1459</guid>
		<description><![CDATA[A brief overview and example usage of Unionfs for Linux including patching, building, installing, and finally, using the modules.  Several resources are conveniently gathered together here as well for further reading and investigating.]]></description>
			<content:encoded><![CDATA[<p>Recently, I was asked to make an embedded system running Linux completely read-only.  To accomplish this, I utilized the <code>unionfs</code> utility.  The standard blurb from the <a href="http://www.digipedia.pl/man/doc/view/unionfs.4/">man page</a> will shed some light on it:</p>
<blockquote><p>
Unionfs is not a command, but rather a file system. This manual page describes additional mount options that Unionfs supports.<br />
Unionfs is a stackable unification file system, which can appear to merge the contents of several directories (branches), while keeping their physical content separate. Unionfs is useful for unified source tree management, merged contents of split CD-ROM, merged separate software package directories, data grids, and more. Unionfs allows any mix of read-only and read-write branches, as well as insertion and deletion of branches anywhere in the fan-out. To maintain unix semantics, Unionfs handles elimination of duplicates, partial-error conditions, and more. </p></blockquote>
<p>In a nutshell, Unionfs allows you to layer directories into a single, mounted directory.  Once the module has been compiled and inserted, it&#8217;s very easy to use.  For example, to mount a read-only filesystem, you&#8217;ll want to replace any lines in your linuxrc file (if you don&#8217;t know what this is, you&#8217;ll want to read the article from <a href="http://www.logicsupply.com/blog/2009/01/27/how-to-build-a-read-only-linux-system/">logicsupply</a>) that mount your filesystem (at /mnt/root, for example) with something like this:</p>
<pre class="brush: bash;">
insmod /unionfs.ko
mkdir /mnt/root.ro /mnt/root.rw
mount -o ro /mnt/root.ro
mount -t tmpfs root.rw root.rw
mount -t unionfs -o dirs=/mnt/root.rw=rw:/mnt/root.ro=ro unionfs /mnt/root
</pre>
<p>In the above example, we insert the unionfs.ko module located in the / directory.  We then create the directories for which we will merge.  These directories are where we&#8217;ve mounted our root filesystem and the tmpfs filesystem.  Next, we mount our root filesystem as readonly to the root.ro mount point and then mount a tmpfs filesystem to root.rw which will become our writable layer.  Finally, we merge the two together and voila!  A read-only filesystem.  The next thing to do is to chroot to /mnt/root and you&#8217;re done.  Keep in mind that any changes made are being written to the tmpfs layer of unionfs and will not be persistent.</p>
<p>Take a look at these great articles on other example usage:<br />
<a href="http://www.logicsupply.com/blog/2009/01/27/how-to-build-a-read-only-linux-system/">http://www.logicsupply.com/blog/2009/01/27/how-to-build-a-read-only-linux-system/</a><br />
<a href="http://www.linuxjournal.com/article/7714">http://www.linuxjournal.com/article/7714</a></p>
<p>The most difficult part is getting your kernel to support it, but even this isn&#8217;t too difficult thanks to good patches on the main project website here:<br />
<a href="http://www.filesystems.org/project-unionfs.html">http://www.filesystems.org/project-unionfs.html</a></p>
<p>We&#8217;ll run through an example.  Say that your embedded system is using the 2.6.24 kernel and you want to use Unionfs.  The first things you&#8217;ll need to do is find the 2.6.24 patch on the Unionfs main project website, download it, extract it, and then apply it using a command like the following from within the kernel source directory (the same directory with the Makefile):</p>
<pre class="brush: bash;">
patch -p1 &lt; unionfs-2.5.4_for_2.6.24.7.diff
</pre>
<p>When patched, you&#8217;ll then need to use <code>make menuconfig</code> to select the Unionfs module.  Save the .config changes when prompted to do so and use the <code>make</code> command to compile the kernel and modules.  Install the kernel Image and the module into your embedded system and then try to insmod the driver.  It should just work.  Then, you can use the commands outlined above.</p>
<p>And that&#8217;s that!  Be sure to check out the links provided.  It would be too difficult to include everything there is to know about Unionfs in a single post.  I hope I was able to provide you with at least a start in using it.  Good luck and have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/03/merging-or-creating-read-only-filesystems-with-unionfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Wireless Connections in Terminal</title>
		<link>http://www.thelinuxdaily.com/2010/03/setup-wireless-connection-in-terminal/</link>
		<comments>http://www.thelinuxdaily.com/2010/03/setup-wireless-connection-in-terminal/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 03:11:29 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.thelinuxdaily.com/?p=1475</guid>
		<description><![CDATA[Although this may not be helpful to those running modern Linux distributions, it may be helpful to those who are in an embedded environment where things like Network Manager aren&#8217;t available. It may even be useful to know how to configure a wireless connection in the terminal for troubleshooting purposes (or maybe you just prefer [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thelinuxdaily.com/wp-content/uploads/2010/03/wireless.jpg" rel="lightbox[1475]"><img src="http://www.thelinuxdaily.com/wp-content/uploads/2010/03/wireless.jpg" alt="Wireless connections in Linux" title="wireless" width="200" height="199" class="left" /></a><br />
Although this may not be helpful to those running modern Linux distributions, it may be helpful to those who are in an embedded environment where things like Network Manager aren&#8217;t available.  It may even be useful to know how to configure a wireless connection in the terminal for troubleshooting purposes (or maybe you just prefer to do things quickly in the terminal without messing around with a GUI).  </p>
<p>Wireless devices vary greatly, so it&#8217;s near impossible to create a guide that&#8217;s going to work for all of them, but for the most part, these steps will get you there.  The first step is to find the correct wireless driver for you device&#8217;s chipset.  Drivers that work pretty well with Linux are from ralink and zydas.  There are others I&#8217;m sure, but it just so happens that the following steps work for both the rt2501usb (rt73) and zd1211b (zd1211rw or zd_b) drivers.  Once you&#8217;ve located the correct driver, use &#8220;insmod&#8221; to insert the module and then check out /proc/net/wireless to make sure the device was recognized properly.  For example:</p>
<pre class="brush: bash;">[/bash]
root# insmod rt73.ko
root# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 16
rausb0: 0000  100.  220   177        0      0      0      0      0        0
[bash]</pre>
<p>Once you&#8217;ve gotten this far, you should install the wpa_supplicant and wireless-tools packages so you can take advantage of <code>iwconfig</code> and others.  Here are a few useful commands:</p>
<ul>
<li><code>iwconfig</code> &#8212; use to check status such as associations</li>
<li><code>iwlist scan</code> &#8212; reports wireless networks available</li>
<li><code>pump OR dhclient OR udhcpc</code> &#8212; assign a dynamic IP address</li>
</ul>
<p>Another thing to note of the below steps are that the <code>rausb</code> drivers are being using to connect to WPA and WPA2 access points.  You may want to use <code>wext</code> instead depending on your environment and how the drivers were compiled.  With that said, let&#8217;s get to it&#8230;</p>
<ul>
<li><a href="#section1">Unencrypted</a></li>
<li><a href="#section2">WEP Encryption</a></li>
<li><a href="#section3">WPA Personal &#8211; TKIP</a></li>
<li><a href="#section4">WPA2 Personal &#8211; TKIP or AES</a></li>
<li><a href="#section5">AdHoc Mode</a></li>
</ul>
<h3><a id="section1">Unencrypted</a></h3>
<pre class="brush: plain;">
   1) Bring the rausb0 interface up
      * ifconfig rausb0 up
   2) Associate with the AP
      * iwconfig rausb0 essid the_essid
   3) Assign a static IP
      * ifconfig rausb0 192.168.1.101
</pre>
<h3><a id="section2">WEP Encryption</a></h3>
<pre class="brush: plain;">
   1) Bring the rausb0 interface up
      * ifconfig rausb0 up
   2) Associate with AP
      * iwconfig rausb0 essid the_essid key the_key
   3) Assign a static IP
      * ifconfig rausb0 192.168.1.101
</pre>
<h3><a id="section3">WPA Personal &#8211; TKIP</a></h3>
<pre class="brush: plain;">
   1) Bring the rausb0 interface up
      * ifconfig rausb0 up
   2) Generate a configuration file for wpa_supplicant to use
      * ./wpa_passphrase the_essid the_password &amp;gt; /etc/wpa_supplicant_custom.conf
   3) Use wpa_supplicant to associate with AP and run it in the background (-B)
      * ./wpa_supplicant -irausb0 -Dralink -c/etc/wpa_supplicant_custom.conf -B
   4) Assign a static IP
      * ifconfig rausb0 192.168.1.101
</pre>
<h3><a id="section4">WPA2 Personal &#8211; TKIP or AES</a></h3>
<pre class="brush: plain;">
   1) Bring the rausb0 interface up
      * ifconfig rausb0 up
   2) Generate a configuration file for wpa_supplicant to use
      * ./wpa_passphrase the_essid the_password &amp;gt; /etc/wpa_supplicant_custom.conf
   3) Insert &quot;proto=RSN&quot; into &quot;network&quot; block in /etc/wpa_supplicant_custom.conf
   4) Use wpa_supplicant to associate with AP and run it in the background (-B)
      * ./wpa_supplicant -irausb0 -Dralink -c/etc/wpa_supplicant_custom.conf -B
   5) Assign a static IP
      * ifconfig rausb0 192.168.1.101
</pre>
<h3><a id="section5">Adhoc Mode</a></h3>
<pre class="brush: plain;">
   1) Bring the rausb0 interface up
      * ifconfig rausb0 up
   2) Setup rausb0 for Adhoc mode
      * iwconfig rausb0 mode ad-hoc channel 3 enc off essid the_essid
   3) Assign a static IP
      * ifconfig 169.254.114.101 netmask 255.255.0.0
   4) Add default gateway to route (optional)
      * route add default gw 169.254.114.100
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/03/setup-wireless-connection-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Hard Word Wrap/Line Break Feature to Gedit [Tutorial]</title>
		<link>http://www.thelinuxdaily.com/2010/02/adding-hard-word-wrapline-break-feature-to-gedit-tutorial/</link>
		<comments>http://www.thelinuxdaily.com/2010/02/adding-hard-word-wrapline-break-feature-to-gedit-tutorial/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 16:52:21 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[gedit]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WILT]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[wrap]]></category>

		<guid isPermaLink="false">http://www.derekhildreth.com/blog/?p=1077</guid>
		<description><![CDATA[A hard word wrap or line break feature isn&#8217;t included in gedit by default, but it&#8217;s easily added by using the &#8216;External Tools&#8217; plugin and a two-liner shell script. This will allow you to format your documents with a line break at column 80, or whatever you&#8217;d like it to be, by selecting the text, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thelinuxdaily.com/wp-content/uploads/2010/02/gedit_wordwrap.png" rel="lightbox[1131]"><img class="left" title="gedit_wordwrap" src="http://www.thelinuxdaily.com/wp-content/uploads/2010/02/gedit_wordwrap-300x209.png" alt="A screenshot of the final settings for gedit word wrap (or line break)" width="300" height="209" /></a></p>
<p>A hard word wrap or line break feature isn&#8217;t included in gedit by default, but it&#8217;s easily added by using the &#8216;External Tools&#8217; plugin and a two-liner shell script.  This will allow you to format your documents with a line break at column 80, or whatever you&#8217;d like it to be, by selecting the text, paragraph, or entire document and applying the shell script.  Here&#8217;s how&#8230;</p>
<p>1. Open gedit<br />
2. Navigate to Edit -&gt; Preferences -&gt; Plugins<br />
3. Enable &#8220;External Tools&#8221; and press &#8220;Configure Plugin&#8221;<br />
4. Press &#8220;New&#8221; and enter &#8220;Line Break at Col 80&#8243; (or any name you like)<br />
5. Paste the following script in the &#8220;command(s)&#8221; text area (you can choose to leave out the #comments, these are only here as a reminder in case you want to modify it to fit your needs):</p>
<pre class="brush: bash;">
#!/bin/sh

BREAK=80

# fmt [-WIDTH][OPTION]... [FILE]...
# --uniform-spacing -- one space between words, two after sentences
# --split-only -- split long lines, but do not refill
# --width=WIDTH -- maximum line width (default of 75 columns)
# when FILE is -, read standard input

fmt --uniform-spacing --split-only --width $BREAK -
</pre>
<p>6. Choose &#8220;Current selection&#8221; as Input<br />
7. Choose &#8220;Replace current selection&#8221; as Output<br />
8. At this point, you can choose to create a shortcut key such as &#8220;ctrl+m&#8221; for easy access.<br />
8. Close &#8220;External Tools Manager&#8221; by pressing the &#8220;Close&#8221; button<br />
9. Now this script is executable under the &#8220;Tools&#8221; menu.   Alternatively, you can use your shortcut key for quick access.</p>
<p>The next step would be to somehow get gedit to automatically perform these hard wraps as your typing (like the evolution email client does).  If anybody has a suggestion, I&#8217;d love to hear about it in the comments below.  I&#8217;m very surprised that this isn&#8217;t included in the already many featured gedit program by default, but thankfully it&#8217;s very easily remedied with the method described above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/02/adding-hard-word-wrapline-break-feature-to-gedit-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guide on TFTP Server Setup in Fedora</title>
		<link>http://www.thelinuxdaily.com/2010/02/guide-on-tftp-server-setup-in-fedora/</link>
		<comments>http://www.thelinuxdaily.com/2010/02/guide-on-tftp-server-setup-in-fedora/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:13:43 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[TFTP]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WILT]]></category>

		<guid isPermaLink="false">http://www.derekhildreth.com/blog/?p=1050</guid>
		<description><![CDATA[This guide will help you understand the very basics of setting up a TFTP server.  This was written using Fedora 12 and tested with SELinux disabled. I have not yet confirmed if SELinux needs to be disabled, but I have confirmed that the firewall needs to be configured to allow port 69 (TFTP port).  Let&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>This guide will help you understand the very basics of setting up a TFTP server.  This was written using Fedora 12 and tested with SELinux disabled.  I have not yet confirmed if SELinux needs to be disabled, but I have confirmed that the firewall needs to be configured to allow port 69 (TFTP port).  Let&#8217;s get to it&#8230;</p>
<p><span id="more-1126"></span></p>
<p><strong>1.) Install the tftp-server package</strong></p>
<pre class="brush: plain; light: true;">yum install -y tftp-server</pre>
<p><strong>2.) Enable TFTP by making the following change to the <em>/etc/xinetd.d/tftp</em> file</strong></p>
<p>Find <code>disable = yes</code>, make it <code>no</code></p>
<p><strong>3.) Turn everything on and start the xinetd service</strong></p>
<pre class="brush: plain; light: true;">
chkconfig tftp on
/sbin/chkconfig xinetd on
/sbin/service xinetd start
</pre>
<p><strong>4.) Poke a hole in the firewall to allow TFTP access</strong><br />
<strong>CLI:</strong> Insert the following line before the &#8220;COMMIT&#8221; line of <em>/etc/sysconfig/iptables</em> and then restart the service with &#8216;service iptables restart&#8217;:</p>
<pre class="brush: plain; light: true;">-A INPUT -m state --state NEW -m udp -p udp --dport 69 -j ACCEPT</pre>
<p><strong>GUI:</strong> System -&gt; Administration -&gt; Firewall, put a checkmark on TFTP, and finally click apply.</p>
<p><strong>Additional Information:</strong><br />
The TFTP server root directory is set to <em>/var/lib/tftpboot/</em> by default but can be changed in the <em>/etc/xinetd.d/tftp</em> file.</p>
<p>Proper permissions to allow the TFTP daemon to update the files located in the TFTP server root directory are 666:</p>
<pre class="brush: plain; light: true;">chmod 666 /var/lib/tftpboot/bootpImage</pre>
<p><span style="font-size: xx-small;"><strong>Sources:</strong></span><br />
<span style="font-size: xx-small;"><a href="http://llbb.wordpress.com/2007/06/14/installing-tftp-on-fedora/">http://llbb.wordpress.com/2007/06/14/installing-tftp-on-fedora/</a></span><br />
<span style="font-size: xx-small;"><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd">http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/02/guide-on-tftp-server-setup-in-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Fix &#8220;public key is not available&#8221; Message</title>
		<link>http://www.thelinuxdaily.com/2010/02/how-to-fix-public-key-is-not-available-message/</link>
		<comments>http://www.thelinuxdaily.com/2010/02/how-to-fix-public-key-is-not-available-message/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 17:48:33 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[keyring]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[WILT]]></category>

		<guid isPermaLink="false">http://www.derekhildreth.com/blog/?p=1036</guid>
		<description><![CDATA[Here are the steps that I have taken in the past to fix the &#8220;public key is not available:&#8221; message while trying to use apt-get: 1.) Use apt-get to install debian-archive-keyring apt-get install debian-archive-keyring 2.) Try using apt-get again. Additional information will be provided. 3.) Use additional information from last attempt with gpg commands. Replace [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the steps that I have taken in the past to fix the &#8220;public key is not available:&#8221; message while trying to use apt-get:</p>
<p><strong>1.) Use apt-get to install debian-archive-keyring</strong></p>
<pre class="brush: plain; light: true;">apt-get install debian-archive-keyring</pre>
<p><strong>2.) Try using apt-get again.  Additional information will be provided.</strong></p>
<p><strong>3.) Use additional information from last attempt with gpg commands.</strong></p>
<p>Replace the KEYNUMBER with the actual keynumber that you should now have from running apt-get again.</p>
<pre class="brush: plain; light: true;">gpg --keyserver wwwkeys.eu.pgp.net --recv-keys KEYNUMBER
gpg --armor --export KEYNUMBER | sudo apt-key add -</pre>
<p><strong>4.) Update apt-get to resynchronize the package index files.</strong></p>
<pre class="brush: plain; light: true;">apt-get update</pre>
<p><strong>5.) You should be good to go! </strong></p>
<p>Keep in mind you may need to run apt-get update a couple of times.  Also, make sure your date is set correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/02/how-to-fix-public-key-is-not-available-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create/Compress/Archive Almost Any File in Linux (tar, tar.gz, tar.bz2, gz, bz, zip, 7z, rar, etc&#8230;)</title>
		<link>http://www.thelinuxdaily.com/2010/02/createcompressarchive-almost-any-file-in-linux-tar-tar-gz-tar-bz2-gz-bz-zip-7z-rar-etc/</link>
		<comments>http://www.thelinuxdaily.com/2010/02/createcompressarchive-almost-any-file-in-linux-tar-tar-gz-tar-bz2-gz-bz-zip-7z-rar-etc/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 17:55:30 +0000</pubDate>
		<dc:creator>Derek@TheDailyLinux</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WILT]]></category>

		<guid isPermaLink="false">http://www.derekhildreth.com/blog/?p=1025</guid>
		<description><![CDATA[This is a no-frills Linux command line guide/cheat sheet that will help you archive or compress just about any file that you&#8217;re bound to come across. If you&#8217;d like to have more options, read the man pages! Also, the opposite to this guide about extracting/uncompressing/unarchiving files in Linux can be found here. Preliminary: Most compression [...]]]></description>
			<content:encoded><![CDATA[<p>This is a no-frills Linux command line guide/cheat sheet that will help you archive or compress just about any file that you&#8217;re bound to come across.  If you&#8217;d like to have more options, read the man pages!  Also, the opposite to this guide about extracting/uncompressing/unarchiving files in Linux can be found <a href="http://www.derekhildreth.com/blog/extractunarchive-almost-any-file-in-linux-tar-tar-gz-tar-bz2-gz-bz-zip-7z-rar-etc">here</a>.<br />
<span id="more-1025"></span></p>
<h3>Preliminary:</h3>
<p>Most compression or archiving methods that you may want are already built into popular distributions (Ubuntu, Fedora, Suse, etc&#8230;), but some of them aren&#8217;t.  I would recommend installing this group of packages using <code>apt-get</code>, <code>yum</code>, or an equivalent before using this guide (unless of course you already know what you need):</p>
<pre style="padding-left: 30px;">su -c 'yum install unzip zip p7zip rar unrar bzip2 gzip lzma'</pre>
<h3>.tar</h3>
<pre style="padding-left: 30px;">tar cvf filename.tar /dir</pre>
<h3>.tar.gz</h3>
<pre style="padding-left: 30px;">tar czvf filename.tar.gz /dir</pre>
<h3>.tgz</h3>
<pre style="padding-left: 30px;">tar cvzf filename.tgz /dir</pre>
<h3>.tar.gz2</h3>
<p style="padding-left: 30px;">You probably mean .tar.bz2</p>
<h3>.tar.bz</h3>
<pre style="padding-left: 30px;">tar cjvf filename.tar.bz /dir</pre>
<h3>.tbz</h3>
<pre style="padding-left: 30px;">tar cjvf filename.tbz /dir</pre>
<h3>.tar.bz2</h3>
<pre style="padding-left: 30px;">tar cjvf filename.tar.bz2 /dir</pre>
<h3>.tar.Z</h3>
<pre style="padding-left: 30px;">.Z is an old naming convention which has moved to .gz.  See .tar.gz above.</pre>
<h3>.tar.xz</h3>
<pre style="padding-left: 30px;">tar cvf -  filenames | lzma > filename.tar.xz </pre>
<h3>.gz</h3>
<pre style="padding-left: 30px;">gzip filename</pre>
<h3>.gz2</h3>
<p style="padding-left: 30px;">You probably mean .bz2</p>
<h3>.bz</h3>
<pre style="padding-left: 30px;">bzip filename</pre>
<h3>.bz2</h3>
<pre style="padding-left: 30px;">bzip2 filename</pre>
<h3>.Z</h3>
<pre style="padding-left: 30px;">.Z is an old naming convention which has moved to .gz.  See .gz above.</pre>
<h3>.xz</h3>
<pre style="padding-left: 30px;">lzma filename</pre>
<h3>.zip</h3>
<pre style="padding-left: 30px;">zip -r filename.zip /dir</pre>
<h3>.7z</h3>
<pre style="padding-left: 30px;">7z a -t7z filename.7z /dir</pre>
<h3>.rar</h3>
<pre style="padding-left: 30px;">rar a filename.rar /dir</pre>
<h3>.dmg</h3>
<p style="padding-left: 30px;">This is a bit more complicated than what I have time for.  Looks like <a href="http://www.trampolinesystems.com/blog/machines/2008/05/19/creating-dmg-files-without-macos-x/">somebody has already figured something out</a>. </p>
<h3>.dd</h3>
<p style="padding-left: 30px;">Create these image files using:</p>
<pre style="padding-left: 30px;">dd if=inputfile.dd of=outputfile.dd</pre>
<h3>.more?</h3>
<p style="padding-left: 30px;">Have more to share?  I wouldn&#8217;t mind hearing about it in the comments if you do!</p>
<h3>.trouble?</h3>
<p style="padding-left: 30px;">Let me know about it in the comments.  We&#8217;ll get it straightened out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelinuxdaily.com/2010/02/createcompressarchive-almost-any-file-in-linux-tar-tar-gz-tar-bz2-gz-bz-zip-7z-rar-etc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
