<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>madberry.org&#187; madberry.org Kubuntu How To&#8217;s &amp; News.  Linux and Opensource.</title> <atom:link href="http://madberry.org/tag/sudo/feed/" rel="self" type="application/rss+xml" /><link>http://madberry.org</link> <description>Kubuntu, Linux, Hardware.</description> <lastBuildDate>Thu, 17 Jun 2010 00:36:43 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>dd With Progress Bar? Try dcfldd</title><link>http://madberry.org/2009/02/dd-with-progress-bar-try-dcfldd/</link> <comments>http://madberry.org/2009/02/dd-with-progress-bar-try-dcfldd/#comments</comments> <pubDate>Tue, 17 Feb 2009 15:00:27 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Mini How To]]></category> <category><![CDATA[adept]]></category> <category><![CDATA[dd]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[syntaptec]]></category> <category><![CDATA[Terminal]]></category><guid isPermaLink="false">http://madberry.org/?p=879</guid> <description><![CDATA[“Mini How To” dd With Progress Bar? Try dcfldd. Introduction As you know dd works very well but it has no progress bar.  There is really no way to tell how far along dd is.  This is annoying if you are waiting for dd to finish.  In this how to I&#8217;ll show you how to [...]]]></description> <content:encoded><![CDATA[<p><script type='text/javascript'>/*<![CDATA[*/var m3_u=(location.protocol=='https:'?'https://adshost.org/www/delivery/ajs.php':'http://adshost.org/www/delivery/ajs.php');var m3_r=Math.floor(Math.random()*99999999999);if(!document.MAX_used)document.MAX_used=',';document.write("<scr"+"ipt type='text/javascript' src='"+m3_u);document.write("?zoneid=25");document.write('&amp;cb='+m3_r);if(document.MAX_used!=',')document.write("&amp;exclude="+document.MAX_used);document.write(document.charset?'&amp;charset='+document.charset:(document.characterSet?'&amp;charset='+document.characterSet:''));document.write("&amp;loc="+escape(window.location));if(document.referrer)document.write("&amp;referer="+escape(document.referrer));if(document.context)document.write("&context="+escape(document.context));if(document.mmm_fo)document.write("&amp;mmm_fo=1");document.write("'><\/scr"+"ipt>");/*]]>*/</script><noscript><a href='http://adshost.org/www/delivery/ck.php?n=abef9e34&cb=564565' target='_blank'><img src='http://adshost.org/www/delivery/avw.php?zoneid=25&cb=34535345&n=abef9e34' border='0' alt='' /></a></noscript></p><p>“Mini How To” dd With Progress Bar? Try dcfldd.</p><h4>Introduction</h4><p>As you know <a title="Clone A Drive With dd" href="http://madberry.org/2009/01/clone-a-drive-with-dd/" target="_blank">dd</a> works very well but it has no progress bar.  There is really no way to tell how far along dd is.  This is annoying if you are waiting for dd to finish.  In this how to I&#8217;ll show you how to install and use dcfldd.</p><h4>How To Install dcfldd</h4><p>Open terminal or adept or synaptec what ever is you flavor of choice.  In the latter search for dcfldd.  In terminal Type:</p><pre class="code">sudo apt-get install dcfldd</pre><h4>How To Use dcfldd</h4><p>In basic the use of dcfldd is the same as the use of <a title="Clone A Drive With dd" href="http://madberry.org/2009/01/clone-a-drive-with-dd/" target="_blank">dd</a>.  I have found that using bs=1k doesn&#8217;t work.  I had to remove the &#8220;k&#8221; from that option and then it worked.  The only change is the progress you can now see.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>February 11, 2009 -- <a href="http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/" title="How To Search Terminal Commands Recently Used">How To Search Terminal Commands Recently Used</a> (0)</li><li>January 7, 2009 -- <a href="http://madberry.org/2009/01/clone-a-drive-with-dd/" title="Clone A Drive With dd">Clone A Drive With dd</a> (2)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/missing-adept_notifierthe-update-notifier/" title="Missing adept_notifier(the update notifier)?">Missing adept_notifier(the update notifier)?</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2009/02/dd-with-progress-bar-try-dcfldd/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Search Terminal Commands Recently Used</title><link>http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/</link> <comments>http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/#comments</comments> <pubDate>Wed, 11 Feb 2009 15:00:06 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Mini How To]]></category> <category><![CDATA[command]]></category> <category><![CDATA[commands]]></category> <category><![CDATA[dependencies]]></category> <category><![CDATA[recursive search]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category><guid isPermaLink="false">http://madberry.org/?p=856</guid> <description><![CDATA[“Mini How To” How To Search Terminal Commands Recently Used. Introduction You know how to skip through the commands by using the arrow up and down keys but wouldn&#8217;t it be easier to search through the commands?  In this Mini How To I explain how to do it. Recursive Search You&#8217;ve typed in a long [...]]]></description> <content:encoded><![CDATA[<p>“Mini How To” How To Search Terminal Commands Recently Used.</p><h4>Introduction</h4><p>You know how to skip through the commands by using the arrow up and down keys but wouldn&#8217;t it be easier to search through the commands?  In this Mini How To I explain how to do it.</p><h4>Recursive Search</h4><p>You&#8217;ve typed in a long command for instance:</p><pre class="code">sudo hddtemp /dev/sda &amp;&amp; sensors | grep Core\ 0 &amp;&amp; sensors | grep Core\ 1</pre><p>To check the temperatures of the machine that you&#8217;re working on.  You&#8217;ve checked it once and after a couple of days you want to use it again.  To do so as said you can scroll through the commands using the up and down arrow keys.  It might take while depending on how many commands you used after this one.</p><h4>How To Invoke Recursive Search</h4><p>You invoke recursive search by hitting the ctrl+r keys on your keyboard.  Then you type in one of the words out of the command I choose &#8220;sensors&#8221; and now the command will pop-up.</p><p>I&#8217;ve been using this a lot lately I use Terminal all the time so my list of commands are pretty big.  This is a real time saver.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>February 19, 2009 -- <a href="http://madberry.org/2009/02/fix-kopete-crashing-on-msn-sign-in/" title="Fix Kopete Crashing On MSN Sign In">Fix Kopete Crashing On MSN Sign In</a> (0)</li><li>February 17, 2009 -- <a href="http://madberry.org/2009/02/dd-with-progress-bar-try-dcfldd/" title="dd With Progress Bar? Try dcfldd">dd With Progress Bar? Try dcfldd</a> (4)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>On the A205-S5825 the touchpad doesn&#8217;t double click.</title><link>http://madberry.org/2008/09/on-the-a205-s5825-the-touchpad-doesnt-double-click/</link> <comments>http://madberry.org/2008/09/on-the-a205-s5825-the-touchpad-doesnt-double-click/#comments</comments> <pubDate>Thu, 11 Sep 2008 21:26:06 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[A205-S5825]]></category> <category><![CDATA[boxes]]></category> <category><![CDATA[nano]]></category> <category><![CDATA[pad]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[touch]]></category> <category><![CDATA[touch-pad]]></category><guid isPermaLink="false">http://madberry.org/?p=475</guid> <description><![CDATA[Out of the box the touch pad on the A205-S5825. Here is how to fix this. Open the XOrg configuration: sudo nano /etc/X11/xorg.conf Find: Section &#8220;InputDevice&#8221; Identifier &#8220;Synaptics Touchpad&#8221; And add the following lines Option "FingerLow" "7" Option "FingerHigh" "8" Option "MaxTapTime" "180" Option "MaxTapMove" "110 And that&#8217;s it. Now you can double tap on [...]]]></description> <content:encoded><![CDATA[<p>Out of the box the touch pad on the A205-S5825.  Here is how to fix this.</p><p>Open the XOrg configuration:</p><pre class="code">sudo nano /etc/X11/xorg.conf</pre><p>Find:</p><blockquote><p> Section &#8220;InputDevice&#8221;<br /> Identifier      &#8220;Synaptics Touchpad&#8221;</p></blockquote><p>And add the following lines</p><pre class="code">
        Option          "FingerLow"             "7"
        Option          "FingerHigh"            "8"
        Option          "MaxTapTime"            "180"
        Option          "MaxTapMove"            "110
