<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12109819</id><updated>2011-12-11T06:10:10.411-07:00</updated><category term='Wireless'/><category term='Distros'/><category term='Gaming'/><category term='Window Manager'/><category term='Security'/><category term='Mouse'/><category term='Backup'/><category term='X11'/><category term='/dev/random'/><category term='Scripts'/><category term='RAID'/><title type='text'>Penguin Geek</title><subtitle type='html'>My online journal/blog of various how-tos for normal Linux users. Also serves as a reminder for me.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12109819.post-6601372610711325309</id><published>2011-12-10T09:41:00.001-07:00</published><updated>2011-12-11T06:10:10.451-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wireless'/><title type='text'>BCM4311 Wireless Firmware in Arch Linux</title><content type='html'>I have the BCM4311 wireless card on my Dell Inspiron 1521 latptop, and Arch detects it, but still needs the firmware to use the wireless card. The &lt;a href="https://wiki.archlinux.org/index.php/Broadcom_wireless"&gt;Arch Wiki&lt;/a&gt; has all the info you need, but tracking it down and determining the step-by-step process can be elusive. If you are new to Arch Linux, or just got a laptop with this adapter (or similar model), here are the steps to getting the wireless working.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;ol&gt;&lt;li&gt;Download the latest&amp;nbsp;&lt;a href="https://aur.archlinux.org/packages.php?K=b43-firmware&amp;amp;SeB=x"&gt;firmware&lt;/a&gt;&amp;nbsp;from the AUR&lt;/li&gt;&lt;ul&gt;&lt;li&gt;You will be downloading the tarball (.tar.gz file).&amp;nbsp;However you get the file, I put the file in&amp;nbsp;&lt;i&gt;&lt;b&gt;/home/jbess/Downloads/builds&lt;/b&gt;&lt;/i&gt;&amp;nbsp;on my laptop,&lt;i&gt;&amp;nbsp;&lt;/i&gt;but you can put it anywhere you want.&amp;nbsp;&lt;/li&gt;&lt;li&gt;You will need to connect your laptop via ethernet cable and&amp;nbsp;either&amp;nbsp;download the file via a web browser or&amp;nbsp;&lt;i&gt;&lt;b&gt;wget&lt;/b&gt;&lt;/i&gt;&amp;nbsp;in command line.&lt;/li&gt;&lt;li&gt;You can also download the file(s) from another computer and put them on a USB drive or CD/DVD and transfer them to your laptop. If this is the case, you will also need the actual firmware file too. Download that from&amp;nbsp;&lt;a href="http://mirror2.openwrt.org/sources/"&gt;http://mirror2.openwrt.org/sources/&lt;/a&gt;. Locate the&amp;nbsp;&lt;i&gt;&lt;b&gt;broadcom-wl-{version}_mipsel.tar.bz2&lt;/b&gt;&lt;/i&gt;, where {version} matches the version number found in the AUR package. At the time of writing this, it is&amp;nbsp;5.10.56.27.3-2, so you would locate the&lt;i&gt;&amp;nbsp;&lt;/i&gt;broadcom-wl-5.10.56.27.3_mipsel.tar.bz2 file. *Note:&amp;nbsp;In ArchBang, I had to also download and install &lt;a href="http://www.archlinux.org/packages/?sort=&amp;amp;q=b43-fwcutter&amp;amp;maintainer=&amp;amp;last_update=&amp;amp;flagged=&amp;amp;limit=50"&gt;b43-fwcutter&lt;/a&gt;, which pulls out the firmware from the openwrt.org file.&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Unzip the tarball&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Using a console (command line), navigate to the directory you downloaded the tarball, and untar it. Use the command &lt;i&gt;&lt;b&gt;tar -xf b43-firmware.tar.gz&lt;/b&gt;.&lt;/i&gt; Now run&amp;nbsp;&lt;i&gt;&lt;b&gt;cd&amp;nbsp;b43-firmware&lt;/b&gt;&lt;/i&gt;&amp;nbsp;to change into the untar'd directory.&lt;/li&gt;&lt;li&gt;If you don't have a network connection and had to separately download the actual firmware from openwrt.org, put that .tar.bz2 file into the b43-firmware directory.&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Run &lt;i&gt;makepkg&lt;/i&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;As a normal user, run &lt;i&gt;&lt;b&gt;makepkg -s&lt;/b&gt;&lt;/i&gt;. If there are any dependency problems (and network connected) it will try to solve it or will tell you what else you need to install.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Install the b43-firmware package&lt;/li&gt;&lt;ul&gt;&lt;li&gt;As root or with sudo, run &lt;i&gt;&lt;b&gt;pacman -U *.xz&lt;/b&gt;&lt;/i&gt;&amp;nbsp;to install the firmware.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Reboot the system&lt;/li&gt;&lt;ul&gt;&lt;li&gt;When you are up and running again, you should be able to follow the directions on the &lt;a href="https://wiki.archlinux.org/index.php/Wireless#Part_II:_Wireless_management"&gt;Arch wiki&lt;/a&gt; for managing your wireless connection.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;div&gt;The whole process is a lot simpler if you can have ethernet plugged in.&amp;nbsp;Dependencies&amp;nbsp;can easily be resolved, as well as you only have to download the one b43-firmware tarball from AUR.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-6601372610711325309?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/6601372610711325309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=6601372610711325309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6601372610711325309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6601372610711325309'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/12/bcm4311-wireless-firmware-in-arch-linux.html' title='BCM4311 Wireless Firmware in Arch Linux'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-9066789651756156158</id><published>2011-11-28T12:47:00.000-07:00</published><updated>2011-11-28T12:47:31.389-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Distros'/><title type='text'>Arch Linux: A new (to me) distribution</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://d11xdyzr0div58.cloudfront.net/main-20111101/media/logos/archlinux-logo-dark-90dpi.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="66" src="http://d11xdyzr0div58.cloudfront.net/main-20111101/media/logos/archlinux-logo-dark-90dpi.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;So I've griped about how slow Mandriva was getting on my laptop, and how I finally settled on Fedora. But I soon found that Fedora had it's own set of annoyances, though I don't remember what they are now. How can I so quickly forget? Because I've installed &lt;a href="http://www.archlinux.org/"&gt;Arch Linux&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;The hardest part of the Arch install on my laptop was installing the BCM4311 drivers for my wireless card. And to tell you the truth, it really wasn't all that hard. I just followed the directions in the &lt;a href="https://wiki.archlinux.org/index.php/Main_Page"&gt;ArchWiki&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Well a few weeks after I installed Arch on my laptop, I had a major problem with Mandriva on my desktop. I ran the 2011 upgrade, and it completely botched my system. So I booted to the Arch Netboot CD, copied my documents and other files from the Linux partition to my Windows partition (I could have just as easily moved it to my NFS server), and then installed Arch on my desktop. My desktop seems screaming fast now, and I feel like I have complete control over my OS now.&lt;br /&gt;&lt;br /&gt;I installed KDE on both the laptop and desktop. I still have a few apps I need to install, and a couple of services to install and enable (like ntp). But I think I am convert to the &lt;a href="https://wiki.archlinux.org/index.php/The_Arch_Way"&gt;Arch way&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Simplicity&lt;/li&gt;&lt;li&gt;Code-correctness over convenience&lt;/li&gt;&lt;li&gt;User-centric&lt;/li&gt;&lt;li&gt;Openness&lt;/li&gt;&lt;li&gt;Freedom&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-9066789651756156158?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/9066789651756156158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=9066789651756156158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/9066789651756156158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/9066789651756156158'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/11/arch-linux-new-to-me-distribution.html' title='Arch Linux: A new (to me) distribution'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-5912299205586313093</id><published>2011-11-03T12:12:00.000-06:00</published><updated>2011-11-03T12:12:48.530-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>Stop SSH attacks</title><content type='html'>If you run a server that has SSH accessible by the public, there are a few things you can do to secure it. Among them, I use a simple script that runs every hour (set up in cron). The script finds the attackers and blocks their IP using hosts.deny.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I don't remember if I created this script or copied it some somewhere. Either way, it's been modified for my purposes. To get this to work, you may have to create the /usr/local/sshd_block directory, and have sshd running under tcpwrapper. Name the script whatever you want, and set it to run as often as you would like in cron.&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;# Remove old file entries&lt;br /&gt;cd /usr/local/sbin&lt;br /&gt;rm block.txt&lt;br /&gt;rm new_block.txt&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;# Parse the messages file and extract the sshd lines&lt;br /&gt;grep sshd /var/log/messages | grep Invalid &amp;gt;&amp;gt; block.txt&lt;/blockquote&gt;&lt;blockquote&gt;# Cut only the IP addresses out of that file, except for my network&lt;br /&gt;rev block.txt | cut -d \ &amp;nbsp;-f 1 | sort | uniq | rev | grep -v 10.0.0. &amp;gt;&amp;gt; new_block.txt&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;# Add the references from new_block.txt to the ssh.blacklist&lt;br /&gt;target=`cat new_block.txt`&lt;br /&gt;for i in $target; do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo ALL:$i &amp;gt;&amp;gt; /etc/hosts.deny&lt;br /&gt;done&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;# Remove duplicate entries from ssh.blacklist&lt;br /&gt;cat /etc/hosts.deny | sort | uniq &amp;gt; /etc/hosts.deny.new&lt;br /&gt;mv /etc/hosts.deny.new /etc/hosts.deny&lt;/blockquote&gt;&lt;div&gt;Obviously, change the 10.0.0. line to whatever your network is (ex. 192.168.0.). I've been running this script for a year or so, and my hosts.deny file now has over 700 lines in it.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-5912299205586313093?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/5912299205586313093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=5912299205586313093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5912299205586313093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5912299205586313093'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/11/stop-ssh-attacks.html' title='Stop SSH attacks'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-5192943509722754791</id><published>2011-10-24T12:19:00.005-06:00</published><updated>2011-10-25T12:05:33.751-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='/dev/random'/><title type='text'>Tux Pumpkin update</title><content type='html'>I've noticed that my post from 2005 and my Tux pumpkin has become a popular hit according to Google Analytics. I've also seen that Googling "Tux Pumpkin" results in my 2005 post coming up as #5 result.&lt;br /&gt;&lt;br /&gt;I was checking the link for the stencil in that post, and saw it is no longer available from pumpkin lady, at least not free. I located another place with the stencil, and as a service to the internet, and Linux lovers everywhere, I will host the images through this blog.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;The site I found the stencils on is&amp;nbsp;&lt;a href="http://josh.bressers.name/tux_pumpkin_stencil/index.html"&gt;http://josh.bressers.name/tux_pumpkin_stencil/index.html&lt;/a&gt;. Josh, I hope you don't mind me borrowing these images, yet still giving you credit for originally hosting them. Most importantly Josh has two different types of stencils. This first one, you just cut out like you would any other stencil, remove everything except the black. The second one you actually cut out the black, except shaded grey areas are for skinning the pumpkin so the light shines through, but the pumpkin meat remains in these areas. Send me a message if you are confused by any of this. Without further delays, here are the stencils (Important: click on the image to get the full size, then right-click, and save image).&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-_-GB59c4afw/TqWrgndG9uI/AAAAAAAAEuQ/hvGesdbKEvE/s1600/Tux-pumpkin-stencil.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-_-GB59c4afw/TqWrgndG9uI/AAAAAAAAEuQ/hvGesdbKEvE/s200/Tux-pumpkin-stencil.png" width="148" /&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/-Ai7iYJdfGJw/TqWriD1OzhI/AAAAAAAAEuY/Ak3T53SFfZQ/s1600/Better-pumpkin-stencil.jpg" imageanchor="1" style="clear: right; display: inline !important; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-Ai7iYJdfGJw/TqWriD1OzhI/AAAAAAAAEuY/Ak3T53SFfZQ/s200/Better-pumpkin-stencil.jpg" width="168" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-5192943509722754791?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/5192943509722754791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=5192943509722754791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5192943509722754791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5192943509722754791'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/10/tux-pumpkin-update.html' title='Tux Pumpkin update'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-_-GB59c4afw/TqWrgndG9uI/AAAAAAAAEuQ/hvGesdbKEvE/s72-c/Tux-pumpkin-stencil.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-1333741938447673984</id><published>2011-10-18T19:02:00.000-06:00</published><updated>2011-10-18T19:02:15.652-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Window Manager'/><title type='text'>Can a KDE user change to Gnome?</title><content type='html'>I was having issues with XFCE as a window manager locking up after an hour, and other small things not working. So I went searching for something different. I decided to give Fedora 15 a try with Gnome 3.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;After installing from DVD, the interface had a generally clean appearance. I had to play with it a few minutes to find how to switch between virtual desktops. I'm sure there was a hot key, but it needs to be available easier by mouse.&lt;br /&gt;&lt;br /&gt;The task bar and launcher are combined, and pop up when you move your mouse to the top left of the screen. It was a little awkward to find programs, but there is a search bar you can just start typing to find a program you want.&lt;br /&gt;&lt;br /&gt;The most annoying thing was the lack of customization. I couldn't find anything about the interface except the desktop wallpaper that I could change that would make it all personalized.&lt;br /&gt;&lt;br /&gt;This is what I miss the most about KDE. I am currently downloading Fedora 15 with KDE. I guess as a hard-core KDE user, you can't change to Gnome with any amount of regret or&amp;nbsp;disappointment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-1333741938447673984?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/1333741938447673984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=1333741938447673984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/1333741938447673984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/1333741938447673984'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/10/can-kde-user-change-to-gnome.html' title='Can a KDE user change to Gnome?'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-5296360125114661469</id><published>2011-09-24T07:03:00.003-06:00</published><updated>2011-11-12T07:28:01.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mouse'/><category scheme='http://www.blogger.com/atom/ns#' term='X11'/><title type='text'>XFCE Touchpad Edge Scroll</title><content type='html'>I installed Fedora 15 with XFCE on my Dell Inspiron 1521. One of the little quirks was having to enable edge scrolling on the touchpad. I have vertical as well as horizontal scrolling on this touchpad, and it wasn't working by default. A few Google searches later, I found what I needed to do.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Open up /usr/share/X11/xorg.conf.d/50-synaptics.conf as root in a text editor (vi, nano, whatever).&lt;br /&gt;&lt;br /&gt;Find the section that looks like this:&lt;br /&gt;&lt;blockquote&gt;Section "InputClass"&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Identifier "touchpad catchall"&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Driver "synaptics"&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MatchIsTouchpad "on"&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MatchDevicePath "/dev/input/event*"&lt;br /&gt;EndSection&lt;/blockquote&gt;Add the following lines before the EndSection:&lt;br /&gt;&lt;blockquote&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Option "VertEdgeScroll" "1"&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Option "HorizEdgeScroll" "1"&amp;nbsp;&lt;/blockquote&gt;Save your file, and either reboot or hit CTL-ALT-BACKSPACE to restart Xserver. You can check out the man page for synclient, and see what other options you can enable, and even test them manually before editing any config file.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-5296360125114661469?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/5296360125114661469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=5296360125114661469' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5296360125114661469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/5296360125114661469'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/09/xfce-touchpad-edge-scroll.html' title='XFCE Touchpad Edge Scroll'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-8498366122834593626</id><published>2011-09-23T19:35:00.000-06:00</published><updated>2011-09-23T19:35:26.309-06:00</updated><title type='text'>The NEW Linux Counter</title><content type='html'>There have been some changes within the last month to the Linux Counter Project. Their site has moved to&amp;nbsp;&lt;a href="http://linuxcounter.net/"&gt;http://linuxcounter.net&lt;/a&gt;, and is under new management.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-8498366122834593626?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/8498366122834593626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=8498366122834593626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/8498366122834593626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/8498366122834593626'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/09/new-linux-counter.html' title='The NEW Linux Counter'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-1665126417905560185</id><published>2011-09-23T14:01:00.001-06:00</published><updated>2011-09-23T19:05:06.618-06:00</updated><title type='text'>Seriously, it's been this long?</title><content type='html'>So apparently it's been over 4 years since I've updated my Linux blog. I am still very active using and supporting Linux.&amp;nbsp;I find now days the only reason I dual boot back to Windows is to watch Netflix. I don't do much gaming anymore, and Guild Wars runs really well in WINE, there is no need to go to Windows much anymore.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I am active as a member, moderator, and part owner of the Google Linux Users Group, which is still going strong.&amp;nbsp;I have Mandriva 2010.2 installed on my desktop and server, and Fedora 15 XFCE on the laptop.&amp;nbsp;I tried running Arch on the laptop when I saw that the latest Mandriva versions were becoming slow on it. I had overall good luck, but I missed some of the install and forget comforts of my popular distros. I decided to try our Fedora with XFCE, and it works great, doing everything I need it to.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will keep an eye out for things I should be posting on here, and work on providing posts more frequently.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-1665126417905560185?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/1665126417905560185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=1665126417905560185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/1665126417905560185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/1665126417905560185'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2011/09/seriously-its-been-this-long.html' title='Seriously, it&apos;s been this long?'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-6892355993650954510</id><published>2007-06-11T07:35:00.000-06:00</published><updated>2007-06-11T07:39:21.800-06:00</updated><title type='text'>Arrow keys in vi</title><content type='html'>I recently installed Mandriva 2007 Spring on a couple of machines. One of the annoyances was the fact I could not use my arrow keys in vi like I used to. To resolve this, type the command:&lt;br /&gt;&lt;br /&gt;echo set nocompatible &gt;&gt; ~/.vimrc&lt;br /&gt;&lt;br /&gt;That's all there is to it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-6892355993650954510?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/6892355993650954510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=6892355993650954510' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6892355993650954510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6892355993650954510'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2007/06/arrow-keys-in-vi.html' title='Arrow keys in vi'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-9005189237467911213</id><published>2007-05-09T17:45:00.001-06:00</published><updated>2011-09-23T19:23:37.709-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>My backup scripts</title><content type='html'>I wanted to automate my backups of select files. I wanted my backup to do a monthly full backup, and a weekly incremential. I also wanted a rolling backup, so anything over the last 2 months would be overwritten or deleted.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt; &lt;span style="font-weight: bold;"&gt;Here is my monthly backup script, I saved as /etc/cron.monthly/monthly.bu:&lt;/span&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;# Monthly backup script&lt;br /&gt;# Makes a full backup&lt;br /&gt;&lt;br /&gt;# Change the 2 variables below to fit your computer/backup&lt;br /&gt;DIRECTORIES="/root /etc /var/log"                 # directories to backup&lt;br /&gt;BACKUPDIR=/server/gonzobu                          # where to store the backups&lt;br /&gt;&lt;br /&gt;# You should not have to change anything below here&lt;br /&gt;MO=`date +%b`                      # Month name e.g. Apr&lt;br /&gt;LOGFILE=$BACKUPDIR/$HOSTNAME.log    # Log file&lt;br /&gt;TIMEFILE=$BACKUPDIR/lastbackup        # File to remember last backup&lt;br /&gt;&lt;br /&gt;# Monthly full backup&lt;br /&gt;tar --totals -cvf $BACKUPDIR/$HOSTNAME-$MO.tar $DIRECTORIES &amp;amp;&amp;gt; $LOGFILE&lt;br /&gt;&lt;br /&gt;# Display settings for mailed in report by cron daemon.&lt;br /&gt;echo Monthly full backup completed.&lt;br /&gt;# Show stats and file names backed up, not top level directories&lt;br /&gt;grep -v "not dumped" $LOGFILE | grep -v "/$"&lt;br /&gt;# For stats only, comment line above, and uncomment line below&lt;br /&gt;# grep "Total bytes" $LOGFILE&lt;br /&gt;&lt;br /&gt;# Update lastbackup file&lt;br /&gt;touch $TIMEFILE&lt;br /&gt;&lt;br /&gt;# Clean up old backups (set to keep the last 2 months of backups)&lt;br /&gt;find $BACKUPDIR -mtime +68 -delete&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;And here is my weekly backup I saved as /etc/cron.weekly/weekly.bu:&lt;/span&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;# Weekly backup script&lt;br /&gt;# Makes a incremental backup&lt;br /&gt;&lt;br /&gt;# Change the 2 variables below to fit your computer/backup&lt;br /&gt;DIRECTORIES="/root /etc /var/log"                 # directories to backup&lt;br /&gt;BACKUPDIR=/server/gonzobu                          # where to store the backups&lt;br /&gt;&lt;br /&gt;# You should not have to change anything below here&lt;br /&gt;DM=`date +%d%b`                      # Date and Month e.g. 27Sep&lt;br /&gt;LOGFILE=$BACKUPDIR/$HOSTNAME.log    # Log file&lt;br /&gt;TIMEFILE=$BACKUPDIR/lastbackup        # File to remember last backup&lt;br /&gt;&lt;br /&gt;# Check if first time run&lt;br /&gt;if [ -f $TIMEFILE ]; then&lt;br /&gt;NEWER="-N $TIMEFILE"&lt;br /&gt;else&lt;br /&gt;NEWER=""&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;# Weekly incremental backup&lt;br /&gt;tar $NEWER --totals -cvf $BACKUPDIR/$HOSTNAME-$DM.tar $DIRECTORIES &amp;amp;&amp;gt; $LOGFILE&lt;br /&gt;&lt;br /&gt;# Display settings for mailed in report by cron daemon&lt;br /&gt;echo Weekly incremental backup completed.&lt;br /&gt;# Show stats and filesnames backed up, not top level directories&lt;br /&gt;grep -v "not dumped" $LOGFILE | grep -v "/$"&lt;br /&gt;# For stats only, comment line above and uncomment line below&lt;br /&gt;# grep "Total bytes" $LOGFILE&lt;br /&gt;&lt;br /&gt;# Update lastbackup file&lt;br /&gt;touch $TIMEFILE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To make these work, first you need to create the backup directory in your file system. Then change the variables in each file to match your system (files to backup, and where to put the backups). Be sure to make both scripts executable. That's all there is to it.&lt;br /&gt;&lt;br /&gt;To explain why I did the 68 days at the end of the monthly script, it's because I wanted to save a full 2 months. 31 days + 30 days + 1 full week (in case the week ends before the cron job runs).&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-9005189237467911213?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/9005189237467911213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=9005189237467911213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/9005189237467911213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/9005189237467911213'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2007/05/my-backup-scripts.html' title='My backup scripts'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-411848151972570680</id><published>2007-02-09T18:00:00.001-07:00</published><updated>2011-09-23T19:27:33.400-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mouse'/><category scheme='http://www.blogger.com/atom/ns#' term='Gaming'/><category scheme='http://www.blogger.com/atom/ns#' term='X11'/><title type='text'>Use all 5 buttons on your mouse</title><content type='html'>I have a Logitech MX400 Laser mouse. It has  a tilt scroll wheel, and two side buttons. I have these two side buttons mapped in Guild Wars for targeting. So here is how you get them working.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;Edit /etc/X11/xorg.conf. Find the section "InputDevice". Add the &lt;span style="font-weight: bold;"&gt;bold&lt;/span&gt; items below.&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;Identifier "Mouse1"&lt;br /&gt;Driver "mouse"&lt;br /&gt;Option "Protocol" "ExplorerPS/2"&lt;br /&gt;Option "Device" "/dev/mouse"&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Option "Buttons" "7"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Option "ZAxisMapping" "4 5"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Option "Emulate3Buttons" "false"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Option "ButtonMapping" "1 2 3 6 7"&lt;/span&gt;&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;I know it says 7 buttons. That's cause Linux counts the scroll wheel movements as "buttons". However, you notice that the ZAxisMapping is set for buttons 4 and 5 (Up and Down on scroll wheel).&lt;br /&gt;&lt;br /&gt;Restart X with a Ctrl-Alt-Backspace. That's it! If anyone has any idea how to get the sideways tilting scrolling to work, please post a comment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-411848151972570680?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/411848151972570680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=411848151972570680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/411848151972570680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/411848151972570680'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2007/02/use-all-5-buttons-on-your-mouse.html' title='Use all 5 buttons on your mouse'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-3054052383809389159</id><published>2007-01-27T17:31:00.001-07:00</published><updated>2011-09-23T19:24:04.975-06:00</updated><title type='text'>Image a drive with dd</title><content type='html'>I ended up removing Linux from the laptop cause I was running out of space on the Windows partition, and wanted to re-install Windows, since I was having problems with it (Windows, not Linux). So I installed XP with SP2. I then patched it up fully, installed Firefox, Zone Alarm, and Clamwin. The used portion of the drive was about 3GB.&lt;br /&gt;&lt;br /&gt;To create an image of this setup, I decided to try the dd command from a Linux LiveCD.&lt;span class="fullpost"&gt; First step was to move the data to the beginning of the disk. Running Windows defrag a few times is supposedly all you need. From my experience, the visual after the defrag shows some data is left in the middle of the drive. If you have an idea about this, please post a comment.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;Next I booted up to Kanotix, (my favorite LiveCD), and ran the commands:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;su&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mkdir /mnt/smb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mount -t smbfs -o lfs,rw,username=jbess //10.0.0.5/Backups /mnt/smb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;lfs is needed because your image may exceed the 2GB default limit. Unless you want to make small chunks of your image, this is what you must use. The 10.0.0.5 is my Mandriva server running Samba and ProFTPd.&lt;br /&gt;&lt;br /&gt;Next, mount the drive to be imaged (for me I just clicked on the drive on the desktop that Kanotix automatically put there), and then run df  to check the used drive space. I had 3013344KB used, so I rounded to 3100MB, or 3.1GB. After you get the numbers, be sure to unmount the drive, or the next step may have problems.&lt;br /&gt;&lt;br /&gt;To compress the image, I used gzip. I typed:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dd if=/dev/hdc bs=1M count=3100 | gzip &amp;gt; /mnt/smb/laptop_SP2.img.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Be sure to replace the count with how many megabytes are used on the drive. I ended up with a 1.8GB file on my server. That's about a 42% compression, which is less than what the man page for gzip states. It took 70 minutes at 766KB/s (according to the stats). Quite slow. Too slow actually. I thought it was samba being slow. So I tried ftp.&lt;br /&gt;&lt;br /&gt;From the ftp&amp;gt; prompt, I typed:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;put "|dd if=/dev/hdc bs=1M count=3100 | gzip" laptop_SP2.img.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The | tells ftp to run a shell command, in this case, dd. This was a little better at around 1.6MB/s, more than twice as fast. During both samba and ftp I was monitoring the transfers with KNemo traffic plotter. I noticed there was dips or lulls in traffic being sent every few seconds, and lasted for several seconds. I thought that maybe running it through gzip was slowing the stream down, and with no buffer in place, the data transfered stopped, which increased the time. So I then took out gzip. Wow, I was impressed!&lt;br /&gt;&lt;br /&gt;The samba share command was:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dd if=/dev/hdc bs=1M count=3100&amp;gt; /mnt/smb/laptop_SP2.img&lt;/span&gt;&lt;br /&gt;Took 15 minutes at 3.5MB/s on average. I tried again with FTP.&lt;br /&gt;&lt;br /&gt;With FTP, the command was:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;put "|dd if=/dev/hdc bs=1M count=3100" laptop_SP2.img&lt;/span&gt;&lt;br /&gt;That finished in 8.5 minutes, with a 6.4MB/s transfer rate.&lt;br /&gt;&lt;br /&gt;Curious, I googled and found this article about zip program comparisons:&lt;br /&gt;&lt;a href="http://www.linuxjournal.com/article/8051"&gt;http://www.linuxjournal.com/article/8051&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;According to the article rzip give the fastest speed and compression. I checked and rzip is NOT installed on the Kanotix LiveCD, but the next best one was, lzop. I ran my tests again.&lt;br /&gt;&lt;br /&gt;smb (samba):&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dd if=/dev/hdc bs=1M count=3100 | lzop &amp;gt; /mnt/smb/laptop_SP2.img&lt;/span&gt;&lt;br /&gt;Time - 23 Minutes, Rate - 2.3MB/s&lt;br /&gt;&lt;br /&gt;ftp:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;put "|dd if=/dev/hdc bs=1M count=3100 | lzop" laptop_SP2.img.lzo&lt;/span&gt;&lt;br /&gt;Time - 20 Minutes, Rate - 2.7MB/s&lt;br /&gt;&lt;br /&gt;Using lzop got me a lower compression, at 33%, but at two-thirds faster speed compared to gzip when using samba, and just under two times faster with FTP. Here are the full comparisons:&lt;br /&gt;&lt;br /&gt;SMB - No Compression, 3.5 MB/s&lt;br /&gt;SMB - gzip (42% compression), 766 KB/s&lt;br /&gt;SMB - lzop (33% compression), 2.3 MB/s&lt;br /&gt;FTP - No Compression, 6.4 MB/s&lt;br /&gt;FTP - gzip (42% compression), 1.6 MB/s&lt;br /&gt;FTP - lzop (33% compression), 2.7 MB/s&lt;br /&gt;&lt;br /&gt;My conclusions? Faster is better in my situation. I want an image quickly. I can always zip the image later if I need the space. If I do need to zip it, I will use gzip, or install rzip and use that. For my setup, FTP is king in the transfer speed. If you do want to compress the image file, and have a decent transfer speed, I suggest the lzop methods, and obviously FTP is faster. My preferred method: FTP with no compression.&lt;br /&gt;&lt;br /&gt;This is the results of my setup. Your numbers will probably vary. Do some testing yourself. Post a comment if you do with your results. I will write a post about restoring an image later on. There are lots of articles already if you google it, but basically you just reverse the commands.&lt;br /&gt;&lt;br /&gt;Edit: upon attempting to restore this image, I found some problems, mostly boot record stuff. I am sure this works, just need to play with it some more when I get a chance.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-3054052383809389159?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/3054052383809389159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=3054052383809389159' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/3054052383809389159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/3054052383809389159'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2007/01/image-drive-with-dd.html' title='Image a drive with dd'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-6739439108942348550</id><published>2006-11-25T11:27:00.001-07:00</published><updated>2011-09-23T19:24:25.258-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RAID'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>Software RAID</title><content type='html'>The primary purpose of my server is a file server. While it has other purposes, that is what it was originally built for.  Earlier this year we bought a 250 GB HD from Woot. After filling it more than half way, I got to thinking about backups. With Black Friday just passing, the wife took a trip to Best Buy, where there was a 250 GB HD for $60. A good deal. And at first I was going to to just use rsync to keep the files mirrored, I looked into RAID 1, which accomplishes the same task, but in real time. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;Here is my setup:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="fullpost"&gt;30GB HD with OS installed on IDE 0, set as Master. (/dev/hda)&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;span class="fullpost"&gt;&lt;li&gt;(2) 250GB HD for file storage, one on IDE 0 as slave, the other on IDE 1 as Master (dev/hdb &amp;amp; c)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;CD-ROM on IDE 1 as slave. (/dev/hdd)&lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span class="fullpost"&gt;Here is how I set it up:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install raidtools:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;urpmi raidtools&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Backup drive data. I was lucky and my wife had just enough space on her HD to be a temporary storage. It took close to 4 hours to transfer the data over a samba connection on a 100MB connection. Backing up the data is a MUST since you will be changing partition tables and re-formating the drives.&lt;/li&gt;&lt;li&gt;Install second hard drive, and make sure BIOS recognizes it. I made sure the two 250 GB drives were on separate IDE channels. &lt;/li&gt;&lt;li&gt;After the backup was verified, I changed the file system type on both drives. Type these commands:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;fdisk /dev/hdb&lt;/li&gt;&lt;li&gt;t (to change file system type)&lt;/li&gt;&lt;li&gt;fd (which is Linux Raid Auto)&lt;/li&gt;&lt;li&gt;w (to write the new partition table)&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Repeat the same for /dev/hdc&lt;/li&gt;&lt;li&gt;Copy the template raid config files:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cp /usr/share/doc/raidtools/raid1.conf.sample /etc/raidtab&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Edit the new raidtab with vi. Make it look like this:&lt;blockquote&gt;# My raid-1 configuration&lt;br /&gt;raiddev                 /dev/md0&lt;br /&gt;raid-level              1&lt;br /&gt;nr-raid-disks           2&lt;br /&gt;nr-spare-disks          0&lt;br /&gt;chunk-size              32&lt;br /&gt;&lt;br /&gt;device                  /dev/hdb1&lt;br /&gt;raid-disk               0&lt;br /&gt;&lt;br /&gt;device                  /dev/hdc1&lt;br /&gt;raid-disk               1&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Initialize the RAID:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;mkraid /dev/md0&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Check to make sure it's working:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cat /proc/mdstat&lt;/li&gt;&lt;li&gt;Should see no error messages&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Format new RAID partition&lt;/li&gt;&lt;ol&gt;&lt;li&gt;mkfs -t ext3 -b 4096 /dev/md0&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Now everything should be set, last step is change fstab to mount the new RAID array:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;/dev/md0 /server ext3 defaults 1 2&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Type mount -a and you now have access to the RAID array.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Note: /proc/mdstat is your key to the status of your RAID array. Check it if you suspect any problems later on.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-6739439108942348550?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/6739439108942348550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=6739439108942348550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6739439108942348550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/6739439108942348550'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2006/11/software-raid.html' title='Software RAID'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-113693682720832742</id><published>2006-01-10T16:38:00.001-07:00</published><updated>2011-09-23T19:24:44.378-06:00</updated><title type='text'>USB mouse on laptop</title><content type='html'>I noticed that if I boot up to Linux on my laptop, and then plug in the mouse, I never got it to work. That's because the X server needed to be tweaked.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;First thing is to make sure you have the hotplug service running. Next, add these lines to /etc/X11/xorg.conf:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Section "InputDevice"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "USBMouse"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Driver "mouse"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "Protocol" "IMPS/2"&lt;/span&gt;&amp;lt; &lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "Device" "/dev/mouse"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "ZAxisMapping" "4 5"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then at the bottom in the ServerLayout section, change it to look similar:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Section "ServerLayout"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "layout1"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;InputDevice "Keyboard1" "CoreKeyboard"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;InputDevice "USBMouse" "SendCoreEvents"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;InputDevice "Touchpad" "AlwaysCore"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Screen "screen1"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The touchpad is always present, and thus, has the setting &lt;span style="font-style: italic;"&gt;AlwaysCore&lt;/span&gt;. The USB mouse will be sent the core events, and thus enabling it to be used if it is plugged in. Once you have made these changes, save the xorg.conf, and restart X with Ctrl-Alt-Backspace. That's all!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-113693682720832742?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/113693682720832742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=113693682720832742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113693682720832742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113693682720832742'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2006/01/usb-mouse-on-laptop.html' title='USB mouse on laptop'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-113363495277962804</id><published>2005-12-03T11:24:00.001-07:00</published><updated>2011-09-23T19:24:52.897-06:00</updated><title type='text'>Automatic updates for free</title><content type='html'>That's right. Mandriva charges you for updating your computer automatically, much like Windows updater. But you can do it for free, with a quick edit of one file.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;I like to work from the command line, so I will explain it from there. It's not all that hard.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="fullpost"&gt;Open a Konsole window, and &lt;span style="font-style: italic;"&gt;su&lt;/span&gt; to root&lt;/span&gt;&lt;/li&gt;&lt;span class="fullpost"&gt;&lt;li&gt;Open up your favorite command-line editor, I like vi. I typed &lt;span style="font-style: italic;"&gt;vi /etc/cron.daily/update&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Hit &lt;span style="font-style: italic;"&gt;i&lt;/span&gt; to insert text. Enter these lines:&lt;/li&gt;&lt;/span&gt;&lt;/ol&gt;&lt;pre&gt;&lt;span class="fullpost"&gt;#!/bin/bash&lt;br /&gt;urpmi ––auto ––update ––auto-select --auto-update&lt;/span&gt;&lt;/pre&gt;&lt;span class="fullpost"&gt;&lt;ol&gt;&lt;li&gt;Hit Esc, then type &lt;span style="font-style: italic;"&gt;:wq&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Back at the command line, type&lt;span style="font-style: italic;"&gt; chmod +x /etc/cron.daily/update&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;That's it. Line 1 in the file states which shell to run the script in. Line 2 says grab a list of updated packages and for any files that need to be updated that are installed on this computer, do it, and include any dependent packages as well.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-113363495277962804?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/113363495277962804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=113363495277962804' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113363495277962804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113363495277962804'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/12/automatic-updates-for-free.html' title='Automatic updates for free'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-112890089964818441</id><published>2005-11-23T23:00:00.001-07:00</published><updated>2011-09-23T19:25:05.808-06:00</updated><title type='text'>Syncing files</title><content type='html'>Ok fellow geeks. With the Dell laptop running Mandriva 2005, I wanted to sync up my firefox profile from my desktop running Mandriva 2006. Sure I could manually mount a drive, copy the files over, select overwrite all, but what is the fun in that? Enter rsync.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;It took me a few hours to run through the different websites that came up in Google. But I got it to work quite well. Here's the steps:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="fullpost"&gt;Install SSH server on the desktop&lt;/span&gt;&lt;/li&gt;&lt;span class="fullpost"&gt; &lt;ol&gt;&lt;li&gt;Using the package manager, I searched for openssh-server. Installed it. Done&lt;/li&gt;&lt;li&gt;Nothing else needed to be configured here, except I needed to get sshd running. In the Control Center, make sure sshd is running in the services, and starts at boot.&lt;/li&gt;&lt;li&gt;Open ssh on the firewall.&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Configure rsync&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Modify the following to match in /etc/xinetd.d/rsync:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;disable         = no&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Use Vi or whatever, and create /etc/rsyncd.conf. Add these lines (visit &lt;a href="http://rsync.samba.org/documentation.html"&gt;http://rsync.samba.org/documentation.html&lt;/a&gt; for info on these):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    motd file = /etc/rsync/rsyncd.motd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    log file = /var/log/rsyncd.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    pid file = /var/run/rsyncd.pid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    lock file = /var/run/rsync.lock&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    uid = nobody&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    gid = nobody&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    read only = no&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    list = yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    hosts allow = 10.0.0.0/16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    hosts deny = *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    [firefox]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    path = /home/jbess/.mozilla/firefox&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    comment = Sync up Firefox profile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    auth users = jbess&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;/ol&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Everything below the [firefox] describes that module. The reason why I installed SSH server is that is sends the files encrypted, rather than clear text. I would suggest the same if you have firefox store usernames and passwords.&lt;br /&gt;&lt;br /&gt;From the laptop, I typed at the konsole:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --links 10.0.0.2:/home/jbess/.mozilla/ /home/jbess/.mozilla/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-112890089964818441?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/112890089964818441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=112890089964818441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112890089964818441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112890089964818441'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/11/syncing-files.html' title='Syncing files'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-113072636038400549</id><published>2005-10-30T19:24:00.002-07:00</published><updated>2011-10-24T12:21:35.707-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='/dev/random'/><title type='text'>Tux Pumpkin</title><content type='html'>My wife put me and the twins in charge of carving the pumpkin. The boys are just about 18 months now, so they can't help much. I decided to carve Tux on the pumpkin.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;EDIT: The stencil link in the below paragraph is out of date. See this blog &lt;a href="http://penguingeek.blogspot.com/2011/10/tux-pumpkin-update.html"&gt;post&lt;/a&gt; for an update (&lt;a href="http://penguingeek.blogspot.com/2011/10/tux-pumpkin-update.html"&gt;http://penguingeek.blogspot.com/2011/10/tux-pumpkin-update.html&lt;/a&gt;).&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;This is my first Halloween doing anything like this to a pumpkin. I am used to just cutting out eyes and a goofy-toothed mouth with my sheetrock saw. I found a nice pattern &lt;a href="http://www.pumpkinlady.com/images/tuxpattern.zip"&gt;here&lt;/a&gt;. The printed size was a little too big, so I reduced the print to 70%. I probably could have gotten away with 75%, but oh well. So after a few hours of work, this is what I came up with:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://static.flickr.com/26/57827789_3d66482a0f_o.jpg"&gt;&lt;img alt="" border="0" src="http://static.flickr.com/26/57827789_3d66482a0f_o.jpg" style="cursor: pointer; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://static.flickr.com/30/57827791_851eef6040_o.jpg"&gt;&lt;img alt="" border="0" src="http://static.flickr.com/30/57827791_851eef6040_o.jpg" style="cursor: pointer; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="fullpost"&gt;&lt;span style="color: #ff6600;"&gt;Happy Halloween!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-113072636038400549?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/113072636038400549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=113072636038400549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113072636038400549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/113072636038400549'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/10/tux-pumpkin.html' title='Tux Pumpkin'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-112818117613731741</id><published>2005-10-01T09:38:00.001-06:00</published><updated>2011-09-23T19:25:30.253-06:00</updated><title type='text'>The Linux Counter</title><content type='html'>Ever wonder how many people are really using Linux? Guesses can be made from downloads of the different distribution ISOs, but downloading doesn't mean people liked it, and are using it. So the Norwegians came up with a way to get a more reliable number. How? They asked Linux users to register.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;Check it out: &lt;a aiotarget="false" aiotitle="http://counter.li.org" href="http://counter.li.org/"&gt;http://counter.li.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First time there, register for an account. Once you have the account, you will create records of any machines you have that run Linux. They ask for some details on your machine, and this helps with the statistics they run. &lt;br /&gt;&lt;br /&gt;If you don't know some of the info they ask for, use the Hardware section in the Control Center. If you change anything like your distribution, or upgrade your hardware, you can come back and update your records. It's really easy. In fact, they did one step beyond that, and made a script that monitors for these kinds of changes, and will automatically send the data in. All the information is on the website. Take a look at the &lt;a href="http://counter.li.org/reports/"&gt;stats&lt;/a&gt;, as they show some interesting trends.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://counter.li.org/"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5844/1009/200/387675.jpg" style="cursor: hand; cursor: pointer; float: right; margin: 0 0 10px 10px;" /&gt;&lt;/a&gt;&lt;br /&gt;Once you are registered, display your user number and a link to the Linux counter proudly in email signatures or websites/blogs you own. As for me, I am registered as user #387675.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-112818117613731741?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/112818117613731741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=112818117613731741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112818117613731741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112818117613731741'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/10/linux-counter.html' title='The Linux Counter'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-112636776023358872</id><published>2005-09-10T15:00:00.001-06:00</published><updated>2011-09-23T19:25:45.665-06:00</updated><title type='text'>Wireless networking</title><content type='html'>I recently bought and installed a wireless NIC in our laptop. I knew it would work in XP, cause I saw websites stating so. But the websites I read about for linux, stated that I had to install a driver for the chipset on the card. I was expecting to get some error when I booted into linux. I was surprised when it not only didn't give me an error, but it was already detecting my wireless access point.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Here is the steps I went through to finish the job.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="fullpost"&gt;&lt;span class="fullpost"&gt;If you don't have it running already, start up the NetApplet. This will make configuration easier.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;span class="fullpost"&gt;&lt;li&gt;&lt;span class="fullpost"&gt;Right click the icon in your taskbar, and choose "Configure Network".&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="fullpost"&gt;Choose your wireless device (assuming it was detected on bootup).&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="fullpost"&gt;Some of these settings will differ depending on yuor network setup. For the TCP/IP tab, I set DHCP.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="fullpost"&gt;DHCP tab, I unchecked the "Assign host name from DHCP address" since I like to specify my computer name to make sure it is correct. In the text box "DHCP host name" I put in my name I wanted.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="fullpost"&gt;On the Wireless tab, put in only the info you know. I new my Network name, and Encryption key.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="fullpost"&gt;For the Options tab, I made sure the "Start at boot" was selected.&lt;/span&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ol&gt;&lt;span class="fullpost"&gt;That was about it. It only took half a minute or so for linux to make the changes and connect to my home network. A few other points:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Most home devices are on channel 6 (cordless phones and such). Set your wireless access point/router to either channel 1 or 11, as they are the farthest away from 6. I was having weak connection issues, and a google search helped me figure this out.&lt;/li&gt;&lt;li&gt;The wireless configurations can also be done in the "Configure your Computer"&amp;gt;Network&amp;gt;Wireless. It is self explanatory.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Enjoy your new-found freedom!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-112636776023358872?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/112636776023358872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=112636776023358872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636776023358872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636776023358872'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/09/wireless-networking.html' title='Wireless networking'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-112636578345077292</id><published>2005-09-10T09:19:00.001-06:00</published><updated>2011-09-23T19:26:00.610-06:00</updated><title type='text'>Installing Firefox</title><content type='html'>&lt;a href="http://getfirefox.com/"&gt;&lt;img align="right" alt="Get Firefox!" border="0" src="http://sfx-images.mozilla.org/affiliates/Buttons/120x60/get.gif" title="Get Firefox!" /&gt;&lt;/a&gt;I Love love love love love love love love Firefox.&lt;br /&gt;I hate hate hate hate hate hate hate hate hate hate hate IE.&lt;br /&gt;Mandriva 2005 comes with Firefox 1.0.2, but I want the latest and greatest. Here is how to install it. And if you are running a distro that doesn't have it, this will help you too.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;1. Go to &lt;a href="http://getfirefox.com/"&gt;http://getfirefox.com&lt;/a&gt;, and d/l the latest firefox version. The website should detect you are in linux from your browser headers, and display the correct choice for you. If not, just find it in the downloads.&lt;br /&gt;2. I located where my current version of firefox was installed. I typed “locate firefox” and found it was in /usr/lib/mozilla-firefox-1.0.2/. I think /usr/lib is a good place to install the new version, but I am gonna rename the directory to firefox-version number.&lt;br /&gt;3. Next, open a console window, and change to root by typing “su -”. The “-” will load the root enviroment settings, which may be important for installing.&lt;br /&gt;4. I created a directory in roots home called “to-install” where I can unzip and work with the files. I then moved the downloaded gzip file there.&lt;br /&gt;5. Moving to the "to-install" directory, I first unzipped with the command “tar -zxvf file-name”. -z runs gzip first, then x will extract, v is verbose, and shows you what is happening, and finally f specifies the file name will come next.&lt;br /&gt;6. Cd into the "firefox-installer" directory, and run “./firefox-installer”. If you don't have all the proper libraries, it will tell you which ones are missing. I was missing the libstdc++.so.5. All I did was go into the GUI packaging software, and installed them. You can also type “rpmdrake” from the command line, and the GUI will come up for you. Click the “Maximum information” radio button, and put in the search box the file you are missing. Then look in the file list for each result that comes up, to make sure the missing file is there. There is nothing worse than installing a bunch of un-needed libraries. Select the proper package to install, and install it. Repeat the process for any other packages you are missing. For a complete list of libraries needed, look at the System Requirements link on the same page you downloaded firefox. Be sure to read my blog entry about &lt;a href="http://penguingeek.blogspot.com/2005/09/updating-mandriva.html"&gt;updating linux&lt;/a&gt;.&lt;br /&gt;7. You will have to create a shortcut to  “/usr/lib/firefox-version/firefox”. Or use the “Menudrake” program.&lt;br /&gt;&lt;br /&gt;That's it. Enjoy Firefox, the greatest browser on Earth.&lt;br /&gt;&lt;/span&gt;&lt;a href="http:"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-112636578345077292?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/112636578345077292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=112636578345077292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636578345077292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636578345077292'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/09/installing-firefox.html' title='Installing Firefox'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-112636551437495900</id><published>2005-09-10T09:13:00.001-06:00</published><updated>2011-09-23T19:26:09.843-06:00</updated><title type='text'>Updating Mandriva</title><content type='html'>So you got your linux system up and running. So how do you stay up-to-date with new software and get the latest? URPMI. In Mandriva, you have a package tool called RPM Drake, that uses URPMI. And with it, you can update your software, or add new programs and libraries. But where does it get the info? Easy URPMI website. I'll show you how.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="fullpost"&gt;1. Go to &lt;a href="http://easyurpmi.zarb.org/"&gt;http://easyurpmi.zarb.org&lt;/a&gt;. There you will find categories to specify where Mandriva should go to get updates. I chose “Main” and “Updates”. Check the boxes that you want.&lt;br /&gt;2. In the drop-down boxes, choose a server that is closest to your phsyical location. For me, it was Texas. &lt;br /&gt;3. Click the “Proceed to Step 3” button.&lt;br /&gt;4. In the text box below that, there will be commands to copy and paste to your console window. &lt;br /&gt;5. Open a console window, and “su” to root. &lt;br /&gt;6. The site reccommends typing “urpmi.removemedia -a” first, in order to reinitialize urpmi's setup. Paste the commands (all of them. The last command pasted, you will have to hit the “Enter” key to start that process. All others will happen automatically.)&lt;br /&gt;7. Go do something else while Mandriva downloads the list of files on each server.&lt;br /&gt;8. When the last one is compelted, you are ready to update using any of the packaging tools under the “Menu&amp;gt;System&amp;gt;Configuration&amp;gt;Packaging” menu.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-112636551437495900?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/112636551437495900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=112636551437495900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636551437495900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/112636551437495900'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/09/updating-mandriva.html' title='Updating Mandriva'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-111405927821540160</id><published>2005-04-20T22:54:00.001-06:00</published><updated>2011-09-23T19:26:23.974-06:00</updated><title type='text'>Kernel Compiling</title><content type='html'>&lt;div class="mobile-post"&gt;Just the word "compile" causes most non-programmers to&lt;br /&gt;shift in their seat, and rub the back of their neck in&lt;br /&gt;discomfort. It does to me too. I hate programming, and&lt;br /&gt;the thought of compiling the latest Linux kernel&lt;br /&gt;(2.6.11.7) seemed like a task WAY over my head. But I&lt;br /&gt;decided to tackle it. What's the worst that could&lt;br /&gt;happen? I have to go back to my perfectly functioning&lt;br /&gt;previous kernel (2.6.8.1-24)?&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;So why did I upgrade and go through the hassle? 1) to&lt;br /&gt;learn how to do it, 2) keeping an updated kernel is a&lt;br /&gt;good security practice.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;So with my trusty O'Reilly "Running Linux" book in&lt;br /&gt;hand, I began my research. The book does a great job&lt;br /&gt;at describing the why's of each step. However, I felt&lt;br /&gt;some steps were missing, and became confused. Doing a&lt;br /&gt;quick Google search of 'kernel compile', gave me a few&lt;br /&gt;good sources to use as reference. One I list here is:&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;&lt;a href="http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html"&gt;Digital Hermit&lt;br /&gt;&lt;span class="" id="formatbar_CreateLink" style="display: block;" title="Link"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;This one gave the best description of the steps, and&lt;br /&gt;didn't seem to miss anything. Here are a few things I&lt;br /&gt;learned that were not mentioned there. &lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;1) Most kernels now are stored in bzip2 format, and&lt;br /&gt;requires bunzip2 to decompress. I've never used it&lt;br /&gt;before, so I looked at the man pages prior to&lt;br /&gt;unzipping.&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;2) Mandrake 10.1 does NOT initially support 'make&lt;br /&gt;xconfig', as I wished it would. I even tried&lt;br /&gt;installing a few extra packages and programs, trying&lt;br /&gt;to get it to work, but in the end, just settled for&lt;br /&gt;'make menuconfig'. It really is very simple. &lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;3) If there is an option during the kernel&lt;br /&gt;configuration you are not sure of, you can bring up a&lt;br /&gt;description of that item. Menuconfig required a '?'.&lt;br /&gt;This was great, cause I didn't want to search the web&lt;br /&gt;on all these strange new things to discover what it&lt;br /&gt;did, and if I really need it.&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;4) Mandrake, and I am sure other distros uses&lt;br /&gt;soft-links for many configuration files when it comes&lt;br /&gt;to the kernel. An example: "/usr/src/linux" pointed to&lt;br /&gt;"/usr/src/linux-2.6.8.1-24mdk", my old kernel source&lt;br /&gt;files. I had to change this soft-link and others to do&lt;br /&gt;some work later on. &lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;5) ALWAYS, ALWAYS, ALWAYS leave a copy of your old&lt;br /&gt;kernel in your lilo or grub boot menu. On my first&lt;br /&gt;compile attempt, I missed something, and had a "Kernel&lt;br /&gt;Panic"! Not the best thing to see, unless you have a&lt;br /&gt;spare kernel ready to boot to, which I did. Always,&lt;br /&gt;always always. Did I mention always?&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;6) Certain drivers themselves, may need to be&lt;br /&gt;recompiled to work with your new kernel (if you are&lt;br /&gt;upgrading). Best example is my NVidia driver. It was&lt;br /&gt;simple enough to run 'nvidia-installer --uninstall'.&lt;br /&gt;Then I unzipped my copy of the driver (or you can d/l&lt;br /&gt;the latest), and re-install. &lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;Some problems came up that I didn't intend on. The&lt;br /&gt;first one was a pretty simple fix, but finding the fix&lt;br /&gt;was a bear. The program cdrecord, used to burn discs&lt;br /&gt;both in the GUI and command-line, didn't like to burn&lt;br /&gt;anymore. It threw me a "Cannot allocate memory. Cannot&lt;br /&gt;get SCSI I/O buffer" error. The fix was to take the&lt;br /&gt;'Set UID' bit off two files: cdrecord and cdrdao. The&lt;br /&gt;command is this (as root):&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;chmod -s /usr/bin/cdrecord&lt;br /&gt;chmod -s /usr/bin/cdrdao&lt;/span&gt;&lt;/div&gt;&lt;div class="mobile-post"&gt;&lt;span class="fullpost"&gt;The next problem I had and still have is my audio. I&lt;br /&gt;have read about a million posts with people that have&lt;br /&gt;the same problem. They recompile, and sound stops&lt;br /&gt;working. By default after a recompile, all sound is&lt;br /&gt;muted. And the common fix is to unmute the sound and&lt;br /&gt;set the levels with "alsamixer". Then run as root,&lt;br /&gt;"alsactl store". Well for me, it doesn't work. When I&lt;br /&gt;reboot, sound it muted again. I've tried an alternate&lt;br /&gt;driver (default is snd-via82xx, alt is&lt;br /&gt;via82cxxx_audio), with no luck. I've plum ran out of&lt;br /&gt;ideas. If anyone reads this and knows of a fix, PLEASE&lt;br /&gt;email me. It's ALSA version 1.0.8. And if I find a&lt;br /&gt;fix, I'll post it.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-111405927821540160?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/111405927821540160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=111405927821540160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111405927821540160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111405927821540160'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/04/kernel-compiling.html' title='Kernel Compiling'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-111327311525844454</id><published>2005-04-11T20:31:00.001-06:00</published><updated>2011-09-23T19:26:39.044-06:00</updated><title type='text'>Installing NVidia driver properly</title><content type='html'>&lt;span class="td_large"&gt;Having a great graphics card is wonderful, as long as it works right. And in any OS, the secret to things working right, is dependent on the drivers.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="td_large"&gt;I have a Best Force brand GeForce FX 5200 NVidia card, with 128MB of ram. I bought it for my windows games, and since moving to Linux, I wanted the same performance. Google searching for the driver and installation how-to got me most of the way. The graphics driver worked the way it was supposed to, until I rebooted. But there is one key step they almost ALL forgot to add, loading the module on boot. So here are the complete steps I used on my computer:&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;1. Download the latest drivers from NVidias' website: &lt;a href="http://linuxuser.modblog.com/?gourl=http://www.nvidia.com/object/linux.html" target="_blank" title="http://www.nvidia.com/object/linux.html"&gt;http://www.nvidia.com/object/linux.html&lt;/a&gt;&lt;br /&gt;I am pretty sure I got the IA32 Graphics driver.&lt;br /&gt;&lt;br /&gt;2. Open a terminal window and "su" to root. Type "init 3". This will stop the X server, and bring you to a login prmpt at the command line. Log in as root, then move to the download directory (where you saved the driver package). Type "./&lt;name&gt;&lt;name&gt;" to start the install. Here is where problems can come up.&lt;br /&gt;&lt;br /&gt;2.1 The first thing that came up was that I did not have the kernel headers installed. The driver install program will use them to create the right module. If they don't exist, it can't move on. If it comes up with an error about no kernel headers, and stops the install, here is what you do. Get back to the command line, and type "init 5". This will bring you back to the GUI. Start up Mandrake Software Installer, and search for "kernel source", and install those. Then try again from step 2&lt;br /&gt;&lt;br /&gt;3. After a successful install, we need to reconfigure the "xorg.conf" file to tell the X server what driver to use. To do that, we will use vi, a text editor. If you don't know how to use it, now is NOT the time to attempt it. Google up a vi tutorial. Learn the basics... it should only take 10 minutes tops. As root still, type "vi /etc/X11/xorg.conf" Mandrake makes this xorg.conf a softlink to XF86Config. Other distros just use XF86Config. Whatever works. Change these in the file:&lt;br /&gt;- In Module section, comment out any line with "GLCore" and "dri" by adding a "#" in front.&lt;br /&gt;- In Module section, make sure there is a line that says ' Load "glx" ' (everything inside the single quotes).&lt;br /&gt;- In Device section for video card, change "Driver" name from "nv" to "nvidia".&lt;br /&gt;- Save file and exit.&lt;br /&gt;&lt;br /&gt;4. That is where most of the other how-tos stop. Here is where some extra research paid off. The above steps will get it working fine, until you reboot. After that, you would have to load the nvidia module manually each time you rebooted by typing "modprobe nvidia". Here is one way to get it loaded automatically on boot up. Open up vi again with "vi /etc/modprobe.preloa d". Add "nvidia" to a new line, and save the file and exit. There are other ways to add a driver on start-up, this is just one.&lt;br /&gt;&lt;br /&gt;5. There are two ways to find out if it all worked. For both, start off by rebooting. The first way, is when you reboot, you should be brought into a GUI, preceded by the NVidia splash screen. Second way is to open up a terminal window, "su" to root, and type "lsmod | grep nvidia". You should see the "nvidia" driver listed.&lt;br /&gt;&lt;br /&gt;6. To verify you are getting good performance, type glxgears. There will be three rotating gears, spinning quickly in a seperate window in your GUI. The terminal window you started will show the Frames Per Second (FPS). Click and drag one of the corners of the gear window, and increase the size. Watch the FPS change. If you still get a good FPS at almost full screen size, the card and driver are working perfectly.&lt;br /&gt;&lt;br /&gt;Remember, these steps are for Mandrake 10.1, on a GeForce FX 5200. Yours may vary a bit, but the steps are similar.&lt;br /&gt;&lt;br /&gt;Happy Gaming!&lt;/name&gt;&lt;/name&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-111327311525844454?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://penguingeek.blogspot.com/feeds/111327311525844454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12109819&amp;postID=111327311525844454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111327311525844454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111327311525844454'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/04/installing-nvidia-driver-properly.html' title='Installing NVidia driver properly'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12109819.post-111327298600811838</id><published>2005-04-11T20:28:00.001-06:00</published><updated>2011-09-23T19:26:56.119-06:00</updated><title type='text'>Introduction</title><content type='html'>&lt;span class="td_large"&gt;Hello!&lt;br /&gt;&lt;br /&gt;Welcome to my first Blog site. I've had the idea to start one for a while. The idea came when I would continuously search on how-to (insert project here) on my Linux box, sometimes things I've already fixed, and tried to fix again! Most the time, I just forgot one step, and it caused alot of headache and frustration. This blog will serve as a reminder for me, and a reference for all my Linux friends in the world.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="td_large"&gt;As a basis for this blog, I submit for you, the stats on my computers:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Computer name - Scooter (Desktop):&lt;/span&gt;&lt;br /&gt;- MSI Mach Speed K8M8MSr2 AMD Motherboard&lt;br /&gt;- AMD Athlon64 1.8 GHz CPU&lt;br /&gt;- 1 GB DDR266 RAM&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- Best Force brand GeForce FX 5200 NVidia Graphics card with 128 MB RAM&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- 80 GB Western Digital HD (Windows)&lt;br /&gt;- 40 GB IBM DeskStar HD (Linux)&lt;br /&gt;- DVD R/RW with Litescribe&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- Memorex MX5200 keyboard&lt;br /&gt;- Logitech MX400 Laser mouse&lt;br /&gt;- Windows XP Pro SP1&lt;br /&gt;- Mandriva 2007 Free&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Computer name - Gonzo (Server):&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- ASRock K7VT2 AMD Motherboard&lt;br /&gt;- 1.5 Ghz CPU&lt;br /&gt;- 512 MB DDR266 RAM&lt;br /&gt;- 1.44 MB Floppy Drive (For what? I don't know)&lt;br /&gt;- 52x CDROM Drive&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- 30 GB Quantum Fireball HD (Linux)&lt;br /&gt;- (2) 250 GB HDs in RAID 1 (file server storage)&lt;br /&gt;&lt;/span&gt;&lt;span class="td_large"&gt;- Mandriva 2005 Free&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Computer name - Sweetums (Laptop):&lt;/span&gt;&lt;br /&gt;- Dell Inspiron 1150 Laptop&lt;br /&gt;- Intel Celeron 2.4 GhZ CPU&lt;br /&gt;- 768 MB RAM&lt;br /&gt;- 40 GB HD&lt;br /&gt;- CD-RW/DVD ROM&lt;br /&gt;- MSI MP54G4 802.11b/g mini-pci wireless card (works great in Linux)&lt;br /&gt;- Mandriva 2007 Free&lt;br /&gt;&lt;br /&gt;With all that being said, let the bloggin' begin!&lt;br /&gt;&lt;br /&gt;And feel free to email me any time&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12109819-111327298600811838?l=penguingeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111327298600811838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12109819/posts/default/111327298600811838'/><link rel='alternate' type='text/html' href='http://penguingeek.blogspot.com/2005/04/introduction.html' title='Introduction'/><author><name>Jeremiah Bess</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-S3TDhtJUN7A/AAAAAAAAAAI/AAAAAAAAFsc/7tHsddBHwZ8/s512-c/photo.jpg'/></author></entry></feed>