</pre><p>And that&#8217;s it.  Now you can double tap on the touch pad.</p><p>For more info on the touch pad settings <a title="How to set up the touch pad" target="_blank" href="http://www.debuntu.org/2006/06/18/67-how-to-setting-up-touchpad-on-a-laptop-a-complete-guide/5/">go here</a>.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 29, 2008 -- <a href="http://madberry.org/2008/08/wireless-with-wpa_supplicant-easier-then-you-think/" title="Wireless with wpasupplicant easier then you think">Wireless with wpasupplicant easier then you think</a> (13)</li><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/09/on-the-a205-s5825-the-touchpad-doesnt-double-click/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>fstab demystified how to add partitions and more</title><link>http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/</link> <comments>http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/#comments</comments> <pubDate>Sat, 30 Aug 2008 20:41:52 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Beginners]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[command]]></category> <category><![CDATA[device boot]]></category> <category><![CDATA[drive]]></category> <category><![CDATA[ext3]]></category> <category><![CDATA[fdisk]]></category> <category><![CDATA[filesystem type]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[fstab]]></category> <category><![CDATA[hard]]></category> <category><![CDATA[hard drives]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[nano]]></category> <category><![CDATA[new hard drive]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[partitions]]></category> <category><![CDATA[static file]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category><guid isPermaLink="false">http://madberry.org/?p=481</guid> <description><![CDATA[In this post you will learn to understand fstab and it&#8217;s entries. This post is a follow up to: How to partition new hard drives the easy way. It will show you how to add the new partitions of the new hard drive to fstab to mount the partitions automatically on boot. Unfortunately there is [...]]]></description> <content:encoded><![CDATA[<p> In this post you will learn to understand fstab and it&#8217;s entries.  This post is a follow up to: <a title="How to partition new hard drives the easy way" href="http://madberry.org/2008/08/how-to-partition-new-hard-drives-the-easy-way/">How to partition new hard drives the easy way.</a> It will show you how to add the new partitions of the new hard drive to fstab to mount the partitions automatically on boot.</p><p>Unfortunately there is no way to do this in a &#8220;point and click&#8221; manner.  At least I&#8217;ve not been able to find one.<br /> <span id="more-481"></span><br /> Let&#8217;s take a look at the contents of fstab:</p><pre class="code">nano /etc/fstab</pre><p>Note where not editing yet so we do not need to sudo this command yet, we will do so this when we start editing.<br /> Contents:</p><pre class="code">
# /etc/fstab: static file system information.
#
# < file system> < mount point> < type> < options> < dump> < pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 relatime,errors=remount-ro 0 1
/dev/sda3 /home ext3 nodev,nosuid,errors=remount-ro 0 2
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
</pre><p>Lets pick the line for root apart.</p><table><tr><td align="center">1</td><td>2</td><td align="center">3</td><td align="center">4</td><td>5</td><td>6</td></tr><tr><td>/dev/sda1</td><td>/</td><td>ext3</td><td>relatime,errors=remount-ro</td><td>0</td><td>1</td></tr></table><p>(from <a title="fstab@wikipedia" target="_blank" href="http://en.wikipedia.org/wiki/Fstab">WikiPedia</a>)</p><blockquote><p>The columns are as follows:</p><p> 1. The device name or other means of locating the partition or data source.<br /> 2. The mount point, where the data is to be attached to the filesystem.<br /> 3. The filesystem type, or the algorithm used to interpret the filesystem.<br /> 4. Options, including if the filesystem should be mounted at boot.<br /> 5. dump-freq adjusts the archiving schedule for the partition (used by dump).<br /> 6. pass-num indicates the order in which the fsck utility will scan the partitions for errors when the computer powers on.</p></blockquote><p>Now let&#8217;s find out what the dev point is of the new partition:</p><pre class="code">sudo fdisk -l</pre><p>The contens could look like this:</p><pre class="code">
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x983b983b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4020    32290618+  83  Linux
/dev/sda2           14220       14593     3004155    5  Extended
/dev/sda3            4021       14219    81923467+  83  Linux
/dev/sda5           14220       14593     3004123+  82  Linux swap / Solaris

Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002d62c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        6452    51825658+  83  Linux
/dev/sdb2            6453       39179   262879627+  83  Linux
/dev/sdb3           39180       91201   417866715   83  Linux

Partition table entries are not in disk order
</pre><p>In this case the first disk(sda) is a 120GB disk the second(sdb) is a 750GB disk.<br /> sda has 5 Partitions sda1, sda2 etc.<br /> sdb has 3 partitions sdb1, sdb2 and sdb3.</p><p>We&#8217;re going to add sdb1 to the fstab file.  I get asked often what to do with the options the answer nothing unless you are experiencing problem.<br /> We need to create a mount point.  Most mount point are created in /media or /mnt but you could put the mount point any where you want.  I always choose /media.</p><pre class="code">sudo mkdir /media/partiotion1</pre><p>Open fstab for editing:</p><pre class="code">sudo nano /etc/fstab</pre><p>Now add the following line bellow what is already there:</p><pre class="code">/dev/sdb1 /media/partition1 ext3 defaults 0 3</pre><p>let&#8217;s explain again:<br /> <b><i>/dev/sdb1</i>:</b> dev stands for &#8220;device file system&#8221; and sdb1 the partition on our hard disk.<br /> <b><i>/media/partition1</i></b><b>:</b> the mount point in other words the folder that the new partition will be mounted to.<br /> <b><i>ext3</i></b><b>:</b> the file system used on the partition.<br /> <b><i>defaults</i>:</b> the defaults option this will automatically define these options: rw,suid,dev,exec,auto,nouser,async all the options we need to get the partition to work properly.<br /> <b><i>0</i></b><b>:</b> the dump frequency all the fstabs I&#8217;ve seen so far don&#8217;t change this setting so it don&#8217;t either explanation of this will follow in another post some other time.<br /> <b><i>3</i></b><b>:</b> this sets the order of fsck file system checking I happen to like all my partitions checked every once in a while so I changed this to 3.  If you don&#8217;t want the partition checked simply set this to 0.</p><p>Close the fstab file(ctrl->x y enter).</p><p>If there is anything you want further explanation of please feel free to leave a comment.  Also comment if this post was helpful at all.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-partition-new-hard-drives-the-easy-way/" title="How to partition new hard drives the easy way">How to partition new hard drives the easy way</a> (0)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-check-for-disk-errors/" title="How to check for disk errors">How to check for disk errors</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Maximum number of clients reached.</title><link>http://madberry.org/2008/08/maximum-number-of-clients-reached/</link> <comments>http://madberry.org/2008/08/maximum-number-of-clients-reached/#comments</comments> <pubDate>Thu, 28 Aug 2008 01:40:26 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[command]]></category> <category><![CDATA[drive]]></category> <category><![CDATA[fdisk]]></category> <category><![CDATA[hard]]></category> <category><![CDATA[hard drives]]></category> <category><![CDATA[hd]]></category> <category><![CDATA[hdd]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[maximum number]]></category> <category><![CDATA[Maximum number of clients reached]]></category> <category><![CDATA[nano]]></category> <category><![CDATA[partitions]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[swap partition]]></category> <category><![CDATA[uuid]]></category> <category><![CDATA[X server]]></category> <category><![CDATA[Xlib]]></category><guid isPermaLink="false">http://madberry.org/?p=477</guid> <description><![CDATA[I&#8217;ve been getting this error lately &#8220;Maximum number of clients reached&#8221;. After doing some research if found out it was a swap problem. The UUID of the swap partition was wrong thus there was no swap to be used. This caused the &#8220;Maximum number of clients reached&#8221; error. To fix this you can do two [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been getting this error lately &#8220;Maximum number of clients reached&#8221;.  After doing some research if found out it was a swap problem.  The UUID of the swap partition was wrong thus there was no swap to be used. This caused the &#8220;Maximum number of clients reached&#8221; error.</p><p>To fix this you can do two things.<br /> <span id="more-477"></span></p><p>1. Edit fstab to change the UIDD to /dev/sda5(this is on my computer you&#8217;re machine might be different).</p><pre class="code">sudo fdisk -l</pre><p>The above command will give you a list of hard drives in your computer.<br /> Your swap partition is the one that says <i>Linux swap / Solaris</i> the part in front is what we need <i>/dev/sda5</i></p><pre class="code">sudo nano /etc/fstab</pre><p>Edit the fstab file look for swap and change the UUID in front of it to what fdisk told you it is.</p><p>2. replace the wrong UUID with the right one.</p><pre class="code">sudo blkid</pre><p>This will give you a list of the HD&#8217;s with there corresponding UUID&#8217;s.<br /> Result on my computer:</p><pre class="code">
/dev/sda1: UUID="a6287f4c-1764-43bf-adec-0e442501f213" TYPE="ext3"
/dev/sda3: UUID="e2dd5ffd-1403-479a-a26a-496f6f0f234d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="bd79927f-6687-4b64-8632-d5716677f068"
</pre><p>This one <i>TYPE=&#8221;swap&#8221;</i> id the one we want to copy the UUID of.<br /> Edit fstab to change the UUID to the right one:</p><pre class="code">sudo nano /etc/fstab</pre><p>Restart you computer and you swap problems should be over.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-check-for-disk-errors/" title="How to check for disk errors">How to check for disk errors</a> (0)</li><li>August 2, 2008 -- <a href="http://madberry.org/2008/08/hairy-hardy-upgrade/" title="Hairy Hardy Upgrade.">Hairy Hardy Upgrade.</a> (0)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-partition-new-hard-drives-the-easy-way/" title="How to partition new hard drives the easy way">How to partition new hard drives the easy way</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/maximum-number-of-clients-reached/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Sound problem fixed.</title><link>http://madberry.org/2008/08/sound-problem-fixed/</link> <comments>http://madberry.org/2008/08/sound-problem-fixed/#comments</comments> <pubDate>Sun, 24 Aug 2008 01:36:28 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[A205-S5825]]></category> <category><![CDATA[alsa]]></category> <category><![CDATA[asound.conf]]></category> <category><![CDATA[command]]></category> <category><![CDATA[dmix]]></category> <category><![CDATA[dmix problem]]></category> <category><![CDATA[extra time]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[music]]></category> <category><![CDATA[player]]></category> <category><![CDATA[S5825]]></category> <category><![CDATA[sound architecture]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[toshiba laptop]]></category><guid isPermaLink="false">http://madberry.org/?p=473</guid> <description><![CDATA[As said I have a A205-S5825 Toshiba Laptop, and I was surprised when sound worked out of the box but dmix didn&#8217;t. Haven&#8217;t been able to find why but today I had some extra time and I finally fixed it. Description of the problem: Normally ALSA(Advanced Linux Sound Architecture) will install Dmix out of the [...]]]></description> <content:encoded><![CDATA[<p>As said I have a A205-S5825 Toshiba Laptop, and I was surprised when sound worked out of the box but dmix didn&#8217;t.  Haven&#8217;t been able to find why but today I had some extra time and I finally fixed it.</p><p>Description of the problem:</p><p>Normally ALSA(Advanced Linux Sound Architecture) will install Dmix out of the box and it will work right away in this case for some reason it didn&#8217;t.  Possibly because of an issue during installation of the OS.</p><p>As a result of this problem Amarok kept popping up the same error.  And my music wouldn&#8217;t play.  Audicious same problem.  I use Festival to to tell me I have mail or a message in my messenger.  Festival would sometimes work and sometimes not.</p><p>To fix this I ran the following commands in Terminal:</p><p>Let&#8217;s make sure that we remove all the old ALSA stuff.</p><pre class="code">sudo apt-get remove --purge alsa-oss alsa-base</pre><p>Remove the conf file out of /etc:</p><pre class="code">sudo rm /etc/asound.conf</pre><p>Let&#8217;s reinstall everything.</p><pre class="code">sudo apt-get install  alsa-oss alsaplayer mpg321 alsaplayer-alsa alsa-base</pre><p>At this point restart you computer.<br /> Let&#8217;s test:</p><pre class="code">alsaplayer -o alsa -d plug:dmix some.mp3 &amp;</pre><p>Run that command twice with different MP3&#8242;s and you will notice it is now working.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>February 11, 2009 -- <a href="http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/" title="How To Search Terminal Commands Recently Used">How To Search Terminal Commands Recently Used</a> (0)</li><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/sound-problem-fixed/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to get Atheros AR242x wireless to work. 2</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#comments</comments> <pubDate>Tue, 19 Aug 2008 22:31:50 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[boxes]]></category> <category><![CDATA[command]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[geek]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[k]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[pci]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[update]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[windows drivers]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=445</guid> <description><![CDATA[**11-07-2008** Here is the Solution currently used on 8.10: How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex **10-23-2008** This how to still uses madwifi-hal-0.10.5.6-current.tar.gz And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic. And once again every one who has problems please re-try the [...]]]></description> <content:encoded><![CDATA[<div style="color: #ff0000;">**11-07-2008** Here is the Solution currently used on 8.10: <a title="how to get atheros ar242x wireless to work 2" href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" target="_self">How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex</a></div><p><span style="color: #33cc33;">**10-23-2008** This how to still uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-17-2008** Thanks to Gideon, who told me the links weren&#8217;t working any more.  This how to now uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-03-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3862-20080903.tar.gz.  As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.</span></p><p><span>**09-01-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3851-20080829.tar.gz.  If you posted a comment to say it isn&#8217;t working then please re-run everything.  And report back to verify that the solution is now working for you. As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1 with kernel 2.6.24-19-generic.</span></p><p><span style="color: #ffff00;">This is a revision of my <a title="Orig. post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/">original</a> post using the solution provided by Madwifi it&#8217;s been tested by me and it works.</span></p><p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00; font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-445"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi*.tar.gz</pre><p>Go into the just created folder:</p><pre class="code">cd madwifi*r*</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#before">this</a> and then try modprobe again.</span></p><p>As noted by &#8220;TheGreatGonzo&#8221; you might have to restart here.  Before you can enable the proprietary drivers again.<br /> As noted by &#8220;Choval&#8221; in case it doesn&#8217;t work after a restart:</p><blockquote><p>blacklist ath_hal<br /> (on /etc/modprobe.d/blacklist)<br /> Reboot, and voila… works like a charm =)</p></blockquote><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make clean</pre><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>Don&#8217;t be shy let us know in the comments below if the solution worked or not(in that case I can assist you and get it to work) .</p><p>If this page helped you out at all then please <a href="http://madberry.org/donate">donate</a>. <a href="http://madberry.org/donate">Donations</a> will go towards the hosting cost for this website.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li><li>August 13, 2008 -- <a href="http://madberry.org/2008/08/what-modules-device-drivers-have-got-installed/" title="What modules device drivers have got installed">What modules device drivers have got installed</a> (2)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/feed/</wfw:commentRss> <slash:comments>125</slash:comments> </item> <item><title>How to check for disk errors</title><link>http://madberry.org/2008/08/how-to-check-for-disk-errors/</link> <comments>http://madberry.org/2008/08/how-to-check-for-disk-errors/#comments</comments> <pubDate>Tue, 12 Aug 2008 07:04:01 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Mini How To]]></category> <category><![CDATA[consistency check]]></category> <category><![CDATA[deer]]></category> <category><![CDATA[defragmenter]]></category> <category><![CDATA[disk errors]]></category> <category><![CDATA[fdisk]]></category> <category><![CDATA[file system check]]></category> <category><![CDATA[file systems]]></category> <category><![CDATA[fragment]]></category> <category><![CDATA[hard drive]]></category> <category><![CDATA[inconsistencies]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[linux file systems]]></category> <category><![CDATA[lt]]></category> <category><![CDATA[map]]></category> <category><![CDATA[partitions]]></category> <category><![CDATA[root partition]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[system doesn]]></category><guid isPermaLink="false">http://madberry.org/?p=325</guid> <description><![CDATA[&#8220;Mini How To&#8221; How to check for disk errors. The simplest tool too use in Linux is fsck(F-Sack) &#8220;file system check&#8221; or &#8220;file system consistency check&#8221;. When to scan? When your system doesn&#8217;t boot anymore. When you get the &#8220;Super block&#8221; error at start up. Linux file systems(ext3 and ext2) hardly fragment(that&#8217;s why you can&#8217;t [...]]]></description> <content:encoded><![CDATA[<p>&#8220;Mini How To&#8221; How to check for disk errors.</p><p>The simplest tool too use in Linux is fsck(F-Sack) &#8220;file system check&#8221; or &#8220;file system consistency check&#8221;.</p><p>When to scan?<br /> When your system doesn&#8217;t boot anymore.<br /> When you get the &#8220;Super block&#8221; error at start up.</p><p>Linux file systems(ext3 and ext2) hardly fragment(that&#8217;s why you can&#8217;t find a defragmenter) so don&#8217;t use this to defragment your hard drive it is not necessary and it&#8217;s not what fsck is meant for.</p><p>How to use fsck:</p><p>First make sure you obtain an Live CD off course I would go for the <a title="Kubuntu Download" href="http://www.kubuntu.org/getkubuntu" target="_blank">Kubuntu</a> one.</p><p>Put the freshly burned Live CD in your drive and start or restart the system.  Remember fsck will only run if the partition isn&#8217;t mounted.  If the disk you checking doesn&#8217;t hold root(partition that holds the OS) partition then just unmount the partitions used on the disk and run fsck in terminal.</p><p>there is nothing special about the command:</p><pre class="code">fsck -pf /dev/sda1</pre><p><strong>-p</strong>: Option to make repairs in when the following inconsistencies occur:</p><ol><li> Unreferenced inodes</li><li> Link counts in inodes too large</li><li> Missing blocks in the free map</li><li> Blocks in the free map also in files</li><li> Counts in the super-block wrong</li></ol><p>Without the <strong>-p </strong>option fsck will interactively repair inconsistencies  it finds.<br /> <strong>-f</strong>: Will force fsck to clean file systems<br /> <strong>/dev/sda1</strong>: This is the partition that needs to be checked.<br /> Run:</p><pre class="code">sudo fdisk -l</pre><p>To find what device and partitions names are on you system.</p><p>as alway for more info run:</p><pre class="code">man fsck</pre><p>for more information.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 12, 2008 -- <a href="http://madberry.org/2008/08/how-to-partition-new-hard-drives-the-easy-way/" title="How to partition new hard drives the easy way">How to partition new hard drives the easy way</a> (0)</li><li>August 2, 2008 -- <a href="http://madberry.org/2008/08/hairy-hardy-upgrade/" title="Hairy Hardy Upgrade.">Hairy Hardy Upgrade.</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-check-for-disk-errors/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to get Atheros AR242x wireless to work.</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#comments</comments> <pubDate>Sun, 10 Aug 2008 22:30:59 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[mad]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[madwifi driver]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[wifi]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=260</guid> <description><![CDATA[Windows drivers are here Aug 18 2008: This is a The old version and this solution isn&#8217;t recommended anymore please use: the solution in my new post it&#8217;s been tested by me and it works. If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if [...]]]></description> <content:encoded><![CDATA[<p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00;font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p><span style="font-size: 16px; color: #ff0000;"><strong>Aug 18 2008</strong>: This is a The old version and this solution isn&#8217;t recommended anymore please use: <a title="Original post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/">the solution in my new post</a> it&#8217;s been tested by me and it works.</span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-260"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p>Thanks to <a title="Ubuntu Geek" href="http://www.ubuntugeek.com" target="_blank">Ubuntugeek</a> for providing the primer for this post.</p><p>Here is the difference between the how to&#8217;s:</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://madberry.org/wp-content/madwifi-ng-r2756+ar5007.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi-ng-r2756+ar5007.tar.gz</pre><p>Go into the just created dir:</p><pre class="code">cd madwifi-ng-r2756+ar5007</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#before">this</a> and then try modprobe again.</span></p><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>If this page helped you out at all then please donate below.  Donations will go towards the hosting cost for this website.</p><p><embed src="http://widget.chipin.com/widget/id/e005f4d97bbd18c6" flashVars="event_title=Help%20This%20Site&#038;event_desc=Donate%20Please&#038;color_scheme=blue" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="220" height="220"></embed></p><p>Thanks for donating.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 7, 2008 -- <a href="http://madberry.org/2008/08/mini-how-to-list-devices-in-kubuntu/" title="List Devices in Kubuntu.">List Devices in Kubuntu.</a> (0)</li><li>April 6, 2009 -- <a href="http://madberry.org/2009/04/took-the-plunge-jaunty-jackalope-kubuntu-904-on-laptop/" title="Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop">Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Install and search for packages with apt</title><link>http://madberry.org/2008/08/install-and-search-for-packages-with-apt/</link> <comments>http://madberry.org/2008/08/install-and-search-for-packages-with-apt/#comments</comments> <pubDate>Wed, 06 Aug 2008 06:32:45 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Apps]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Mini How To]]></category> <category><![CDATA[administration directory]]></category> <category><![CDATA[amp]]></category> <category><![CDATA[example bash]]></category> <category><![CDATA[exle bash]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[lib]]></category> <category><![CDATA[repository]]></category> <category><![CDATA[sudo]]></category><guid isPermaLink="false">http://madberry.org/?p=151</guid> <description><![CDATA[&#8220;Mini How To&#8221; Install and search for packages with apt. Looking for how to install packages bij the &#8220;point and click&#8221; method click here. Let&#8217;s say you wanna install a package but you don&#8217;t know for sure if it&#8217;s in the repository&#8217;s.  Then you can use this Terminal command to do so: We&#8217;ll search for [...]]]></description> <content:encoded><![CDATA[<p>&#8220;Mini How To&#8221; Install and search for packages with apt.<br /> <a href="http://madberry.org/2008/08/so-ive-installed-kubuntu-now-what/"><br /> Looking for how to install packages bij the &#8220;point and click&#8221; method click here.</a></p><p>Let&#8217;s say you wanna install a package but you don&#8217;t know for sure if it&#8217;s in the repository&#8217;s.  Then you can use this Terminal command to do so:</p><p>We&#8217;ll search for firefox as an example.</p><pre class="code">apt-cache search firefox</pre><p>As you can see this displays a list of all packages related to Firefox.</p><p>Now let&#8217;s install Firefox:</p><p>Here we have to use sudo or apt won&#8217;t work and tell you:</p><pre class="code">E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?</pre><p>so let&#8217;s install:</p><pre class="code">sudo apt-get install firefox</pre><p>Put your password in and answer yes to any questions.<br /> And start using Firefox.</p><p>You could start Firefox from the Terminal( for debugging purposes) like this:</p><pre class="code">firefox</pre><p>Or maybe you don&#8217;t want the debugging info add a space an &#038;</p><pre class="code">firefox &#038;</pre><p>You can find Firefox under the start menu start->internet->Firefox<br /> That&#8217;s it for this &#8220;Mini How To&#8221;.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 8, 2008 -- <a href="http://madberry.org/2008/08/alias-what-a-blessing/" title="Alias what a blessing.">Alias what a blessing.</a> (0)</li><li>May 8, 2009 -- <a href="http://madberry.org/2009/05/want-to-boot-linux-from-a-flash-drive/" title="Want To Boot Linux From A Flash Drive?">Want To Boot Linux From A Flash Drive?</a> (2)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 18, 2008 -- <a href="http://madberry.org/2008/08/firefox-add-ons-i-always-install-on-a-new-kubuntu-install/" title="Firefox add-ons I always install on a new Kubuntu install">Firefox add-ons I always install on a new Kubuntu install</a> (0)</li><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/install-and-search-for-packages-with-apt/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching using memcached

Served from: madberry.org @ 2010-07-31 12:56:03 -->